sheep
New Member
- Reaction score
- 2
I made a Breath of fire spell, the damage output is based of str and int.
Therefor i made a dummy breath of fire spell which dosent do damage, and then i made a trigger to detect which units where effected, the problem is, that it dosent work
Variabels:
Cast_str: interger
Cast_int: interger
Breath_of_fire: interger
Buffs:
BOF: breath of fire buff, just changed the tooltip
The part not working is the "loop" or the "unit group - pick".
the other stiff works.
P.S. how do I make it fancy, with the real event icon and stuff like that ?
Therefor i made a dummy breath of fire spell which dosent do damage, and then i made a trigger to detect which units where effected, the problem is, that it dosent work
Variabels:
Cast_str: interger
Cast_int: interger
Breath_of_fire: interger
Buffs:
BOF: breath of fire buff, just changed the tooltip
Trigger:
- Breath of fire
- Events
- Unit - A unit Starts the effect of an ability
- Conditions
- (Ability being cast) Equal to Breath of Fire
- Actions
- Set Cast_str = (Strength of (Casting unit) (Include bonuses))
- Set Cast_int = (Intelligence of (Casting unit) (Include bonuses))
- Set Breath_of_fire = (((((Real(Caste_int)) + (Real(Caste_str))) / 5.00) x (((Real(Caste_int)) + (Real(Caste_str))) / 5.00)) x 1.00)
- Game - Display to (All players) the text: (String(Breath_of_fire))
- Wait 1.00 seconds
- Game - Display to (All players) the text: 1 sek
- Unit Group - Pick every unit in (Units in (Playable map area) matching (((Picked unit) has buff BOF ) Equal to True)) and do (Actions)
- Loop - Actions
- Unit - Cause (Casting unit) to damage (Picked unit), dealing Breath_of_fire damage of attack type Spells and damage type Fire
- Game - Display to (All players) the text: (String((Number of units in (Units in (Playable map area) matching (((Triggering unit) has buff BOF ) Equal to True)))))
- Loop - Actions
- Events
The part not working is the "loop" or the "unit group - pick".
the other stiff works.
P.S. how do I make it fancy, with the real event icon and stuff like that ?