Skip to content
Snippets Groups Projects
Commit 7a0444cc authored by dg's avatar dg
Browse files

Fearscape/Dreamscape can not be used on the sorcerors in the charred scar

git-svn-id: http://svn.net-core.org/repos/t-engine4@5419 51575b47-30f0-44d4-a5cc-537603b46e54
parent 6a291ba3
No related branches found
No related tags found
No related merge requests found
......@@ -155,6 +155,7 @@ newTalent{
if not tx or not ty or not target then return nil end
if not (target.player and target.game_ender) and not (self.player and self.game_ender) then return nil end
if target == self then return end
if target:attr("negative_status_effect_immune") or target:attr("status_effect_immune") then return nil end
game:playSoundNear(self, "talents/flame")
local dam = self:combatTalentSpellDamage(t, 12, 140)
......
......@@ -148,6 +148,7 @@ newTalent{
if not tx or not ty or not target then return nil end
if not (target.player and target.game_ender) and not (self.player and self.game_ender) then return nil end
if target == self then return end
if target:attr("negative_status_effect_immune") or target:attr("status_effect_immune") then return nil end
if not (target and target:attr("sleep")) then
game.logPlayer(self, "Your target must be sleeping in order to enter it's dreamscape.")
return nil
......
......@@ -174,6 +174,7 @@ newEntity{
stats = { str=40, dex=60, cun=60, mag=30, con=40 },
inc_damage = {all=-70},
invulnerable = 1,
negative_status_effect_immune = 1,
body = { INVEN = 10, MAINHAND=1, OFFHAND=1, BODY=1 },
resolvers.equip{
......@@ -232,6 +233,7 @@ newEntity{
stats = { str=40, dex=60, cun=60, mag=30, con=40 },
inc_damage = {all=-70},
invulnerable = 1,
negative_status_effect_immune = 1,
body = { INVEN = 10, MAINHAND=1, OFFHAND=1, BODY=1 },
resolvers.equip{
......
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