diff options
author | Jesusaves <cpntb1@ymail.com> | 2021-03-28 14:22:15 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2021-03-28 14:22:15 -0300 |
commit | ce1ca0c776d02b14ee99a96241957b9e5ce368a0 (patch) | |
tree | 45a60ecdc8cf5de59e2b54de60d6b9b9fffaae44 | |
parent | 75a0d425b8b2da904d422091f3e5ecf7395202dc (diff) | |
download | serverdata-ce1ca0c776d02b14ee99a96241957b9e5ce368a0.tar.gz serverdata-ce1ca0c776d02b14ee99a96241957b9e5ce368a0.tar.bz2 serverdata-ce1ca0c776d02b14ee99a96241957b9e5ce368a0.tar.xz serverdata-ce1ca0c776d02b14ee99a96241957b9e5ce368a0.zip |
Have a pipeline do a dry run if the new system could work or not
-rw-r--r-- | db/constants.conf | 3 | ||||
-rw-r--r-- | npc/003-3/malindou.txt | 7 | ||||
-rw-r--r-- | npc/functions/hub.txt | 11 |
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; +} + |