summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2025-08-03 23:23:22 -0300
committerJesusaves <cpntb1@ymail.com>2025-08-03 23:23:22 -0300
commit7ff61962d57e243e4fedbe2aa4845988c4309f75 (patch)
treecbd5a2628ed04dd10a360e03a8b8622a2fea3064
parentb65ee054f7c7a932283aeab41fd46370c1fe867f (diff)
downloadserverdata-7ff61962d57e243e4fedbe2aa4845988c4309f75.tar.gz
serverdata-7ff61962d57e243e4fedbe2aa4845988c4309f75.tar.bz2
serverdata-7ff61962d57e243e4fedbe2aa4845988c4309f75.tar.xz
serverdata-7ff61962d57e243e4fedbe2aa4845988c4309f75.zip
New JobClass: Tanker
Needs some rebalancing, most likely
-rw-r--r--npc/003-0/fejda.txt5
-rw-r--r--npc/functions/hub.txt10
2 files changed, 13 insertions, 2 deletions
diff --git a/npc/003-0/fejda.txt b/npc/003-0/fejda.txt
index 8ea196b82..1ae8064e4 100644
--- a/npc/003-0/fejda.txt
+++ b/npc/003-0/fejda.txt
@@ -46,12 +46,12 @@
/*
O CLASS_WARRIOR: 1 // Bonus on melee damage
-X CLASS_RANGER: 2 // Bonus on ranged damage
+X CLASS_RANGER: 2 // Bonus on ranged damage (or accuracy?)
O CLASS_WIZARD: 4 // Bonus on magic damage
CLASS_BLACKSMITH: 8 // Bonus on crafting / brewing / cooking
O CLASS_HUNTER: 16 // Bonus on MobPt gain and discount on Grants
CLASS_MERCHANT: 32 // Bonus on GP earning (+all mobs drop GP)
- CLASS_TANKER: 64 // Bonus on defense/hp
+O CLASS_TANKER: 64 // Bonus on defense/hp
CLASS_RAGGER: 128 // Bonus on crit (berserker)
O CLASS_PALADIN: 256 // Bonus on attack speed
O CLASS_NINJA: 512 // Bonus on evasion
@@ -63,6 +63,7 @@ O CLASS_CARRY: 2048 // Bonus on max weight
l("Warrior (atk+)"), CLASS_WARRIOR,
l("Wizard (matk+/mp+)"), CLASS_WIZARD,
l("Hunter (mobpt+)"), CLASS_HUNTER,
+ l("Tanker (def+/hp+)"), CLASS_TANKER,
l("Paladin (aspd+)"), CLASS_PALADIN,
l("Ninja (eva+)"), CLASS_NINJA,
l("Carry (weight+)"), CLASS_CARRY;
diff --git a/npc/functions/hub.txt b/npc/functions/hub.txt
index 860a4b493..642218dc4 100644
--- a/npc/functions/hub.txt
+++ b/npc/functions/hub.txt
@@ -1488,6 +1488,7 @@ function script HUB_PCBonus {
// Ranger class (OFF)
// bonus bLongAtkRate, ?;
+ // bonus bHit, ?;
// Wizard
if (JobClass & CLASS_WIZARD) {
@@ -1499,6 +1500,15 @@ function script HUB_PCBonus {
bonus bSPrecovRate, -(.@blvl / 25); // Max -32%
}
+ // Tanker
+ if (JobClass & CLASS_TANKER) {
+ bonus bDef, .@blvl / 80; // Max +10 DEF
+ bonus bDef2, .@blvl / 20; // Max -40 DMG
+ bonus bMaxHp, .@blvl; // Max 800 HP
+ } else {
+ bonus bDef, -(.@blvl / 20); // Max -40 DEF
+ }
+
// Paladin
if (JobClass & CLASS_PALADIN)
bonus bAspd, .@blvl / 50; // Max +16