summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-05-06 19:37:40 -0300
committerJesusaves <cpntb1@ymail.com>2019-05-06 19:37:40 -0300
commit003e8f6d1d839f1b14eaa289afe459d8e45a2ec6 (patch)
tree337f56dc5dd0293f8cf4aa85f6c5c39ab5ca1b50 /npc
parent4b94a5646fde4cab644e0febb7462c519bc0d707 (diff)
downloadserverdata-003e8f6d1d839f1b14eaa289afe459d8e45a2ec6.tar.gz
serverdata-003e8f6d1d839f1b14eaa289afe459d8e45a2ec6.tar.bz2
serverdata-003e8f6d1d839f1b14eaa289afe459d8e45a2ec6.tar.xz
serverdata-003e8f6d1d839f1b14eaa289afe459d8e45a2ec6.zip
Minor bugfix + history
Diffstat (limited to 'npc')
-rw-r--r--npc/commands/kami.txt19
-rw-r--r--npc/magic/limerizer.txt2
2 files changed, 20 insertions, 1 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} )
diff --git a/npc/magic/limerizer.txt b/npc/magic/limerizer.txt
index 027874942..a786d8eb9 100644
--- a/npc/magic/limerizer.txt
+++ b/npc/magic/limerizer.txt
@@ -36,7 +36,7 @@ OnCall:
// set cooldown
@limerizer_at=gettimetick(2);
- @limerizer_at=@limerizer_at+16;
+ @limerizer_at=@limerizer_at+54;
// As usual, magic profeciency affects
if (rand(1,6) < abizit()+1) {