From 179c845beb6213e1684e966b305e06f50ff34b32 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Wed, 29 Apr 2020 05:59:23 -0300 Subject: This should squash the warnings Krukan HP might still be wrong --- npc/042-2/boss.txt | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/npc/042-2/boss.txt b/npc/042-2/boss.txt index 3c7c40ff7..a5e46b574 100644 --- a/npc/042-2/boss.txt +++ b/npc/042-2/boss.txt @@ -65,7 +65,7 @@ OnTimer1000: OnTimer30000: .@m$=instance_mapname("042-2"); - mapannounce .@m$, "??? : WHAT?! It is not possible. Who are you, and how did you manage to come down here?", 0; + mapannounce .@m$, "??? : WHAT?! This is not possible. Who are you, and how did you manage to come down here?", 0; end; OnTimer35000: @@ -118,6 +118,8 @@ OnTimer180000: .@gcount=getd("$@GTEMP2_"+.@m$); .@avg=getd("$@GTEMP3_"+.@m$); kdoor0422Spawn(.@gcount*3, 20, 24, 59, 59); + .@avg=getd("$@GTEMP3_"+.@m$); + debugmes "BOSS - %d, map %s (power %d)", .@gcount, .@m$, .@avg; .@mob=monster(.@m$, 34, 26, strmobinfo(1, GeneralKrukan), GeneralKrukan, 1, .@n$+"::OnKillBoss"); // Reconfigure the monster setunitdata(.@mob, UDT_LEVEL, .@avg); @@ -131,7 +133,7 @@ OnTimer180000: setunitdata(.@mob, UDT_ATKRANGE, 3); // Battle Status setunitdata(.@mob, UDT_MAXHP, .@avg*300); - setunitdata(.@mob, UDT_HP, .@avg*400); + setunitdata(.@mob, UDT_HP, .@avg*300); setunitdata(.@mob, UDT_ATKMIN, .@avg*65/10); setunitdata(.@mob, UDT_ATKMAX, .@avg*85/10); setunitdata(.@mob, UDT_DEF, 1+.@avg); @@ -223,6 +225,7 @@ OnKillBoss: .@gmb=getcharid(0, .@gm$); if (!isloggedin(.@gma, .@gmb)) end; message .@gm$, strcharinfo(0)+" defeated Krukan: Guild GP +"+.@ggp+" Guild XP +"+.@gxp; + stopnpctimer; // TODO: maptimer to give EXP to helpers/survivors // TODO: Arrest scene -- cgit v1.2.3-60-g2f50