From 5cdd4c417c062140a038c1e6d5a79671123a2926 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sun, 3 May 2020 14:29:16 -0300 Subject: Add more "spice" in Katazuli - Randomness --- npc/042-10/ctrl.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'npc/042-10/ctrl.txt') 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; -- cgit v1.2.3-60-g2f50