[Trigger] Level up hero over time

Status
Not open for further replies.
Level 2
Joined
May 3, 2009
Messages
22
Level up hero over time (not solved yet)

Hi, I want to level up heros in a certain area over time. and only certain type of unit too.

Slayer Level Universal
Events
Time - Every 30.00 seconds of game time
Conditions
(Unit-type of (Triggering unit)) Equal to Slayer
(Unit-type of (Triggering unit)) Equal to Slayer
(Unit-type of (Triggering unit)) Equal to Slayer
(Unit-type of (Triggering unit)) Equal to Slayer
(Unit-type of (Triggering unit)) Equal to Slayer
(Unit-type of (Triggering unit)) Equal to Slayer
(Unit-type of (Triggering unit)) Equal to Slayer
Actions
Unit Group - Pick every unit in (Units in Slayer <gen>) and do (Actions)
Loop - Actions
Hero - Set (Matching unit) Hero-level to (Hero level of (Triggering unit)), Show level-up graphics



but I was thinking to do something like
Hero - Set (last triggering unit) hero-level to )hero level of (triggering unit) + 1), show Level-up Graphics

but can't find out how to do that.
would appreciated the help
 
Last edited:
Level 2
Joined
May 3, 2009
Messages
22
Alright thx. i'll try that and give u the result
Edit: em one question: what do i do if there is more than one type of slayer?
also another question: i can find the Hero - add 1 lelve to picked unit. /:
 
Level 8
Joined
Aug 4, 2008
Messages
279
  • Hero
    • Events
      • Time - Every 30.00 seconds of game time
    • Conditions
    • Actions
      • Unit Group - Pick every unit in (Units in Region 000 <gen> matching (((Unit-type of (Matching unit)) Equal to Slayer) or ((Unit-type of (Matching unit)) Equal to OtherSlayer))) and do (Actions)
        • Loop - Actions
          • Hero - Set (Picked unit) Hero-level to ((Level of (Picked unit)) + 1), Show level-up graphics
Here it is =)
 
Level 2
Joined
May 3, 2009
Messages
22
Yay thx. I bet that will work. +rep
ok u can keep ur rep but if u help me again u get more reps ur trigger didn't work

Slayer Level Universal
Events
Time - Every 30.00 seconds of game time
Conditions
Actions
Unit Group - Pick every unit in (Units in Slayer <gen> matching ((((Unit-type of (Triggering unit)) Equal to Deathlyrage) or ((Unit-type of (Triggering unit)) Equal to Dem0n_hunter)) or (((Unit-type of (Triggering unit)) Equal to Hiruty) or ((Unit-type of (Triggering unit)) Equal to Slayer) and do (Actions)
Loop - Actions
Hero - Set (Picked unit) Hero-level to ((Hero level of (Picked unit)) + 1), Show level-up graphics
 
Level 8
Joined
Aug 4, 2008
Messages
279
  • Slayer Level Universal
  • Events
  • Time - Every 30.00 seconds of game time
  • Conditions
  • Actions
  • Unit Group - Pick every unit in (Units in Slayer <gen> matching ((((Unit-type of (Matching Unit)) Equal to Deathlyrage) or ((Unit-type of (Matching Unit)) Equal to Dem0n_hunter)) or (((Unit-type of (Matching Unit)) Equal to Hiruty) or ((Unit-type of (Matching Unit)) Equal to Slayer) and do (Actions)
  • Loop - Actions
  • Hero - Set (Picked unit) Hero-level to ((Hero level of (Picked unit)) + 1), Show level-up graphics
 
Status
Not open for further replies.
Top