Guest User

Untitled

a guest
Jun 23rd, 2018
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.65 KB | None | 0 0
  1. case 100009: //call summon
  2.                 if(c.lastsummon <= 0) {
  3.                     c.sendMessage("<col=8345667>You don't have a familiar to call!");
  4.                     return;
  5.                 }
  6.                 Server.npcHandler.npcs[c.summoningnpcid].isDead = true;
  7.                 Server.npcHandler.npcs[c.summoningnpcid].applyDead = true;
  8.                 c.Summoning.SummonNewNPC(c.lastsummon);
  9.                 Server.npcHandler.npcs[c.summoningnpcid].gfx0(1315);
  10.                 Server.npcHandler.npcs[c.summoningnpcid].underAttackBy2 = -1;  
  11.                 Server.npcHandler.npcs[c.summoningnpcid].updateRequired = true;
  12.                 Server.npcHandler.npcs[c.summoningnpcid].dirUpdateRequired = true;
  13.                 Server.npcHandler.npcs[c.summoningnpcid].getNextWalkingDirection();
  14.             break;
Add Comment
Please, Sign In to add comment