9
3

aMudpawguard.lua 1010 B

1234567891011121314151617181920212223
  1. --[[
  2. Script Name : SpawnScripts/Caves/aMudpawguard.lua
  3. Script Purpose : a Mudpaw guard
  4. Script Author : John Adams
  5. Script Date : 2008.09.21
  6. Script Notes : Auto-Generated Conversation from PacketParser Data
  7. --]]
  8. function attacked(NPC, Spawn)
  9. FaceTarget(NPC, Spawn)
  10. choice = math.random(1,4)
  11. if choice == 1 then
  12. PlayFlavor(NPC, "voiceover/english/gnoll_base_1/ft/gnoll/gnoll_base_1_1_aggro_75cd5d19.mp3", "Not allowed here!", "", 1292107958, 2335134714)
  13. elseif choice == 2 then
  14. PlayFlavor(NPC, "voiceover/english/gnoll_base_1/ft/gnoll/gnoll_base_1_1_aggro_d81be55c.mp3", "Bite! Show sharp teeth!", "", 612586564, 102929785)
  15. elseif choice == 3 then
  16. PlayFlavor(NPC, "voiceover/english/gnoll_base_1/ft/gnoll/gnoll_base_1_3_aggro_d81be55c.mp3", "Bite! Show sharp teeth!", "", 3276849474, 2846177216)
  17. else
  18. PlayFlavor(NPC, "voiceover/english/gnoll_base_1/ft/gnoll/gnoll_base_1_2_death_9c1f07cb.mp3", "Another member of the pack down!", "", 3426629421, 3660282518)
  19. end
  20. end