Right, I'd like some opinions on this little concoction of mine. I'm trying to balance out intelligence-based heroes in the long run by making intelligence add damage to spells and offer damage negation from spells cast on it.
Then I added a method to add damage to spells:
-
Events
- Unit - A unit enters (Entire map)
-
Conditions
- ((Entering unit) is A Hero) Equal to True
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Intelligence of (Entering unit) (Exclude bonuses)) Greater than (Strength of (Entering unit) (Exclude bonuses))
- ((Intelligence of (Entering unit) (Exclude bonuses)) Greater than (Agility of (Entering unit) (Exclude bonuses))) and ((Intelligence of (Entering unit) (Exclude bonuses)) Greater than (Strength of (Entering unit) (Exclude bonuses)))
-
Then - Actions
- Unit Group - Add (Entering unit) to Intel_Heros
-
Else - Actions
- Do nothing
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Events
- Unit - A unit Starts the effect of an ability
-
Conditions
- ((Target unit of ability being cast) is in Intel_Heros) Equal to True
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (((Target unit of ability being cast) is in Intel_Heros) Equal to True) and (((Integer((Damage taken))) - (Intelligence of (Target unit of ability being cast) (Include bonuses))) Less than or equal to 0)
-
Then - Actions
- Unit - Set life of (Target unit of ability being cast) to ((Life of (Target unit of ability being cast)) + (Damage taken))
-
Else - Actions
- Unit - Set life of (Target unit of ability being cast) to ((Life of (Target unit of ability being cast)) - ((Damage taken) - (Real((Intelligence of (Target unit of ability being cast) (Include bonuses))))))
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Then I added a method to add damage to spells:
-
Events
- Unit - A unit Starts the effect of an ability
- Conditions
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- ((Casting unit) is in Intel_Heros) Equal to True
-
Then - Actions
- Unit - Cause (Casting unit) to damage (Target unit of ability being cast), dealing ((Real((Intelligence of (Casting unit) (Include bonuses)))) x 1.50) damage of attack type Spells and damage type Normal
-
Else - Actions
- Do nothing
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)