summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-05-03 14:29:16 -0300
committerJesusaves <cpntb1@ymail.com>2020-05-03 14:29:16 -0300
commit5cdd4c417c062140a038c1e6d5a79671123a2926 (patch)
tree0fa107beb263fa1228874deb86713af386054043
parent6aac66ab0229c2feea2b9f9a681c70f5fa37555c (diff)
downloadserverdata-5cdd4c417c062140a038c1e6d5a79671123a2926.tar.gz
serverdata-5cdd4c417c062140a038c1e6d5a79671123a2926.tar.bz2
serverdata-5cdd4c417c062140a038c1e6d5a79671123a2926.tar.xz
serverdata-5cdd4c417c062140a038c1e6d5a79671123a2926.zip
Add more "spice" in Katazuli - Randomness
-rw-r--r--npc/042-10/ctrl.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/npc/042-10/ctrl.txt b/npc/042-10/ctrl.txt
index fc60db75a..2f6f3305a 100644
--- a/npc/042-10/ctrl.txt
+++ b/npc/042-10/ctrl.txt
@@ -150,7 +150,8 @@ function script KatazuliCore {
.@cat=getareadropitem(getmap(), .x-3, .y-3, .x+3, .y+3, DarkPetal, true);
// Your own power boost
- .@cat+=limit(1, readparam2(bInt)/40, 3);
+ .@bint=rand2(readparam2(bInt)/2, readparam2(bInt));
+ .@cat+=limit(1, .@bint/35, 3);
// Power the circle
.@power=getd("$@GTEMP_"+.@id+"_"+.@m$)+.@cat;