- Joined
- Mar 16, 2008
- Messages
- 955
Players only can have 1-max Pirate Ship.
Only other problem would be 'finishes casting' and not 'finishes effect'
Figured putting a unit-type comparison would make it more lightweight? idk.
Is this good besides that?
Only other problem would be 'finishes casting' and not 'finishes effect'
Figured putting a unit-type comparison would make it more lightweight? idk.
Is this good besides that?
-
Pirate ship upgrade
-
Events
-
Unit - A unit owned by Player 5 (Yellow) Finishes casting an ability
-
Unit - A unit owned by Player 6 (Orange) Finishes casting an ability
-
Unit - A unit owned by Player 7 (Green) Finishes casting an ability
-
Unit - A unit owned by Player 8 (Pink) Finishes casting an ability
-
Unit - A unit owned by Player 9 (Gray) Finishes casting an ability
-
Unit - A unit owned by Player 10 (Light Blue) Finishes casting an ability
-
Unit - A unit owned by Player 11 (Dark Green) Finishes casting an ability
-
Unit - A unit owned by Player 12 (Brown) Finishes casting an ability
-
Unit - A unit owned by Player 17 (Wheat) Finishes casting an ability
-
Unit - A unit owned by Player 18 (Peach) Finishes casting an ability
-
Unit - A unit owned by Player 19 (Mint) Finishes casting an ability
-
Unit - A unit owned by Player 20 (Lavender) Finishes casting an ability
-
-
Conditions
-
(Unit-type of (Casting unit)) Equal to Pirate Ship (Knight's)
-
(Ability being cast) Equal to Upgrade Ship
-
(Max HP of (Casting unit)) Equal to (Integer((Life of (Casting unit))))
-
-
Actions
-
Set VariableSet pirate_upgrade_player = (Owner of (Casting unit))
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Current research level of Pirate Cannons for pirate_upgrade_player) Less than (Hero level of Knight_Hero_Var[(Player number of pirate_upgrade_player)])
-
-
Then - Actions
-
Player - Set the current research level of Pirate Cannons to ((Current research level of Pirate Cannons for pirate_upgrade_player) + 1) for pirate_upgrade_player
-
Player - Set the current research level of Pirate Hull to ((Current research level of Pirate Cannons for pirate_upgrade_player) + 1) for pirate_upgrade_player
-
-
Else - Actions
-
-
-
Last edited: