summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--db/constants.conf3
-rw-r--r--npc/003-3/malindou.txt7
-rw-r--r--npc/functions/hub.txt11
3 files changed, 21 insertions, 0 deletions
diff --git a/db/constants.conf b/db/constants.conf
index 739b06773..2bdd11f06 100644
--- a/db/constants.conf
+++ b/db/constants.conf
@@ -2386,6 +2386,9 @@ constants_db: {
ACADEMIC_SAGE: 7
ACADEMIC_GM: 8
+ comment__: "OnPCBonusEvent constants"
+
+
@include "db/si_config.conf"
@include "conf/import/constants.conf"
}
diff --git a/npc/003-3/malindou.txt b/npc/003-3/malindou.txt
index 56303c920..5c235d025 100644
--- a/npc/003-3/malindou.txt
+++ b/npc/003-3/malindou.txt
@@ -676,6 +676,13 @@ OnSkillInvoke:
@skillId=0;
end;
+OnPCBonus:
+ debugmes "PCBonus Invoked";
+ if (!playerattached())
+ end;
+ HUB_PCBonus();
+ end;
+
// Level up events
OnPCBaseLvUpEvent:
switch (BaseLevel) {
diff --git a/npc/functions/hub.txt b/npc/functions/hub.txt
index 320ea197a..c5ecb043f 100644
--- a/npc/functions/hub.txt
+++ b/npc/functions/hub.txt
@@ -931,3 +931,14 @@ function script HUB_PvP {
return;
}
+
+
+// HUB_PCBonus ()
+function script HUB_PCBonus {
+ if (PCBONUS & PCB_SPLASHMASTER) {
+ bonus bSplashRange, 1;
+ }
+ debugmes "PCBonus Handled";
+ return;
+}
+