- Joined
- Oct 21, 2006
- Messages
- 3,224
Set Experience
Add Experience
Set Level
There is no add level?
How do I increase level of the hero by one?
Add Experience
Set Level
There is no add level?
How do I increase level of the hero by one?
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Unit - Set level of Hero to (Level of Hero + 1)
Hero - Set Player1Red Hero-level to ((Hero level of Player1Red) +1), show level-up graphics.
Events

Unit - A unit Dies
Conditions

((Number of units in Team1Left) Equal to 0) or ((Number of units in Team2Right) Equal to 0)
Actions

Unit Group - Pick every unit in Team1Left and do (Unit - Move (Picked unit) instantly to (Center of Shop Zone <gen>))

Unit Group - Pick every unit in Team2Right and do (Unit - Move (Picked unit) instantly to (Center of Shop Zone <gen>))

-------- Revive --------

If ((Player1Red is dead) Equal to True) then do (Hero - Instantly revive Player1Red at (Center of Shop Zone <gen>), Show revival graphics) else do (Do nothing)

If ((Player2Blue is dead) Equal to True) then do (Hero - Instantly revive Player2Blue at (Center of Shop Zone <gen>), Show revival graphics) else do (Do nothing)

If ((Player3Teal is dead) Equal to True) then do (Hero - Instantly revive Player3Teal at (Center of Shop Zone <gen>), Show revival graphics) else do (Do nothing)

If ((Player4Purple is dead) Equal to True) then do (Hero - Instantly revive Player4Purple at (Center of Shop Zone <gen>), Show revival graphics) else do (Do nothing)

If ((Player5Yellow is dead) Equal to True) then do (Hero - Instantly revive Player5Yellow at (Center of Shop Zone <gen>), Show revival graphics) else do (Do nothing)

If ((Player6Orange is dead) Equal to True) then do (Hero - Instantly revive Player6Orange at (Center of Shop Zone <gen>), Show revival graphics) else do (Do nothing)

If ((Player7Green is dead) Equal to True) then do (Hero - Instantly revive Player7Green at (Center of Shop Zone <gen>), Show revival graphics) else do (Do nothing)

If ((Player8Pink is dead) Equal to True) then do (Hero - Instantly revive Player8Pink at (Center of Shop Zone <gen>), Show revival graphics) else do (Do nothing)

If ((Player9Gray is dead) Equal to True) then do (Hero - Instantly revive Player9Gray at (Center of Shop Zone <gen>), Show revival graphics) else do (Do nothing)

If ((Player10LightBlue is dead) Equal to True) then do (Hero - Instantly revive Player10LightBlue at (Center of Shop Zone <gen>), Show revival graphics) else do (Do nothing)

If ((Player11DarkGreen is dead) Equal to True) then do (Hero - Instantly revive Player11DarkGreen at (Center of Shop Zone <gen>), Show revival graphics) else do (Do nothing)

If ((Player12Brown is dead) Equal to True) then do (Hero - Instantly revive Player12Brown at (Center of Shop Zone <gen>), Show revival graphics) else do (Do nothing)

-------- Give Gold --------

Player - Add 300 to Player 1 (Red) Current gold

Player - Add 300 to Player 2 (Blue) Current gold

Player - Add 300 to Player 3 (Teal) Current gold

Player - Add 300 to Player 4 (Purple) Current gold

Player - Add 300 to Player 5 (Yellow) Current gold

Player - Add 300 to Player 6 (Orange) Current gold

Player - Add 300 to Player 7 (Green) Current gold

Player - Add 300 to Player 8 (Pink) Current gold

Player - Add 300 to Player 9 (Gray) Current gold

Player - Add 300 to Player 10 (Light Blue) Current gold

Player - Add 300 to Player 11 (Dark Green) Current gold

Player - Add 300 to Player 12 (Brown) Current gold

-------- Give Exprience --------

No idea

Trigger - Turn on Start Battle Timer ON <gen>
Custom script: set bj_wantDestroyGroup = true
Unit Group - Pick Every Unit in (Units in (Playable Map Area)) Matching ((Matching unit) is a hero) Equal to True and Do Actions

Loop - Actions


Hero - Set Hero Level of (Picked Unit) to ((Hero Level of (Picked Unit) + 1))
Battle END

Events


Unit - A unit Dies

Conditions


((Number of units in Team1Left) Equal to 0) or ((Number of units in Team2Right) Equal to 0)

Actions


Unit Group - Pick every unit in Team1Left and do (Unit - Move (Picked unit) instantly to (Center of Shop Zone <gen>))


Unit Group - Pick every unit in Team2Right and do (Unit - Move (Picked unit) instantly to (Center of Shop Zone <gen>))


-------- Revive --------


If ((Player1Red is dead) Equal to True) then do (Hero - Instantly revive Player1Red at (Center of Shop Zone <gen>), Show revival graphics) else do (Do nothing)


If ((Player2Blue is dead) Equal to True) then do (Hero - Instantly revive Player2Blue at (Center of Shop Zone <gen>), Show revival graphics) else do (Do nothing)


If ((Player3Teal is dead) Equal to True) then do (Hero - Instantly revive Player3Teal at (Center of Shop Zone <gen>), Show revival graphics) else do (Do nothing)


If ((Player4Purple is dead) Equal to True) then do (Hero - Instantly revive Player4Purple at (Center of Shop Zone <gen>), Show revival graphics) else do (Do nothing)


If ((Player5Yellow is dead) Equal to True) then do (Hero - Instantly revive Player5Yellow at (Center of Shop Zone <gen>), Show revival graphics) else do (Do nothing)


If ((Player6Orange is dead) Equal to True) then do (Hero - Instantly revive Player6Orange at (Center of Shop Zone <gen>), Show revival graphics) else do (Do nothing)


If ((Player7Green is dead) Equal to True) then do (Hero - Instantly revive Player7Green at (Center of Shop Zone <gen>), Show revival graphics) else do (Do nothing)


If ((Player8Pink is dead) Equal to True) then do (Hero - Instantly revive Player8Pink at (Center of Shop Zone <gen>), Show revival graphics) else do (Do nothing)


If ((Player9Gray is dead) Equal to True) then do (Hero - Instantly revive Player9Gray at (Center of Shop Zone <gen>), Show revival graphics) else do (Do nothing)


If ((Player10LightBlue is dead) Equal to True) then do (Hero - Instantly revive Player10LightBlue at (Center of Shop Zone <gen>), Show revival graphics) else do (Do nothing)


If ((Player11DarkGreen is dead) Equal to True) then do (Hero - Instantly revive Player11DarkGreen at (Center of Shop Zone <gen>), Show revival graphics) else do (Do nothing)


If ((Player12Brown is dead) Equal to True) then do (Hero - Instantly revive Player12Brown at (Center of Shop Zone <gen>), Show revival graphics) else do (Do nothing)


-------- Give Gold --------


Player - Add 300 to Player 1 (Red) Current gold


Player - Add 300 to Player 2 (Blue) Current gold


Player - Add 300 to Player 3 (Teal) Current gold


Player - Add 300 to Player 4 (Purple) Current gold


Player - Add 300 to Player 5 (Yellow) Current gold


Player - Add 300 to Player 6 (Orange) Current gold


Player - Add 300 to Player 7 (Green) Current gold


Player - Add 300 to Player 8 (Pink) Current gold


Player - Add 300 to Player 9 (Gray) Current gold


Player - Add 300 to Player 10 (Light Blue) Current gold


Player - Add 300 to Player 11 (Dark Green) Current gold


Player - Add 300 to Player 12 (Brown) Current gold


-------- Give Exprience --------


Custom script: set bj_wantDestroyGroup = true


Unit Group - Pick every unit in (Units in (Playable map area) matching (((Matching unit) is A Hero) Equal to True)) and do (Actions)



Loop - Actions




Hero - Set (Picked unit) Hero-level to ((Hero level of (Picked unit)) + 1), Show level-up graphics


Trigger - Turn on Start Battle Timer ON <gen>