Do you understand what these Variables are doing?I understand your answer, what if I want different levels of the same magic to have different scales? the higher the level, the higher the scale.
@Teldrin, Uncle sort of glossed over this here and I'm certain he would say the same if he had thought to say it:you have to do Conversion -> Convert Integer To Real or Convert Real To Integer
That should work fine. Your only issue is the math for HealAmount, you're adding AbilityLevel + HeroIntelligence.Where did I go wrong now?
Untitled Trigger 001
Events
Unit - A unit Begins casting an ability
Conditions
(Ability being cast) Equal to Holy Light
Actions
Set VariableSet AbilityLevel = (Level of Holy Light for (Triggering unit))
Set VariableSet HeroIntelligence = (Intelligence of (Triggering unit) (Include bonuses))
Set VariableSet HealAmount = ((Real(AbilityLevel)) + (Real(HeroIntelligence)))
Ability - Set Ability: (Unit: (Triggering unit)'s Ability with Ability Code: Holy Light)'s Real Level Field: Amount Healed/Damaged ('Hhb1') of Level: (AbilityLevel - 1) to HealAmount
Not sure I understand but it's a pretty simple rule:So putting this -1 at the end of the trigger wouldn't make the entire trigger only affect the spell at its level 1?
Essentially, having -1 in the formula affects the unit's current level of ability.So putting this -1 at the end of the trigger wouldn't make the entire trigger only affect the spell at its level 1?