Warcraft III resources & community, 2003–2006 · archived
Siphon Gold Spell Question
7 posts
imported_Draygonia
#1
Siphon Gold Spell Question
I was wondering how I could edit the script of siphon gold so that it would work for 6 levels and drain a specific gold amount. I tried to edit the script, but than it wouldnt drain any gold, in fact, it wouldnt let me target anyone or anything.
Also, i made a spell that increased attack by 10,000%, but the problem is, I dont see the character attacking "uber" fast. He attacks just slightly faster and thats it.
Drain Gold
Events
Unit - A unit Finishes casting an ability
Conditions
(Ability being cast) Equal to Animate Dead
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of Animate Dead for (Triggering unit)) Equal to 1
Then - Actions
Player - Add -1000 to (Owner of (Target unit of ability being cast)) Current gold
Player - Add 1000 to (Owner of (Triggering unit)) Current gold
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of Animate Dead for (Triggering unit)) Equal to 2
Then - Actions
Player - Add -2000 to (Owner of (Target unit of ability being cast)) Current gold
Player - Add 2000 to (Owner of (Triggering unit)) Current gold
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of Animate Dead for (Triggering unit)) Equal to 3
Then - Actions
Player - Add -3000 to (Owner of (Target unit of ability being cast)) Current gold
Player - Add 3000 to (Owner of (Triggering unit)) Current gold
Else - Actions
Floating Text - Create floating text that reads wtf? at (Position of (Triggering unit)) with Z offset 0.00, using font size 10.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency
You should know how to get it from there.
On the +10.00 AIS, you can only get to a certain point until it doesent work. Try adding Agility instead.