- script NMM -1,{ OnClock0300: OnClock0600: OnClock0900: OnClock1200: OnClock0000: announce "Nightmare has just started",bc_all; sleep 2000; announce "Every 3 hours, for 15 min only, every monster in the game will give 2x more Base/Job experience (including MvPs);",bc_all; sleep 2000; announce "BUT, during these 15 minuts, the server turns into PK (player killer) mode",bc_all; sleep 2000; announce "When killed by another player during NMM, the death penalty is doubled (2% loss instead of 1%);",bc_all; sleep 2000; announce "while death caused by a monster is dealt with the regular 1% penalty.",bc_all; sleep 2000; announce "Players whose level is lower than lv40 can't kill/be killed by other players during NMM ",bc_all; setbattleflag "pk_mode",1; set BaseExp, BaseExp+1000; set JobExp, JobExp+1000; atcommand "@reloadbattleconf"; sleep 1000*60*15; // More readable setbattleflag "pk_mode",0; atcommand "@reloadbattleconf"; announce "Now starts another day, you had sweet dreams ? Nightmare Mode deactivated!",bc_all; end; OnPCDieEvent: callfunc "PenaltyBaseExp", (killerrid >= 2000000?2:1); end; } function script PenaltyBaseExp { if (BaseExp) { set BaseExp, BaseExp / 100 * getarg(0); announce "Nightmare Penalty: -" + getarg(0) + "% Base Exp", bc_self, 0xEAC8E7; } return; }