ToME: the Tales of Maj'Eyal

Everything about ToME
It is currently Thu Dec 12, 2019 11:35 pm

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Tue Sep 03, 2019 11:53 am 
Offline
Thalore

Joined: Sat Sep 29, 2018 3:43 am
Posts: 152
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,
}


Top
 Profile  
 
PostPosted: Sun Oct 27, 2019 4:08 pm 
Offline
Thalore

Joined: Sat Sep 29, 2018 3:43 am
Posts: 152
1.6.0 still unfixed


Top
 Profile  
 
PostPosted: Sun Oct 27, 2019 4:54 pm 
Offline
Master of Eyal

Joined: Wed Jul 24, 2002 9:26 pm
Posts: 10438
Location: Angolwen
fixed

_________________
[tome] joylove: You can't just release an expansion like one would release a Kraken XD
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning ;)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group