1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- --[[
- Script Name : SpawnScripts/IsleRefuge1/aGruttoothguardAngry.lua
- Script Author : LordPazuzu
- Script Date : 2022.09.06 08:09:27
- Script Purpose :
- :
- --]]
- dofile("SpawnScripts/Generic/MonsterCallouts/BaseGoblin2.lua")
- function spawn(NPC)
- local Level = GetLevel(NPC)
- local level1 = 3
- local level2 = 4
- local difficulty1 = 6
- local hp1 = 75
- local power1 = 45
- local difficulty2 = 6
- local hp2 = 110
- local power2 = 55
- 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)
- SpawnSet(NPC, "visual_state", 12030)
- end
-
- end
- function aggro(NPC,Spawn)
- SpawnSet(NPC, "visual_state", 0)
- end
- function hailed(NPC, Spawn)
- FaceTarget(NPC, Spawn)
- end
- function respawn(NPC)
- spawn(NPC)
- end
|