From aecde7fde819e83f84e0622e4b9fe3baf8aef9ee Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Thu, 18 Jun 2020 05:10:50 -0300 Subject: Sponsor Necklace should not be tweakable, to don't provide an unfair advantage of the extra slot. Savior set is always tweakable, and Tolchi will not touch it. --- npc/005-4/tolchi.txt | 2 +- npc/craft/tweak.txt | 3 ++- npc/functions/hub.txt | 6 ++++++ 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/npc/005-4/tolchi.txt b/npc/005-4/tolchi.txt index 90c34e78b..5c905c17c 100644 --- a/npc/005-4/tolchi.txt +++ b/npc/005-4/tolchi.txt @@ -383,6 +383,6 @@ OnInit: initnpctimer; .distance = 5; - setarray .disallow_equip, Event1HSword, Event2HSword, EventBow, EventWand, Lightbringer, DemureAxe, Tyranny, Runestaff, AegisShield, BlacksmithAxe, Dustynator, CreasedShirt, CreasedShorts; + setarray .disallow_equip, 0, SponsorNecklace, Event1HSword, Event2HSword, EventBow, EventWand, Lightbringer, DemureAxe, Tyranny, Runestaff, AegisShield, BlacksmithAxe, Dustynator, SaviorShield, SaviorArmor, SaviorPants, SaviorBoots, CreasedShirt, CreasedShorts; end; } diff --git a/npc/craft/tweak.txt b/npc/craft/tweak.txt index fcb9ace2e..023873068 100644 --- a/npc/craft/tweak.txt +++ b/npc/craft/tweak.txt @@ -75,7 +75,8 @@ function script SmithTweakSystem { // If the item have no bonuses - fail setarray .@AlwaysTweaks, 65535, BlacksmithAxe, Dustynator, Lightbringer, - DemureAxe, Tyranny, Runestaff, AegisShield; + DemureAxe, Tyranny, Runestaff, AegisShield, + SaviorShield, SaviorArmor, SaviorBoots, SaviorPants; // Tweaked items if (getitemoptionidbyindex(.@id, 0) <= 0 && !is_master() && array_find(.@AlwaysTweaks, .@x) < 0) { diff --git a/npc/functions/hub.txt b/npc/functions/hub.txt index 152cad7e7..1e2711622 100644 --- a/npc/functions/hub.txt +++ b/npc/functions/hub.txt @@ -305,6 +305,12 @@ function script HUB_SkillInvoke { harm(@skillTarget, .@dmg, HARM_MAGI, Ele_Holy); break; /* + // Weapon Overload attack + case TMW2_OVERLOAD: + .@PW=100+(50*@skillLv); + harm(@skillTarget, AdjustAttackpower(.@PW), HARM_MISC); + break; + // Support magic // TODO: Debuffs // TODO: Buffs -- cgit v1.2.3-70-g09d2