Unsure mana void

SamYoon

Member
Reaction score
2
I had try to made a spell based on mana void which is from DotA's Anti-mage.

But i wasn't sure the triggers are working.

Anyone knows how to make one correctly?

Mana void : damages a unit's hit point based on it's mana lost.
 

SamYoon

Member
Reaction score
2
a unit has start effect of an ability

ability equal XXXX

set mana = max mana of target of ability being cast - mana of target of ability being cast

if the XXXX equal to level 1 then do action
-causes triggering unit to damage target of ability being cast dealing mana damage of type spell and ... universal.

if the XXXX equal to level 2 then do action
-causes triggering unit to damage target of ability being cast dealing (manax1.1) damage of type spell and ... universal.

if the XXXX equal to level 3 then do action
-causes triggering unit to damage target of ability being cast dealing (manax1.2) damage of type spell and ... universal.
 

millz-

New Member
Reaction score
25
Is it not working? It looks fine to me. The only thing I see that can be improved is shorten the code.
 

LearningCode

New Member
Reaction score
24
I know that mana void does damage based on amount of mana MISSING,
not max mana.

Some arithmatic needed xD

(MaxMP - MinMP) x 1
(MaxMP - MinMP) x 1.1
(MaxMP - MinMP) x 1.2
 

Ayanami

칼리
Reaction score
288
I know that mana void does damage based on amount of mana MISSING,
not max mana.

Some arithmatic needed xD

(MaxMP - MinMP) x 1
(MaxMP - MinMP) x 1.1
(MaxMP - MinMP) x 1.2

That's what he did. "mana" is a variable he set earlier.

Check if your condition has the correct ability.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top