Gwafu
Active Member
- Reaction score
- 12
Come on people, too many views but no single reply!
Okay, lets get this straight.
[1] Is this formula right?
I'm making a Wc2 Healing spell (for my own project ofc). Here's what it does:
Heals the target's lost hitpoints according to the caster's mana, and 6 mana per lost hitpoints of the target.
So, can someone check if the below trigger is correct?
[2] 100.00 or 1.00?
In this condition, is 100% equivalent to 1.00 or 100.00 ?
[3] Rising_Dusk's Abort Spell Script
The problem is this. I already asked him/her if he/she will fix it, and he/she said that he/she is too busy to fix it and suggested to ask somebody else.
So here, anyone wanna fix it? I really need it.
Okay, that's all for today.
Thanks in advance!
~Gwafu aka supertoinkz
Okay, lets get this straight.
[1] Is this formula right?
I'm making a Wc2 Healing spell (for my own project ofc). Here's what it does:
Heals the target's lost hitpoints according to the caster's mana, and 6 mana per lost hitpoints of the target.
So, can someone check if the below trigger is correct?
Trigger:
- Heal
- Events
- Unit - A unit Starts the effect of an ability
- Conditions
- (Percentage life of (Target unit of ability being cast)) Less than (<) 100.00
- (Ability being cast) Equal to (==) Healing
- (Target unit of ability being cast) Not equal to (!=) No unit
- Actions
- -------- Still need to add Rising_Dusk's AbortSpell script here, but it is not fixed yet. --------
- Set Temp_Real[1] = (((Max life of (Target unit of ability being cast)) - (Life of (Target unit of ability being cast))) / 6.00)
- Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- Temp_Real[1] Greater than (>) (Mana of (Triggering unit))
- Then - Actions
- Unit - Set mana of (Triggering unit) to 0.00
- Unit - Set life of (Target unit of ability being cast) to (Mana of (Triggering unit))
- Else - Actions
- Unit - Set mana of (Triggering unit) to ((Mana of (Triggering unit)) - Temp_Real[1])
- Unit - Set life of (Target unit of ability being cast) to Temp_Real[1]
- If - Conditions
- Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
- Events
[2] 100.00 or 1.00?
Trigger:
- (Percentage life of (Target unit of ability being cast)) Less than (<) 100.00
In this condition, is 100% equivalent to 1.00 or 100.00 ?
[3] Rising_Dusk's Abort Spell Script
The problem is this. I already asked him/her if he/she will fix it, and he/she said that he/she is too busy to fix it and suggested to ask somebody else.
So here, anyone wanna fix it? I really need it.
Okay, that's all for today.
Thanks in advance!
~Gwafu aka supertoinkz