Skip to content
Snippets Groups Projects
Commit 45b09ca5 authored by dg's avatar dg
Browse files

Bligthed Summoning grants Bone Shield to Bone Giants

git-svn-id: http://svn.net-core.org/repos/t-engine4@6228 51575b47-30f0-44d4-a5cc-537603b46e54
parent 68731058
No related branches found
No related tags found
No related merge requests found
......@@ -266,6 +266,9 @@ newTalent{
if minion and x and y then
local lev = t.getLevel(self, t)
necroSetupSummon(self, minion, x, y, lev, true)
if self:knowTalent(self.T_BLIGHTED_SUMMONING) then
if minion.subtype == "giant" then minion:learnTalent(minion.T_BONE_SHIELD, true, 3) minion:forceUseTalent(minion.T_BONE_SHIELD, {ignore_energy=true}) end
end
end
game:playSoundNear(self, "talents/spell_generic2")
......
......@@ -716,7 +716,8 @@ newTalent{
p.souls = p.souls - 1
necroSetupSummon(self, minion, pos.x, pos.y, lev, true)
if self:knowTalent(self.T_BLIGHTED_SUMMONING) then
if minion.subtype == "skeleton" or minion.subtype == "giant" then minion:learnTalent(minion.T_BONE_GRAB, true, 3) end
if minion.subtype == "skeleton" then minion:learnTalent(minion.T_BONE_GRAB, true, 3) end
if minion.subtype == "giant" then minion:learnTalent(minion.T_BONE_SHIELD, true, 3) end
if minion.subtype == "ghoul" then minion:learnTalent(minion.T_BLOOD_LOCK, true, 3) end
if minion.subtype == "vampire" or minion.subtype == "lich" then minion:learnTalent(minion.T_DARKFIRE, true, 3) end
if minion.subtype == "ghost" or minion.subtype == "wight" then minion:learnTalent(minion.T_BLOOD_BOIL, true, 3) end
......
......@@ -139,6 +139,7 @@ uberTalent{
- Turtle: Curse of Impotence
- Spider: Corrosive Worm
- Skeletons: Bone Grab
- Bone Giants: Bone Shield
- Ghouls: Blood Lock
- Vampires / Liches: Darkfire
- Ghosts / Wights: Blood Boil
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment