diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-05-06 19:37:40 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-05-06 19:37:40 -0300 |
commit | 003e8f6d1d839f1b14eaa289afe459d8e45a2ec6 (patch) | |
tree | 337f56dc5dd0293f8cf4aa85f6c5c39ab5ca1b50 /npc/commands | |
parent | 4b94a5646fde4cab644e0febb7462c519bc0d707 (diff) | |
download | serverdata-003e8f6d1d839f1b14eaa289afe459d8e45a2ec6.tar.gz serverdata-003e8f6d1d839f1b14eaa289afe459d8e45a2ec6.tar.bz2 serverdata-003e8f6d1d839f1b14eaa289afe459d8e45a2ec6.tar.xz serverdata-003e8f6d1d839f1b14eaa289afe459d8e45a2ec6.zip |
Minor bugfix + history
Diffstat (limited to 'npc/commands')
-rw-r--r-- | npc/commands/kami.txt | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/npc/commands/kami.txt b/npc/commands/kami.txt index c21fb9bad..4c1109680 100644 --- a/npc/commands/kami.txt +++ b/npc/commands/kami.txt @@ -26,9 +26,28 @@ OnServMsg: } end; +OnBuff: + // Disabled command, used for debug purposes + .@c = getunits(BL_PC, .@players, 40); + for (.@i = 0; .@i < .@c; .@i++) { + attachrid(.@players[.@i]); + sc_start SC_INCMHPRATE, 300000, 100; + sc_start SC_INCMSPRATE, 300000, 100; + sc_start SC_INCFLEERATE, 300000, 100; + sc_start SC_INCHITRATE, 300000, 100; + sc_start SC_WALKSPEED, 300000, 150; + sc_start SC_ATTHASTE_POTION3, 300000, 50; + percentheal 100, 100; + dispbottom l("YOU WERE BLESSED BY JESUSALVA"); + dispbottom l("YOU CAN FEEL THE POWER FLOWING TROUGH YOU."); + detachrid(); + } + end; + OnInit: bindatcmd "k", "@k::OnCall", 80, 80, 1; bindatcmd "servmsg", "@k::OnServMsg", 99, 99, 1; + bindatcmd "blessing", "@k::OnBuff", 100, 100, 1; } // kamibroadcast( message{, sender} ) |