summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2025-08-03 22:13:39 -0300
committerJesusaves <cpntb1@ymail.com>2025-08-03 22:13:39 -0300
commitb65ee054f7c7a932283aeab41fd46370c1fe867f (patch)
tree6470a69fcbc7e5bfd662e04e101c8fd296de895f
parentd235821b75fc2548efc096f70ae2869bf99077ed (diff)
downloadserverdata-b65ee054f7c7a932283aeab41fd46370c1fe867f.tar.gz
serverdata-b65ee054f7c7a932283aeab41fd46370c1fe867f.tar.bz2
serverdata-b65ee054f7c7a932283aeab41fd46370c1fe867f.tar.xz
serverdata-b65ee054f7c7a932283aeab41fd46370c1fe867f.zip
New JobClass: Hunter
-rw-r--r--npc/003-0/fejda.txt3
-rw-r--r--npc/functions/hub.txt4
-rw-r--r--npc/functions/mobpoint.txt5
3 files changed, 9 insertions, 3 deletions
diff --git a/npc/003-0/fejda.txt b/npc/003-0/fejda.txt
index d34344f3d..8ea196b82 100644
--- a/npc/003-0/fejda.txt
+++ b/npc/003-0/fejda.txt
@@ -49,7 +49,7 @@ O CLASS_WARRIOR: 1 // Bonus on melee damage
X CLASS_RANGER: 2 // Bonus on ranged damage
O CLASS_WIZARD: 4 // Bonus on magic damage
CLASS_BLACKSMITH: 8 // Bonus on crafting / brewing / cooking
- CLASS_HUNTER: 16 // Bonus on MobPt gain and discount on Grants
+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
CLASS_RAGGER: 128 // Bonus on crit (berserker)
@@ -62,6 +62,7 @@ O CLASS_CARRY: 2048 // Bonus on max weight
menuint
l("Warrior (atk+)"), CLASS_WARRIOR,
l("Wizard (matk+/mp+)"), CLASS_WIZARD,
+ l("Hunter (mobpt+)"), CLASS_HUNTER,
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 12b78f914..860a4b493 100644
--- a/npc/functions/hub.txt
+++ b/npc/functions/hub.txt
@@ -1513,9 +1513,9 @@ function script HUB_PCBonus {
// Carry
if (JobClass & CLASS_CARRY)
- bonus bAddMaxWeight, .@blvl; // Max 8kg
+ bonus bAddMaxWeight, .@blvl + (REBIRTH*20); // Max 8.1kg
else
- bonus bAddMaxWeight, REBIRTH*10; // Max 50g
+ bonus bAddMaxWeight, REBIRTH*50; // Max 250g
}
// Double hack fix
diff --git a/npc/functions/mobpoint.txt b/npc/functions/mobpoint.txt
index 2456f7110..0d9f231d2 100644
--- a/npc/functions/mobpoint.txt
+++ b/npc/functions/mobpoint.txt
@@ -49,6 +49,11 @@ function script mobpoint {
.@addval = .@addval * limit(50, 101+.@base, 100) / 100;
}
+ // Hunter class receives more monster points (up to 2x)
+ if (JobClass & CLASS_HUNTER) {
+ .@addval = .@addval + (.@addval * limit(1, TotalBaseLevel() - 100, 800) / 800);
+ }
+
// Your intelligence correction, makes it vary up to 50%
.@intf = (.@intf + 2000) / 2;
.@addval = .@addval * .@intf / 990; // use 990 instead of 1000 (pro ludio)