Advertisement
Guest User

Untitled

a guest
May 25th, 2017
285
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.67 KB | None | 0 0
  1. Character.cs
  2.  
  3. public int HonorPoints = 0;
  4.  
  5.  
  6. Search for that in Character.cs
  7.  
  8. else
  9. {
  10. InitAngry(true);
  11. Attacker.AtkMem.Attacking = false;
  12. Attacker.AtkMem.Target = 0;
  13. AtkMem.Attacking = false;
  14. AtkMem.Target = 0;
  15.  
  16.  
  17. under that add
  18.  
  19.  
  20. if (Loc.Map == 1505)
  21. {
  22. //Attacker.CPs += 500;
  23. Attacker.HonorPoints += 500;
  24. Attacker.MyClient.LocalMessage(2005, "Your have 500 honor points and 5 cps for kill enemy.");
  25. }
  26.  
  27.  
  28. NpcDialog.cs
  29.  
  30.  
  31. #region HonorArena
  32. case 987787:
  33. {
  34. if (option == 0)
  35. {
  36. GC.AddSend(Packets.NPCSay("Do you want to goto the HonorArena ?"));
  37. GC.AddSend(Packets.NPCLink("Yes.", 1));
  38. GC.AddSend(Packets.NPCLink("I dont want to get raped!.", 255));
  39. GC.AddSend(Packets.NPCSetFace(N.Avatar));
  40. GC.AddSend(Packets.NPCFinish());
  41. }
  42. if (option == 1)
  43. {
  44. GC.MyChar.Teleport(1505, 163, 224);
  45. }
  46. break;
  47. }
  48. #endregion
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement