Hi Hive, a user named DEE-BOO, created a system of mastering a spell by using it, every time you used it a dummy spell get a level, and when the dummy spell get the level limit the original spell gain a level.
Now i have this problem with the active spell work but:
* with the passive dont work how i can know when the passive ability is used and add the level to the dummy
* the dummy start in 0 but, when the original spell level up, the dummy set to 1
* the original spell dont get level up after lv 3
the map and the trigger:
In the other trigger is a variable name Spell_Limit, set as 5
Now i have this problem with the active spell work but:
* with the passive dont work how i can know when the passive ability is used and add the level to the dummy
* the dummy start in 0 but, when the original spell level up, the dummy set to 1
* the original spell dont get level up after lv 3
the map and the trigger:
-
Training
-
Acontecimientos
- Unidad - A unit Inicia el efecto de una habilidad
- Condiciones
-
Acciones
- Set Spell = (Ability being cast)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Si: Condiciones
- Spell Igual a Abanico de cuchillas
-
Entonces: Acciones
- Set Dummy_Spell = Dummy Abanico
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Si: Condiciones
- (Level of Dummy_Spell for (Casting unit)) Igual a 0
-
Entonces: Acciones
- Unidad - Add Dummy_Spell to (Casting unit)
-
Otros: Acciones
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Si: Condiciones
- (Level of Dummy_Spell for (Casting unit)) Mayor que 0
-
Entonces: Acciones
- Unidad - Increase level of Dummy_Spell for (Casting unit)
- Partida - Display to (All players) the text: (String((Level of Dummy Abanico for (Casting unit))))
- Otros: Acciones
-
Si: Condiciones
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Si: Condiciones
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Si: Condiciones
- (Level of Dummy_Spell for (Casting unit)) Igual a Spell_Limit
-
Entonces: Acciones
- Efecto especial - Create a special effect attached to the origin of (Casting unit) using Abilities\Spells\Other\Levelup\LevelupCaster.mdl
- Efecto especial - Destroy (Last created special effect)
- Unidad - Increase level of Spell for (Casting unit)
- Unidad - Set level of Dummy Abanico for (Casting unit) to 1
- Otros: Acciones
-
Si: Condiciones
- Otros: Acciones
-
Si: Condiciones
-
Acontecimientos
In the other trigger is a variable name Spell_Limit, set as 5
Attachments
Last edited: