- Joined
- Jul 27, 2011
- Messages
- 27
I have a problem!
I'm trying to make a sort of "ability power"-system in Warcraft 3: TFT World Editor, (purchasing certain items will increase the power of your spells.)
My first thought was "Well that's simple! Just make it so whenever a spell is used it deals additional damage according to how much lumber you currently have!"
That didn't work.. Since "Current Lumber" isn't an option when doing:
Action - Unit - Cause (Caster) to damage (Target), dealing (CURRENT LUMBER) as blablabla...
So I went ahead and tried using a Real, making it so
Event - Periodic Event - Each 2.0 seconds
Action - Set Current_Lumber_Real = (CURRENT LUMBER)
Once again, it did not work..
Is there anybody that can solve this for me?
Or maybe an alternative solution to this?
Thanks
I'm trying to make a sort of "ability power"-system in Warcraft 3: TFT World Editor, (purchasing certain items will increase the power of your spells.)
My first thought was "Well that's simple! Just make it so whenever a spell is used it deals additional damage according to how much lumber you currently have!"
That didn't work.. Since "Current Lumber" isn't an option when doing:
Action - Unit - Cause (Caster) to damage (Target), dealing (CURRENT LUMBER) as blablabla...
So I went ahead and tried using a Real, making it so
Event - Periodic Event - Each 2.0 seconds
Action - Set Current_Lumber_Real = (CURRENT LUMBER)
Once again, it did not work..
Is there anybody that can solve this for me?
Or maybe an alternative solution to this?
Thanks