12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- --[[
- Script Name : SpawnScripts/Blackburrow/aSabertoothoracle.lua
- Script Author : Dorbin
- Script Date : 2022.07.11 07:07:38
- Script Purpose :
- :
- --]]
- function spawn(NPC)
- local Level = GetLevel(NPC)
- local level1 = 16
- local level2 = 17
- local difficulty1 = 7
- local hp1 = 1450
- local power1 = 475
- local difficulty2 = 7
- local hp2 = 1650
- local power2 = 500
- if Level == level1 then
- SpawnSet(NPC, "difficulty", difficulty1)
- SpawnSet(NPC, "hp", hp1)
- SpawnSet(NPC, "power", power1)
- elseif Level == level2
- then
- SpawnSet(NPC, "difficulty", difficulty2)
- SpawnSet(NPC, "hp", hp2)
- SpawnSet(NPC, "power", power2)
- end
- VoiceBox(NPC)
- end
- function VoiceBox(NPC)
- local choice = MakeRandomInt(1,2)
- if choice == 1 then
- dofile("SpawnScripts/Generic/MonsterCallouts/BaseGnoll1.lua")
- elseif choice == 2 then
- dofile("SpawnScripts/Generic/MonsterCallouts/SabertoothGnoll3.lua")
- end
- end
- function hailed(NPC, Spawn)
- FaceTarget(NPC, Spawn)
- end
- function respawn(NPC)
- spawn(NPC)
- end
|