- Joined
- Oct 2, 2006
- Messages
- 11
I am trying to create a trigger with does the following:
1. My Unit (Peasant) casts a spell on a building.
2. My building should advance to building (lvl 2), but not to finished buiding lvl 2 just to building lvl 2 with upgrade process at 0% or 1%.
My basic idea was to give the building a 0/10 manapool. The spell cast on the building is a replenish mana cast. Then building gets 10/10 and the trigger is initiated with the condition "when building of type xyz has mana equal to 10".
I am just startet working on the editor, but at the moment i cant figure out the right command for my trigger.
1. My Unit (Peasant) casts a spell on a building.
2. My building should advance to building (lvl 2), but not to finished buiding lvl 2 just to building lvl 2 with upgrade process at 0% or 1%.
My basic idea was to give the building a 0/10 manapool. The spell cast on the building is a replenish mana cast. Then building gets 10/10 and the trigger is initiated with the condition "when building of type xyz has mana equal to 10".
I am just startet working on the editor, but at the moment i cant figure out the right command for my trigger.