From c523899b3e28920c2f77e911b40004aab79f17ce Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Thu, 5 May 2022 09:18:30 -0300 Subject: Luvia isn't tracking tankers or random targets for all her magic is AoE --- npc/034-4/lobby.txt | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'npc') diff --git a/npc/034-4/lobby.txt b/npc/034-4/lobby.txt index 1c634d1f4..658d21087 100644 --- a/npc/034-4/lobby.txt +++ b/npc/034-4/lobby.txt @@ -120,9 +120,10 @@ OnTimer30000: /* Prepare some data */ .@hp = getunitdata(.luvia, UDT_HP) * 10 / getunitdata(.luvia, UDT_MAXHP); + .@pi = getmapusers(.mp$) * 2 + 1; getmapxy(.@m$, .@x, .@y, UNITTYPE_MOB, .luvia); .@c=getunits(BL_PC, .@pcs, MAX_CYCLE_PC, .@m$); - .@mvp=0;.@rnd=0;.@def=-1; + /*.@mvp=0;.@rnd=0;.@def=-1; for (.@i = 0; .@i < .@c; .@i++) { if (!.@rnd || !rand2(.@c)) .@rnd=.@pcs[.@i]; @@ -131,7 +132,7 @@ OnTimer30000: .@mvp=.@pcs[.@i]; .@def=readbattleparam(.@pcs[.@i], UDT_DEF); } - } + }*/ // Luvia's spell casting // She casts every ~30 seconds @@ -142,7 +143,7 @@ OnTimer30000: unittalk(.luvia, "Hahahah, die, die!"); specialeffect(64, AREA, .luvia); sleep(1000); - monster(.mp$, .@x, .@y, strmobinfo(1, Scar), Scar, max(1, (11 - .@hp) / 10)); + monster(.mp$, .@x, .@y, strmobinfo(1, Scar), Scar, .@pi + max(1, (11 - .@hp) / 10)); break; case 3: case 9: -- cgit v1.2.3-60-g2f50