Boost hero attributes by 50% for 10 sec

Odd lyoko

New Member
Reaction score
0
Hi
I need to make an ability that boosts all hero's attributes by 50% for 10 seconds.
Many thanks
 

Galdiuz

Creator of Photon Command
Reaction score
98
Code:
Meep
    Events
        Unit - A unit Starts the effect of an ability
    Conditions
        (Ability being cast) Equal to ABILITY
    Actions
        Set Strenght_Integer[Playernuber of owner of trigeering unit] = ((Strength of (Triggering unit) (Exclude bonuses))/2)
        Hero - Modify Strenght of (Triggering unit): Add Strenght_Integer[Playernuber of owner of trigeering unit] points
        Wait 10.00 seconds
        Hero - Modify  Strenght of (Triggering unit): Subtract Strenght_Intger[Playernuber of owner of trigeering unit] points
That was freehand, but you should get the hang of it.
 

Nexor

...
Reaction score
74
LOL, that modifies the unspent skill points that are used to learn abilities.

You need the Hero - Modify Strength action, and with this trigger, it won't be MUI
 

Galdiuz

Creator of Photon Command
Reaction score
98
Ops, wrong action, I'll edit it. And no, it won't be MUI, but it'll be MPI.
 

Odd lyoko

New Member
Reaction score
0
Thanks for the replies
Galdiuz, if the hero dies and while waiting the 10 seconds and then revived i think he will keep the boost forever
 

Nexor

...
Reaction score
74
No it will get reduced once again, Heroes don't "die" as creeps. They are there in the game, don't get removed.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top