summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-06-18 05:10:50 -0300
committerJesusaves <cpntb1@ymail.com>2020-06-18 05:10:50 -0300
commitaecde7fde819e83f84e0622e4b9fe3baf8aef9ee (patch)
tree6f2c44bdc3f16de3d151de76b05cfc37e10ed456
parent103eda6d05498af0ca23073b19379647e06161db (diff)
downloadserverdata-aecde7fde819e83f84e0622e4b9fe3baf8aef9ee.tar.gz
serverdata-aecde7fde819e83f84e0622e4b9fe3baf8aef9ee.tar.bz2
serverdata-aecde7fde819e83f84e0622e4b9fe3baf8aef9ee.tar.xz
serverdata-aecde7fde819e83f84e0622e4b9fe3baf8aef9ee.zip
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.
-rw-r--r--npc/005-4/tolchi.txt2
-rw-r--r--npc/craft/tweak.txt3
-rw-r--r--npc/functions/hub.txt6
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