GarrotNuesoon.lua 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. --[[
  2. Script Name : SpawnScripts/FrostfangSea/GarrotNuesoon.lua
  3. Script Purpose : assassin trainer
  4. Script Author : theFoof
  5. Script Date : 2013.9.24
  6. Script Notes :
  7. --]]
  8. local ASSASSIN = 40
  9. function spawn(NPC)
  10. end
  11. function respawn(NPC)
  12. spawn(NPC)
  13. end
  14. function hailed(NPC, Spawn)
  15. FaceTarget(NPC, Spawn)
  16. if GetClass(Spawn) == ASSASSIN then
  17. conversation = CreateConversation()
  18. PlayFlavor(NPC, "", "", "hello", 0, 0, Spawn)
  19. AddConversationOption(conversation, "What advice do you have for a fellow assasin?", "SinChat1")
  20. AddConversationOption(conversation, "It certainly is. Good bye.")
  21. StartConversation(conversation, NPC, Spawn, "Ah, another assassin! It is a dangerous profession that you have chosen, but well worth it.")
  22. else
  23. PlayFlavor(NPC, "", "To attack from the shadows is the greatest of advantages. An enemy cannot defend against an attack it can never see.", "hello", 0, 0, Spawn)
  24. end
  25. end
  26. function SinChat1(NPC, Spawn)
  27. conversation = CreateConversation()
  28. FaceTarget(NPC, Spawn)
  29. AddConversationOption(conversation, "I would appreciate it.", "SinChat2")
  30. StartConversation(conversation, NPC, Spawn, "Understand that it goes against my very nature to give away anything I consider a trade secret, but I can part with a few bits of wisdom.")
  31. end
  32. function SinChat2(NPC, Spawn)
  33. conversation = CreateConversation()
  34. FaceTarget(NPC, Spawn)
  35. AddConversationOption(conversation, "That's useful to know!", "SinChat3")
  36. StartConversation(conversation, NPC, Spawn, "Procure items that add to your agility or stamina, when you find them! Agility affects both your ability to inflict damage and avoid taking damage from others. Your stamina affects your health. This is crucial.")
  37. end
  38. function SinChat3(NPC, Spawn)
  39. conversation = CreateConversation()
  40. FaceTarget(NPC, Spawn)
  41. AddConversationOption(conversation, "That's interesting.", "SinChat4")
  42. StartConversation(conversation, NPC, Spawn, "Our most devastating attacks are sudden strikes to vital organs from a cover of darkness. These opportunistic attacks performed under a cover of concealment surprises our target, thus giving them less chance to protect themselves.")
  43. end
  44. function SinChat4(NPC, Spawn)
  45. conversation = CreateConversation()
  46. FaceTarget(NPC, Spawn)
  47. AddConversationOption(conversation, "What should I do then?", "SinChat5")
  48. StartConversation(conversation, NPC, Spawn, "Keep in mind that the majority of our attacks are positional, meaning you need to be behind or beside an opponent for that attack to work. So you must be aware of situations in which there are multiple foes, as positional attacks are of little use when you're surrounded!")
  49. end
  50. function SinChat5(NPC, Spawn)
  51. conversation = CreateConversation()
  52. FaceTarget(NPC, Spawn)
  53. AddConversationOption(conversation, "Thank you for the advice.")
  54. StartConversation(conversation, NPC, Spawn, "I suggest you employ a divide and conquer tactic, and cut them down as fast as possible. And do not overlook the power of poisons, in any situation!")
  55. end