- Joined
- Apr 26, 2008
- Messages
- 830
It summons the heroes, but it only changes the level for 1 hero, I want to level the hero each level from 1 to the destined level like 36, so it gains 1+1+1+1 .... until 36 I need to do this because it's important for my skill system...
-
SS Setup
-
Ereignisse
- Zeit - Elapsed game time is 4.00 seconds
- Bedingungen
-
Aktionen
- -------- Paladin --------
- Set SS_SpawnUnit[1] = Paladin
- Set SS_SpawnLimit[1] = 4
- Set SS_SpawnRegion[1] = (Center of PaladinRegion <gen>)
- Set SS_SpawnDelay[1] = 2.00
- Set SS_LevelMIN[1] = 2
- Set SS_LevelMAX[1] = 6
- -------- Archmage --------
- Set SS_SpawnUnit[2] = Erzmagier
- Set SS_SpawnLimit[2] = 3
- Set SS_SpawnRegion[2] = (Center of ArchmageRegion <gen>)
- Set SS_SpawnDelay[2] = 6.00
- Set SS_LevelMIN[2] = 2
- Set SS_LevelMAX[2] = 6
- -------- Mountain King --------
- Set SS_SpawnUnit[3] = Bergkönig
- Set SS_SpawnLimit[3] = 5
- Set SS_SpawnRegion[3] = (Center of MountainKingRegion <gen>)
- Set SS_SpawnDelay[3] = 1.00
- -------- Blood Mage --------
- Set SS_SpawnUnit[4] = Blutmagier
- Set SS_SpawnLimit[4] = 1
- Set SS_SpawnRegion[4] = (Center of BloodMageRegion <gen>)
- Set SS_SpawnDelay[4] = 4.00
- Set SS_MaxSpawnUnitType = 4
-
For each (Integer LoopingInteger[1]) from 1 to SS_MaxSpawnUnitType, do (Actions)
-
Schleifen - Aktionen
- Einheit - Create SS_SpawnLimit[LoopingInteger[1]] SS_SpawnUnit[LoopingInteger[1]] for Spieler 12 (Braun) at SS_SpawnRegion[LoopingInteger[1]] facing Vorgabe für Gebäude-Ausrichtung degrees
- Set SS_LevelEND[LoopingInteger[1]] = (Random integer number between SS_LevelMIN[LoopingInteger[1]] and SS_LevelMAX[LoopingInteger[2]])
-
For each (Integer LoopingInteger[2]) from 1 to SS_LevelEND[LoopingInteger[1]], do (Actions)
-
Schleifen - Aktionen
- Held - Set (Last created unit) Hero-level to ((Hero level of (Last created unit)) + 1), Verbergen level-up graphics
-
Schleifen - Aktionen
-
Schleifen - Aktionen
- Hashtabelle - Create a hashtable
- Set SS_Hashtable = (Last created hashtable)
- Set SS_Interval = 0.03
- Auslöser - Add to SS Loop <gen> the event (Zeit - Every SS_Interval seconds of game time)
-
Ereignisse