自動転職システム

Go down

自動転職システム

投稿 by 構築さん on 2014-05-31, 16:50

MapleCharacter.java

Code:
import net.sf.odinms.scripting.npc.NPCScriptManager;

if (level == 8) {
NPCScriptManager npc = NPCScriptManager.getInstance();
npc.start(client, 9200000);
}
if (level == 10 || level == 30 || level == 70 || level == 120) {
if (getJob().getId() % 100 != 0 && getJob().getId()% 10 == 0) {
int jobid = client.getPlayer().getJob().getId();
client.getPlayer().changeJob(MapleJob.getById(jobi d + 1));
} else {
NPCScriptManager npc = NPCScriptManager.getInstance();
npc.start(client, 9200000);
}
}
avatar
構築さん
Admin

Posts : 193
Join date : 2014/05/29

http://maplescience.forumjap.com

トップに戻る Go down

トップに戻る


 
Permissions in this forum:
返信投稿: 不可