- if(randv <= thismon->thisnpc->money) // zuly drop
- {
- newdrop->type = 1; //zuly
- newdrop->amount = thismon->thisnpc->level * 5 * (Config.ZULY_RATE) + RandNumber( 1, 10 );
- if( thisclient->Session->codedebug )
- {
- SendPM(thisclient, "Zuly drop selected " );
- }
- return newdrop;
- }
- //now check for item drops
This isn't (at least for now) a comprehensive list. You can find them all just by opening gmcmds.cpp if you really want to see them all
- setustat This one allows you to set the UStat1 or UStat2 value for any item that you currently have equipped. presently it is the ONLY way to apply UStats to any item.
Format: /setustat [ItemType] [index] [stat ] [value ]
ItemType must be one of the following: "mask", "cap", "suit", "back", "glov", "shoe", "weap", "shield". Entering any other value will result in ItemType defaulting to "weap" and applying the UStat to your equipped weapon
index must be 1 or 2. Any other value will result in the value defaulting to 1
Stat can be any number from STR_ABILITY.STL. eg. 10 = STR. 23 = move speed and so on
Value can be any number you like. Just be sensible about it. Setting move speed to 1,000,000 would be kind of stupid. Would probably work though
NOTE: Not all stat values will actually do anything and some will not even display correctly. Stuff like "item drop rate" (79) and "item drop count increase" (63) both work properly and are coded at the server. try setting them both to 10 and see what happens - setstat
This one can control a bunch of different things and allows you to cheat your stats completely without the need of equipping items
Format: /setstat [stat] [value]
Stat must be one of the following values: "maxhp", "hp", "movespeed", "ap" (attack power), "aspd" (attack speed). More options may be added easily later
Value can be anything you like but again, please be sensible.
Use of this function sets up a temporary "cheat" variable in the server which overwrites the normal calculated value for that particular stat while the cheat is active. use the command again and set to zero to cancel its effect - rate
Set some of your server rates with a GM command.
Format: /rate [choice] [value]
Choice is currently limited to "drop" or "exp".
Value can be anything. I don't recommend a very large value for drop though. I tested it with 5000 once and found myself on top of a massive vertical pile of dropped items when I killed a monster It was funny as hell but it lags the server.