NPC פשוט, כמו gachapon רגיל, אבל של EXP (אפשר גם לאבד EXP).
תהנוקוד PHP:var r = Math.round(Math.random() * 1000);
function start() {
cm.sendYesNo("Would you like to use the EXP Gachapon?");
}
function action(m, t, s){
if (m == 1) {
if (cm.haveItem(5220000)) {
cm.gainItem(5220000, -1);
var rand = Math.round(Math.random() * 2);
rand == 2 ? cm.gainExp(r * 50) : cm.gainExp(-(r * 50));
rand == 2 ? cm.sendOk("You have gained #r" + (r * 50) + "#k Exp.") : cm.sendOk("You have lost #r" + (-(r * 50)) + "#k Exp.");
} else
cm.sendOk("You need a gachapon ticket to use the EXP Gachapon.");
} else
cm.sendOk("Come back later to try your luck.");
cm.dispose();
}
![]()




ציטוט ההודעה
ספוילר: 
