content updates

This commit is contained in:
Emagi 2025-08-21 00:00:06 +00:00
parent d142e707fa
commit 11ef43df24
14 changed files with 151 additions and 61 deletions

View file

@ -101,12 +101,12 @@ StartDialogConversation(conversation, 2, Item, Player, "Heritage\n\nThroughout N
end
function Page12(Item, Player)
conversation = CreateConversation()
if CanReceiveQuest(Player,5865) then
OfferQuest(Item,Player,5865)
elseif GetQuestStep(Player,5865) ==8 then
AddConversationOption(conversation, "Final Page","Page13")
end
endconversation = CreateConversation()
AddConversationOption(conversation, "Previous Page","Page10")
AddConversationOption(conversation, "Close the book.","CloseItemConversation")
StartDialogConversation(conversation, 2, Item, Player, "Making Yourself Useful\n\nThe Overlord requires that all citizens be of some use to the city by advancing their training in their current adventuring profession. We will not have deadbeats and mendicants within the walls of Freeport.\n\nFighters report to Commandant Tychus in the Temple of War.\n\nPriests report to Priest Kelian, also within the Temple of War.\n\nMages are to speak with Arcanist Sonius within the Academy of Arcane Sciences.\n\nScouts are to seek out Emissary Millia, she can be found operating out of the Jade Tiger Inn.\n\nThese locations are all found within the North Freeport section of the city. The prosperity of Freeport will be achieved through blood and sweat! -- Grand Duke Hazran")

View file

@ -0,0 +1,25 @@
--[[
Script Name : Spells/Mage/RetaliateArcana.lua
Script Author : image
Script Date : 2025.08.20 12:08:20
Script Purpose :
:
--]]
--[[ Info from spell_display_effects (remove from script when done)
*Dispels 10 levels of hostile arcane effects on target
*Target receives a single trigger proc to do divine damage
--]]
function cast(Caster, Target, Damage)
CureByType(1, 2, GetSpellName(), (GetLevel(Caster) * 1.08) + 1)
SetSpellTriggerCount(1, 1) -- Trigger Count: 3, CancelAfterTriggers: yes (1)
AddProc(Caster, 1, 20)
end
function proc(Caster, Target, Type, Damage)
ProcDamage(Caster, Target, GetSpellName(), 7, Damage) -- DAMAGE_PACKET_DAMAGE_TYPE_DIVINE (divine damage) is 7
RemoveTriggerFromSpell() -- Removes trigger from SetSpellTriggerCount
end

View file

@ -36,5 +36,6 @@ end
function remove(Caster, Target)
RemoveSpellBonus(Target)
RemoveProc(Target)
RemoveControlEffect(Target, 2, 1)
end

View file

@ -1,14 +1,21 @@
--[[
Script Name : Spells/Priest/Druid/Fury/Fleshweave.lua
Script Author : LordPazuzu
Script Date : 2024.11.16 04:11:20
Script Author : Image
Script Date : 2025.08.20 19:14:34
Script Purpose :
:
--]]
--[[ Info from spell_display_effects (remove from script when done)
*Heals target for 131 - 160
*Heals target for 131 - 160 instantly and every 2 seconds
--]]
function cast(Caster, Target, MinHeal, MaxHeal)
SpellHeal("Heal", MinHeal, MaxHeal, Target)
end
function tick(Caster, Target, MinHeal, MaxHeal)
SpellHeal("Heal", MinHeal, MaxHeal, Target)
end

View file

@ -1,7 +1,7 @@
--[[
Script Name : Spells/Priest/Druid/Fury/MarkoftheHunt.lua
Script Author : LordPazuzu
Script Date : 2024.11.16 04:11:30
Script Author : Image
Script Date : 2025.08.20 09:31:11
Script Purpose :
:
--]]
@ -9,7 +9,18 @@
--[[ Info from spell_display_effects (remove from script when done)
*Increases STA of group members (AE) by 7.8
*Increases Mitigation of group members (AE) vs elemental damage by 338
*Increases Out of Combat Health Regen of Target by 5.
*Increases out of Combat Run Speed of Target by 3%.
--]]
function cast(Caster, Target, Amount, RegenAmt)
AddSpellBonus(Target, 1, Amount)
AddSpellBonus(Target, 602, RegenAmt)
AddSpellBonus(Target, 609, 3)
end
function remove(Caster, Target)
RemoveSpellBonus(Target)
end

View file

@ -41,8 +41,9 @@ function proc(Caster, Target, Type, StatAmount, BaseAvoidance, MitigationAmount,
DamageSpawn(Caster, Target, 0, 0, LowDmg, HighDmg, "Predator's Attack")
end
function remove(Caster, Target)
function remove(Caster, Target, Reason)
ResetIllusion(Caster)
SetSeeHide(Caster, false)
RemoveSpellBonus(Caster)
RemoveProc(Caster)
end

View file

@ -1,7 +1,7 @@
--[[
Script Name : Spells/Priest/Druid/Fury/PredatorySalve.lua
Script Author : LordPazuzu
Script Date : 2024.11.16 04:11:41
Script Author : Image
Script Date : 20255.08.20 09:17:33
Script Purpose :
:
--]]
@ -9,6 +9,20 @@
--[[ Info from spell_display_effects (remove from script when done)
*Heals target for 77 - 94 instantly and every 2 seconds
*Shapechanges target into a lion
--]]
function cast(Caster, Target, MinHeal, MaxHeal)
SpellHeal("Heal", MinHeal, MaxHeal, Target)
SetIllusion(Target, 303)
end
-- function tick uses spell tier call_frequency (20 = every 2 seconds)
function tick(Caster, Target, MinHeal, MaxHeal)
SpellHeal("Heal", MinHeal, MaxHeal, Target)
end
function remove(Caster, Target, Reason)
SetIllusion(Target, 0)
end

View file

@ -1,7 +1,7 @@
--[[
Script Name : Spells/Priest/Druid/Fury/Savagery.lua
Script Author : LordPazuzu
Script Date : 2024.11.16 04:11:31
Script Author : Image
Script Date : 2025.08.20 19:11:23
Script Purpose :
:
--]]
@ -9,12 +9,22 @@
--[[ Info from spell_display_effects (remove from script when done)
*Increases STR and AGI of target by 18.2
*Adds 1.4% to base avoidance.
*Increases Mitigation of target vs elemental, noxious and arcane damage by 129
*On any combat or spell hit this spell may cast Battle Fury on target. Lasts for 10.0 seconds. Triggers about 2.0 times per minute.
*Increases Ability Casting Speed of target by 7.2%
*Increases Haste of target by 21.0
*Increases Multi Attack of target by 21.0
*On any combat or spell hit this spell may cast Battle Fury on target.
* Additional slashing attack (using the primary weapon type and damage)
--]]
function cast(Caster, Target, Amount)
AddSpellBonus(Target, 0, Amount)
AddSpellBonus(Target, 2, Amount)
AddProc(Target, 16, 15.0)
end
function proc(Caster, Target, Type)
ProcDamage(Caster, Target, "Battle Fury", GetInfoStructUInt(Caster, "primary_weapon_type"), GetInfoStructUInt(Caster, "primary_weapon_damage_low"), GetInfoStructUInt(Caster, "primary_weapon_damage_high"))
end
function remove(Caster, Target)
RemoveProc(Target)
RemoveSpellBonus(Target)
end

View file

@ -1,15 +1,23 @@
--[[
Script Name : Spells/Priest/Druid/Fury/Verve.lua
Script Author : LordPazuzu
Script Date : 2024.11.16 04:11:23
Script Author : Image
Script Date : 2025.08.20 08:43:31
Script Purpose :
:
--]]
--[[ Info from spell_display_effects (remove from script when done)
*Increases STA of target by 21.8
*Increases INT of target by 31.0
* Out-of-Combat Regen per tick of target is 12.
* Increase max power of Target by 146.
--]]
function cast(Caster, Target, OutCombatRegen, MaxPower)
AddSpellBonus(Target, 603, OutCombatRegen)
AddSpellBonus(Target, 619, MaxPower)
end
function remove(Caster, Target, Reason)
RemoveSpellBonus(Target)
end

View file

@ -1,7 +1,7 @@
--[[
Script Name : Spells/Priest/Druid/Fury/ViciousFeast.lua
Script Author : LordPazuzu
Script Date : 2024.11.16 04:11:03
Script Author : Image
Script Date : 2025.08.20 09:18:24
Script Purpose :
:
--]]
@ -10,12 +10,15 @@
*When target receives a reduction in health of 20% this spell will cast Savage Feast on caster. Lasts for 18.0 seconds.
*Heals group members (AE) for 25 - 30 instantly and every 3 seconds
*Increases STR, AGI, WIS and INT of group members (AE) by 10.0
*Increases STR of group members (AE) by 10.0
*Increases STA of group members (AE) by 20.1
*Adds 0.5% to base avoidance.
*Increases Mitigation of group members (AE) vs elemental, noxious and arcane damage by 26
*Reduces the power cost of spells cast by group members by 2.81%
*Reduces the power cost of spells cast by group members by 2.81%
--]]
function cast(Caster, Target)
AddProcExt(Target, 13, 0, 100.0)
end
function proc_ext(Caster, Target, Type, DmgType, InitialCaster)
CastSpell(InitialCaster, 170212, GetSpellTier(), InitialCaster)
end

View file

@ -0,0 +1,30 @@
--[[
Script Name : Spells/Priest/Druid/Fury/Vicious_SavageFeast.lua
Script Author : image
Script Date : 2025.08.20 02:08:18
Script Purpose :
:
--]]
--[[ Info from spell_display_effects (remove from script when done)
*Heals target for 25 - 30 instantly and every 3 seconds
*Increases STR of group members (AE) by 10.6
*Increases STA of group members (AE) by 20.1
-- this is called by Vicious Feast
--]]
function cast(Caster, Target, MinHeal, MaxHeal, STR, STA)
SpellHeal("Heal", MinHeal, MaxHeal, Target)
AddSpellBonus(Target, 0, STR)
AddSpellBonus(Target, 1, STA)
end
-- function tick uses spell tier call_frequency (30 = every 3 seconds)
function tick(Caster, Target, MinHeal, MaxHeal)
SpellHeal("Heal", MinHeal, MaxHeal, Target)
end
function remove(Caster, Target, Reason)
RemoveSpellBonus(Target)
end

View file

@ -8,38 +8,10 @@
-- Heals target for 34 - 42 instantly and every 2 seconds
function cast(Caster, Target, MinVal, MaxVal)
Level = GetLevel(Caster)
SpellLevel = 12
Mastery = SpellLevel + 10
StatBonus = GetWis(Caster) / 10
if Level < Mastery then
LvlBonus = Level - SpellLevel
else LvlBonus = Mastery - SpellLevel
end
HealBonus = LvlBonus + StatBonus
MinHeal = math.floor(HealBonus) * 2 + MinVal
MaxHeal = math.floor(HealBonus) * 2 + MaxVal
SpellHeal("Heal", MinHeal, MaxHeal)
function cast(Caster, Target, MinHeal, MaxHeal)
SpellHeal("Heal", MinHeal, MaxHeal, Target)
end
function tick(Caster, Target, MinVal, MaxVal)
Level = GetLevel(Caster)
SpellLevel = 12
Mastery = SpellLevel + 10
StatBonus = GetWis(Caster) / 10
if Level < Mastery then
LvlBonus = Level - SpellLevel
else LvlBonus = Mastery - SpellLevel
end
HealBonus = LvlBonus + StatBonus
MinHeal = math.floor(HealBonus) * 2 + MinVal
MaxHeal = math.floor(HealBonus) * 2 + MaxVal
SpellHeal("Heal", MinHeal, MaxHeal)
function tick(Caster, Target, MinHeal, MaxHeal)
SpellHeal("Heal", MinHeal, MaxHeal, Target)
end

View file

@ -20,4 +20,8 @@ end
function proc(Caster, Target, Type, DmgType, MinVal, MaxVal)
SpellDamage(Target, DmgType, MinVal, MaxVal, 0, 0)
end
function remove(Caster, Target, Reason)
RemoveProc(Target)
end

View file

@ -20,3 +20,7 @@ end
function proc(Caster, Target, Type, DmgType, MinVal, MaxVal)
SpellDamage(Target, DmgType, MinVal, MaxVal, 0, 0)
end
function remove(Caster, Target, Reason)
RemoveProc(Target)
end