Edit droprate

General talk about editing, cheating, and deprotecting maps.

Moderator: Cheaters

Post Reply
lantistk
Junior Member
Posts: 28
Joined: June 23rd, 2016, 3:26 am

Edit droprate

Post by lantistk »

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.
owner123
Super Moderator
Posts: 1943
Joined: February 3rd, 2009, 11:28 pm

Re: Edit droprate

Post by owner123 »

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.
Last edited by owner123 on January 4th, 2019, 2:44 am, edited 2 times in total.
lantistk
Junior Member
Posts: 28
Joined: June 23rd, 2016, 3:26 am

Re: Edit droprate

Post by lantistk »

thanks i'm solve it, it have one funtione name admin drop control drop rate
Post Reply