- Joined
- Apr 6, 2009
- Messages
- 254
Hey guys, i need help with a system i made.
Before i used the normal WC3 drop thing where you can make a item table and choose it, but all the creeps in my map revives, and when they revive their table gets cancelled (no idea if i said that right :O).
I made a system, where i made Creeps from 1 - 15 have a "Weak" buff, so every time a unit with "Weak" buff died i made it like this (I cant make triggers.. i allways do it wrong :O):
Event:
Unit Dies
Conditions:
Unit has "Weak" buff equals to true
Unit is owned by Player Hostile
Actions:
Make DropNumber[1] (Dropnumber[1] + 1)
Set DropIntenger[DropNumber[1]] is a random number between 1 - 150
Set DropPoint[DropNumber[1]] Possition of dying unit.
If: DropIntenger[DropNumber] is random number between 1 - 5
Then: then drop Claws of Attack +15 on DropPoint[DropNumber[1]]
Create a Special Effect
Destroy Effect
Else:
----------------
I did this with over.. 40 item chances and it simply wont work, i have looked around if somebody else did another system but i cant find one..
Did i trigger something wrong, or is there a much easier way? Please help =)
+red for help
Before i used the normal WC3 drop thing where you can make a item table and choose it, but all the creeps in my map revives, and when they revive their table gets cancelled (no idea if i said that right :O).
I made a system, where i made Creeps from 1 - 15 have a "Weak" buff, so every time a unit with "Weak" buff died i made it like this (I cant make triggers.. i allways do it wrong :O):
Event:
Unit Dies
Conditions:
Unit has "Weak" buff equals to true
Unit is owned by Player Hostile
Actions:
Make DropNumber[1] (Dropnumber[1] + 1)
Set DropIntenger[DropNumber[1]] is a random number between 1 - 150
Set DropPoint[DropNumber[1]] Possition of dying unit.
If: DropIntenger[DropNumber] is random number between 1 - 5
Then: then drop Claws of Attack +15 on DropPoint[DropNumber[1]]
Create a Special Effect
Destroy Effect
Else:
----------------
I did this with over.. 40 item chances and it simply wont work, i have looked around if somebody else did another system but i cant find one..
Did i trigger something wrong, or is there a much easier way? Please help =)
+red for help