Mob Get Random ID
Akkarinage edited this page Jul 13, 2017
·
1 revision
Pages 190
Getting Started
- Installation instructions
- Transitioning from SVN to GIT
- Compiling on your OS
- Connecting & Starting rAthena
Configure your Server
- Scripting like a pro!
- Server Modifications and what to expect
- Database Configuration
Customization
- Adding Custom Items
- Adding Custom Monsters
- GRF Encryption
Setup the Client
- Data folder
- Diff files
Misc Databases
Third-Party Software
Clone this wiki locally
Get a random mob ID
int mob_get_random_id(int type, int flag, int lv)
mob_get_random_id(type, flag, lv)
- type = Where to take the mob ID
- 0 = dead branch list
- 1 = poring list
- 2 = bloody branch list
- flag:
- &1 = Apply success chance on the list (otherwise, its totally random)
- &2 = Apply level check
- &4 = Mob cant be mode BOSS
- &8 = Mob must earn EXP
- lv = Mob Level to be checked