From 8aac48b271dce65b28735322e221a0f06d97aedb Mon Sep 17 00:00:00 2001 From: Emagi Date: Sat, 9 Aug 2025 00:00:06 +0000 Subject: [PATCH] content updates --- .../aGigglegibbergoblingamblingametoken.lua | 11 ++++++ SpawnScripts/Antonica/SentryActon.lua | 7 +++- SpawnScripts/Antonica/acoldwindpikeStream.lua | 34 +++++++++++++++++++ Spells/Commoner/Blessing.lua | 1 - 4 files changed, 51 insertions(+), 2 deletions(-) create mode 100644 ItemScripts/aGigglegibbergoblingamblingametoken.lua create mode 100644 SpawnScripts/Antonica/acoldwindpikeStream.lua diff --git a/ItemScripts/aGigglegibbergoblingamblingametoken.lua b/ItemScripts/aGigglegibbergoblingamblingametoken.lua new file mode 100644 index 00000000..d1043e8f --- /dev/null +++ b/ItemScripts/aGigglegibbergoblingamblingametoken.lua @@ -0,0 +1,11 @@ +--[[ + Script Name : ItemScripts/aGigglegibbergoblingamblingametoken.lua + Script Author : image + Script Date : 2025.08.08 11:08:21 + Script Purpose : + : +--]] + +function obtained(Item, Player) + -- this was required to trigger the Item properly being added to the player for triggering Lotto +end \ No newline at end of file diff --git a/SpawnScripts/Antonica/SentryActon.lua b/SpawnScripts/Antonica/SentryActon.lua index 56601553..93c7cbfa 100755 --- a/SpawnScripts/Antonica/SentryActon.lua +++ b/SpawnScripts/Antonica/SentryActon.lua @@ -5,6 +5,7 @@ Script Purpose : : --]] +require "SpawnScripts/Generic/NPCModule" local Quest2 = 5783 local greetingsTable = { "voiceover/english/voice_emotes/greetings/greetings_1_1034.mp3", @@ -12,6 +13,7 @@ local Quest2 = 5783 "voiceover/english/voice_emotes/greetings/greetings_3_1034.mp3"}; function spawn(NPC, Spawn) + human(NPC) end @@ -83,4 +85,7 @@ end function respawn(NPC) spawn(NPC) -end \ No newline at end of file +end + + + diff --git a/SpawnScripts/Antonica/acoldwindpikeStream.lua b/SpawnScripts/Antonica/acoldwindpikeStream.lua new file mode 100644 index 00000000..d46ffc13 --- /dev/null +++ b/SpawnScripts/Antonica/acoldwindpikeStream.lua @@ -0,0 +1,34 @@ +--[[ + Script Name : SpawnScripts/Antonica/acoldwindpikeStream.lua + Script Author : lordpazuzu + Script Date : 2025.08.08 05:08:33 + Script Purpose : + : +--]] + +require "SpawnScripts/Generic/NPCModule" + +function spawn(NPC) + NPCModule(NPC, Spawn) + RandomMovement(NPC, Spawn, 4, -4, 2, 8, 15) + ChooseClass(NPC) +end + +function respawn(NPC, Spawn) + spawn(NPC) +end + +function hailed(NPC, Spawn) + FaceTarget(NPC, Spawn) +end + +function ChooseClass(NPC) + SetClass = MakeRandomInt(1,2) + if SetClass == 1 then + SpawnSet(NPC, "class", 1) + SetSpellList(NPC, 291) + elseif SetClass == 2 then + SpawnSet(NPC, "class", 31) + SetSpellList(NPC, 295) + end +end \ No newline at end of file diff --git a/Spells/Commoner/Blessing.lua b/Spells/Commoner/Blessing.lua index f81611ea..cf1ca0ca 100644 --- a/Spells/Commoner/Blessing.lua +++ b/Spells/Commoner/Blessing.lua @@ -19,7 +19,6 @@ function precast(Caster, Target) for k,v in ipairs(targets) do if GetID(Target) == GetID(v) then return true - end end end end