Mana recovery

Komaqtion

You can change this now in User CP.
Reaction score
469
Well, is he in the map by default? i mean, is he created by triggers, or have you put him out on the terrain i the WE ?? For this to work, you'll have to put him out by triggers :D
 

Angel_Island

Much long, many time, wow
Reaction score
56
Maybe you must first do this:

Trigger:
  • Add units
    • Events
      • Time - Elapsed game time is 0.01 seconds
    • Conditions
    • Actions
      • Unit Group - Pick every unit in (Units in (Playable map area)) and do (Actions)
        • Loop - Actions
          • Trigger - Add to Trigger <gen> the event (Unit - (Picked unit) Takes damage)
 

Komaqtion

You can change this now in User CP.
Reaction score
469
Yeah, if the unit has been put out in the WE, do what Angel_Island said ;)
 

Skeith

New Member
Reaction score
3
hmm
cant really understand..

Look, my unit is based off Spell Breaker.
Heres the trigger for the mana thing.

Events
Unit - A unit Is attacked

Conditions
(Unit-type of (Attacking unit)) Equal to Fire Magic Panda Warrior
((Owner of (Attacked unit)) is an enemy of (Owner of (Attacking unit))) Equal to True


Actions
Unit - Set mana of (Attacking unit) to ((Mana of (Attacking unit)) + 25.00)

Also, he is not initially on the game, he is a trained unit.
 

Skeith

New Member
Reaction score
3
I want my unit only recover mana when he damages an unit, and i did not understand what u guys wanted to know.
 

Komaqtion

You can change this now in User CP.
Reaction score
469
oh ok, but why don't you just attach you map here and i'll try to see what's wrong then ;)
 

Skeith

New Member
Reaction score
3
Hmm, its not even done yet =/
i'll stick with this trigger, i've lost a lot of time on this, i'll try to fix it after.
 

takethat

Active Member
Reaction score
12
event - a unit attacked is an event that will be trigger whenever a unit begins its attack animation.

to make it simple: look at phantom lancer from dota
his passive skill is 1 of the easy abuse skill,

for example,
if both unit is in the close range, continues fast right clicking will trigger the event even if the unit DIDNT truthly hit the target.

unlike phantom lancer which the image is created based on percentage,
yours however, to reach full mana of 400 only requires 10 fast clicks that can be archieve within 2 seconds. so every time the skill wear off, within 2 sec, it can be use again,

if no one knows this than obviously it wont hurt, but for those who know how to abuse, this may cause total imbalance.
 

Skeith

New Member
Reaction score
3
Hmm, when using an passive ability, like bash, can i use the event unit begins casting an 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