rathena/doc/sample/getequipid.txt
Lemongrass3110 045f4be573 Fixed getequipid returning 0 instead of -1
Fixed #2228 and updated the documentation a little

Thanks to @talesvalente
2017-07-02 15:39:35 +02:00

16 lines
576 B
Plaintext

//===== rAthena Script =======================================
//= Sample: Getequipid
//===== By: ==================================================
//= rAthena Dev Team
//===== Last Updated: ========================================
//= 20170702
//===== Description: =========================================
//= Demonstrates the 'getequipid' command.
//============================================================
prontera,161,181,6 script getequipid sample 105,{
for (.@i = EQI_ACC_L; .@i < EQI_MAX; .@i++)
mes "getequipid(" + .@i + ") : " + getequipid(.@i);
close;
}