1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | - script Kill_Monster -1,{ OnNPCKillEvent: //每擊殺10隻或10隻以上 怒氣值點數+1 set @New_Mob,@New_Mob + 1; if ( @New_Mob >= 10 ) { set Mobpoint,Mobpoint + 1; set @New_Mob,0; if ( Mobpoint == 500 ) { dispbottom "您的怒氣值已經達到100% 系統給予您全能力十"; sc_start SC_INCALLSTATUS,600000,10; //當怒氣值 100%時 全能力 +10 10分鐘 set Mobpoint,0; //得到狀態後點數歸0 } end; } } |