- Joined
- Jun 20, 2017
- Messages
- 380
How can I change my golm when I researching to upgrade it?
Example: When I researching 5 level of (damage-defence-attack speed) then the golem should change.
Example: When I researching 5 level of (damage-defence-attack speed) then the golem should change.
-
Golem Change
-
Events
-
Unit - A unit Finishes research
-
-
Conditions
-
Actions
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Researched tech-type) Equal to (==) Golem Damage
-
(Researched tech-type) Equal to (==) Golem Defence
-
(Researched tech-type) Equal to (==) Golem Attack Speed
-
-
Then - Actions
-
Set Integer_Golem = (Player number of (Owner of (Researching unit)))
-
Set Real_GolemDamageTech[Integer_Golem] = (100.00 - ((Real((Current research level of Golem Damage for (Owner of Unit_Golem2[Integer_Golem])))) x 5.00))
-
Unit - Replace (Researching unit) with a Battle Golem using The old unit's relative life and mana
-
-
Else - Actions
-
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Researched tech-type) Equal to (==) Golem Damage
-
(Researched tech-type) Equal to (==) Golem Defence
-
(Researched tech-type) Equal to (==) Golem Attack Speed
-
-
Then - Actions
-
Set Integer_Golem = (Player number of (Owner of (Researching unit)))
-
Set Real_GolemHPTech[Integer_Golem] = (100.00 - ((Real((Current research level of Golem Defence for (Owner of Unit_Golem2[Integer_Golem])))) x 10.00))
-
Unit - Replace (Researching unit) with a Siege Golem using The old unit's relative life and mana
-
-
Else - Actions
-
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Researched tech-type) Equal to (==) Golem Damage
-
(Researched tech-type) Equal to (==) Golem Defence
-
(Researched tech-type) Equal to (==) Golem Attack Speed
-
-
Then - Actions
-
Set Integer_Golem = (Player number of (Owner of (Researching unit)))
-
Set Real_GolemAttSpeedTech[Integer_Golem] = (100.00 - ((Real((Current research level of Golem Attack Speed for (Owner of Unit_Golem2[Integer_Golem])))) x 15.00))
-
Unit - Replace (Researching unit) with a Infernal using The old unit's relative life and mana
-
-
Else - Actions
-
-
-
Last edited: