ToME: the Tales of Maj'Eyal
http://forums.te4.org/

[1.6.0] Wrong Transcendent for the Blind of Brain Storm
http://forums.te4.org/viewtopic.php?f=42&t=49755
Page 1 of 1

Author:  helminthauge [ Tue Sep 03, 2019 11:53 am ]
Post subject:  [1.6.0] Wrong Transcendent for the Blind of Brain Storm

the talents' tooltips say that it's the Transcendent Electrokinesis that makes Brain Storm also blind enemies, but the code says that it's the Transcendent Telekinesis.

Code:
newDamageType{
   name = "brain storm", type = "BRAINSTORM",
   projector = function(src, x, y, type, dam, state)
      state = initState(state)
      useImplicitCrit(src, state)
      local target = game.level.map(x, y, Map.ACTOR)
      if target then
         DamageType:get(DamageType.LIGHTNING).projector(src, target.x, target.y, DamageType.LIGHTNING, dam, state)
         if target:checkHit(src:combatMindpower(), target:combatMentalResist(), 0, 95, 15) then
            target:crossTierEffect(target.EFF_BRAINLOCKED, src:combatMindpower())
         else
            game.logSeen(target, "%s resists the mind attack!", target.name:capitalize())
         end

         if src:hasEffect(src.EFF_TRANSCENDENT_TELEKINESIS) then
            if target:canBe("blind") then
               target:setEffect(target.EFF_BLINDED, 4, {apply_power=src:combatMindpower()})
            end
         end
         return dam
      end
   end,
}

Author:  helminthauge [ Sun Oct 27, 2019 4:08 pm ]
Post subject:  Re: [1.6.0] Wrong Transcendent for the Blind of Brain Storm

1.6.0 still unfixed

Author:  darkgod [ Sun Oct 27, 2019 4:54 pm ]
Post subject:  Re: [1.6.0] Wrong Transcendent for the Blind of Brain Storm

fixed

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/