- Joined
- Aug 11, 2009
- Messages
- 605
I want to temporarily increase the intelligence of hero and I wanted to use Attribute Bonus and edit its intelligence bonus to be based off the heroes Strength stat. Everything in the spell happens, except for the change in Intelligence bonus on the Attribute Bonus ability.
-
Tsu Ult
-
Events
-
Unit - A unit Starts the effect of an ability
-
-
Conditions
-
(Ability being cast) Equal to Strength of a Hundred Seal (Tsunade)
-
-
Actions
-
Set VariableSet StrengthSeal_Player = (Owner of (Triggering unit))
-
Set VariableSet StrengthSeal_PlayerNumber = (Player number of StrengthSeal_Player)
-
Set VariableSet StrengthSeal_Caster = (Triggering unit)
-
Floating Text - Create floating text that reads |cff8080ffStrength ... above StrengthSeal_Caster with Z offset 0.00, using font size 10.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency
-
Set VariableSet FT_Ability = (Last created floating text)
-
Floating Text - Change FT_Ability: Disable permanence
-
Floating Text - Set the velocity of FT_Ability to 200.00 towards 90.00 degrees
-
Floating Text - Change the lifespan of FT_Ability to 1.50 seconds
-
Floating Text - Change the fading age of FT_Ability to 1.00 seconds
-
Animation - Add the Alternate animation tag to StrengthSeal_Caster
-
Set VariableSet StrengthSeal_Skill = ((Strength of StrengthSeal_Caster (Include bonuses)) / 2)
-
Unit - Add Stat Bonus (Dummy) to StrengthSeal_Caster
-
Ability - Set Ability: (Unit: StrengthSeal_Caster's Ability with Ability Code: Stat Bonus (Dummy))'s Integer Level Field: Intelligence Bonus ('Iint') of Level: 0 to StrengthSeal_Skill
-
Unit Group - Add StrengthSeal_Caster to StrengthSeal_UnitGroup
-
Set VariableSet StrengthSeal_Instances = (StrengthSeal_Instances + 1)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
StrengthSeal_Instances Equal to 1
-
-
Then - Actions
-
Trigger - Turn on Tsu Ult Loop <gen>
-
-
Else - Actions
-
-
-