diff options
author | Jesusaves <cpntb1@ymail.com> | 2020-04-29 05:59:23 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2020-04-29 05:59:23 -0300 |
commit | 179c845beb6213e1684e966b305e06f50ff34b32 (patch) | |
tree | 41d2d2efb2f3595d4ae6b372420c9e13998cb796 /npc/042-2 | |
parent | 528ff341c65ebb1fcf8332e611eca89c5e89aa6a (diff) | |
download | serverdata-179c845beb6213e1684e966b305e06f50ff34b32.tar.gz serverdata-179c845beb6213e1684e966b305e06f50ff34b32.tar.bz2 serverdata-179c845beb6213e1684e966b305e06f50ff34b32.tar.xz serverdata-179c845beb6213e1684e966b305e06f50ff34b32.zip |
This should squash the warnings
Krukan HP might still be wrong
Diffstat (limited to 'npc/042-2')
-rw-r--r-- | npc/042-2/boss.txt | 7 |
1 files 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 |