diff options
Diffstat (limited to 'npc/commands/kami.txt')
-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} ) |