simappto
发表于 2014-12-31 23:51:58
215933121593312159331
asd0123qwer
发表于 2015-2-16 21:23:16
当人物达到一个等级,自动打开NPC
打开MapleCharacter.java
在类似net.s f.odinms.scripting下面添加
import net.s f.odinms.scripting.npc.NPCScriptManager;
找到
if (level == 200 && !isGM()) {
exp.set(0);
MaplePacket packet = MaplePacketCreator.serverNotice(6, " " + getName() + " has reached Level 200! Congratulate " + getName() + " on such an amazing achievment!");
try {
getClient().getChannelServer().getWorldInterface().broadcastMessage(getName(), packet.getBytes());
} catch (RemoteException e) {
getClient().getChannelServer().reconnectWorld();
}
}
增加
if (level == 10) {
NPCScriptManager npc = NPCScriptManager.getInstance();
npc.start(client, 9201027);
}
if (level == 30) {
NPCScriptManager npc = NPCScriptManager.getInstance();
npc.start(client, 9201027);
}
if (level == 70) {
NPCScriptManager npc = NPCScriptManager.getInstance();
npc.start(client, 9201027);
}
if (level == 120) {
NPCScriptManager npc = NPCScriptManager.getInstance();
npc.start(client, 9201027);
}
if (level == 200) {
NPCScriptManager npc = NPCScriptManager.getInstance();
npc.start(client, 9201027);
}
得到某个物品与NPC对话
if (haveItem == ) {
NPCScriptManager npc = NPCScriptManager.getInstance();
npc.start(client, );
}
asd0123qwer
发表于 2015-2-16 21:23:20
当人物达到一个等级,自动打开NPC
打开MapleCharacter.java
在类似net.s f.odinms.scripting下面添加
import net.s f.odinms.scripting.npc.NPCScriptManager;
找到
if (level == 200 && !isGM()) {
exp.set(0);
MaplePacket packet = MaplePacketCreator.serverNotice(6, " " + getName() + " has reached Level 200! Congratulate " + getName() + " on such an amazing achievment!");
try {
getClient().getChannelServer().getWorldInterface().broadcastMessage(getName(), packet.getBytes());
} catch (RemoteException e) {
getClient().getChannelServer().reconnectWorld();
}
}
增加
if (level == 10) {
NPCScriptManager npc = NPCScriptManager.getInstance();
npc.start(client, 9201027);
}
if (level == 30) {
NPCScriptManager npc = NPCScriptManager.getInstance();
npc.start(client, 9201027);
}
if (level == 70) {
NPCScriptManager npc = NPCScriptManager.getInstance();
npc.start(client, 9201027);
}
if (level == 120) {
NPCScriptManager npc = NPCScriptManager.getInstance();
npc.start(client, 9201027);
}
if (level == 200) {
NPCScriptManager npc = NPCScriptManager.getInstance();
npc.start(client, 9201027);
}
得到某个物品与NPC对话
if (haveItem == ) {
NPCScriptManager npc = NPCScriptManager.getInstance();
npc.start(client, );
}
服务范围
发表于 2015-2-17 09:05:04
的顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶
kley592007
发表于 2015-3-22 13:23:25
555555555555555555555555555555
shun2580
发表于 2015-4-22 19:03:08
关于你说的骑士团4转:请问,骑士团有4转么
还有机械师坦克掉线问题,请注意,我做的是转职补丁,而不是技能修复,坦克掉线是服务端的问题而不是补丁的问题,这个补丁只负责让你转职
样养阳
发表于 2015-5-17 12:44:19
:lol
我也来学习学习
发表于 2015-5-17 14:43:24
123
邓先生
发表于 2015-5-27 23:28:16
学习了!!!!!!
VeilSide
发表于 2015-6-8 01:28:22
淡淡的