Edit droprate
Moderator: Cheaters
-
- Junior Member
- Posts: 28
- Joined: June 23rd, 2016, 3:26 am
Edit droprate
How can i edit item drop rate from unit ? , i can't see droprate in unit item
You do not have the required permissions to view the files attached to this post.
-
- Super Moderator
- Posts: 1943
- Joined: February 3rd, 2009, 11:28 pm
- Been thanked: 1 time
Re: Edit droprate
I don't know the map and don't feel like deobfuscating this, but in order to drop an item in JASS, you do something like this:
if(GetRandomReal(0,100)<=drop rate)then
call CreateItem(...)
endif
So look for something in this format.
if(GetRandomReal(0,100)<=drop rate)then
call CreateItem(...)
endif
So look for something in this format.
Last edited by owner123 on January 4th, 2019, 2:44 am, edited 2 times in total.
-
- Junior Member
- Posts: 28
- Joined: June 23rd, 2016, 3:26 am