diff options
Diffstat (limited to 'npc/034-4/lobby.txt')
-rw-r--r-- | npc/034-4/lobby.txt | 7 |
1 files changed, 4 insertions, 3 deletions
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: |