--[[ Script Name : SpawnScripts/SunkenCity/arustmonster.lua Script Purpose : a rust monster Script Author : Scatman Script Date : 2009.07.28 Script Notes : --]] local QUEST_3_FROM_THORSON = 378 function spawn(NPC) end function respawn(NPC) spawn(NPC) end function hailed(NPC, Spawn) FaceTarget(NPC, Spawn) if HasQuest(Spawn, QUEST_3_FROM_THORSON) and not QuestStepIsComplete(Spawn, QUEST_3_FROM_THORSON, 3) then SetStepComplete(Spawn, QUEST_3_FROM_THORSON, 3) end end function casted_on(Target, Caster) -- TODO: Verify 'Catalog Creature' was casted. if HasQuest(Caster, QUEST_3_FROM_THORSON) and not QuestStepIsComplete(Caster, QUEST_3_FROM_THORSON, 3) then SetStepComplete(Caster, QUEST_3_FROM_THORSON, 3) end end