summaryrefslogtreecommitdiff
path: root/npc/functions
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-03-28 15:37:42 -0300
committerJesusaves <cpntb1@ymail.com>2021-03-28 15:37:42 -0300
commitbb653239137c1679d65ab5d56dbc9e840f474ca9 (patch)
treee6769596f0829684970f1a5dc80a0f590f62bd2a /npc/functions
parent385381967ad140941c3daeb552ab5ce49f212c65 (diff)
downloadserverdata-bb653239137c1679d65ab5d56dbc9e840f474ca9.tar.gz
serverdata-bb653239137c1679d65ab5d56dbc9e840f474ca9.tar.bz2
serverdata-bb653239137c1679d65ab5d56dbc9e840f474ca9.tar.xz
serverdata-bb653239137c1679d65ab5d56dbc9e840f474ca9.zip
A total of seventeen traits.
Diffstat (limited to 'npc/functions')
-rw-r--r--npc/functions/hub.txt48
1 files changed, 48 insertions, 0 deletions
diff --git a/npc/functions/hub.txt b/npc/functions/hub.txt
index 7ff4c0193..04d0a02d5 100644
--- a/npc/functions/hub.txt
+++ b/npc/functions/hub.txt
@@ -935,6 +935,54 @@ function script HUB_PvP {
// HUB_PCBonus ()
function script HUB_PCBonus {
+ if (PCBONUS & PCB_ATKBONUS) {
+ bonus bAtk, 25;
+ }
+ if (PCBONUS & PCB_MATKBONUS) {
+ bonus bMatk, 25;
+ }
+ if (PCBONUS & PCB_DEFBONUS) {
+ bonus bDef, 20;
+ }
+ if (PCBONUS & PCB_MDEFBONUS) {
+ bonus bMdef, 20;
+ }
+ if (PCBONUS & PCB_EVDBONUS) {
+ bonus bFlee, 20;
+ }
+ if (PCBONUS & PCB_HITBONUS) {
+ bonus bHit, 25;
+ }
+ if (PCBONUS & PCB_CRITBONUS) {
+ bonus bCritical, 5;
+ }
+ if (PCBONUS & PCB_DOUBLEATK) {
+ bonus bDoubleAddRate, 5;
+ }
+ if (PCBONUS & PCB_ALLSTATS) {
+ bonus bAllStats, 1;
+ }
+ if (PCBONUS & PCB_HPBONUS) {
+ bonus bMaxHP, 500;
+ }
+ if (PCBONUS & PCB_MPBONUS) {
+ bonus bMaxSP, 150;
+ }
+ if (PCBONUS & PCB_ASPDBONUS) {
+ bonus bAspd, 10;
+ }
+ if (PCBONUS & PCB_WSPDBONUS) {
+ bonus bSpeedAddRate, 5;
+ }
+ if (PCBONUS & PCB_WEIGHTBONUS) {
+ bonus bAddMaxWeight, 1000;
+ }
+ if (PCBONUS & PCB_EXPBONUS) {
+ bonus2 bExpAddRace, RC_All, 10;
+ }
+ if (PCBONUS & PCB_NOKNOCKBACK) {
+ bonus bNoKnockback, 1;
+ }
if (PCBONUS & PCB_SPLASHMASTER) {
bonus bSplashRange, 1;
}