2013年7月18日 星期四

地圖裡不能變身且會顯示這裡不可以變身

public static void doPoly(L1Character cha, int polyId, int timeSecs,
    int cause) {
  if (cha == null || cha.isDead()) {
   return;
  }
  if (cha instanceof L1PcInstance) {
   L1PcInstance pc = (L1PcInstance) cha; 
   if (pc.getMapId() == 5300) {
    pc.sendPackets(new S_ServerMessage(1170)); // ここでは変身できません。
    return;
   }

沒有留言:

張貼留言