diff options
author | Jesusaves <cpntb1@ymail.com> | 2022-05-05 09:18:30 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2022-05-05 09:18:30 -0300 |
commit | c523899b3e28920c2f77e911b40004aab79f17ce (patch) | |
tree | 50ec2f0f3bd75a0fa9d9bd8f4950cc6cdc6668ec /npc/034-4 | |
parent | d892df2a4c764afcd04820f715f66de760cca1f9 (diff) | |
download | serverdata-c523899b3e28920c2f77e911b40004aab79f17ce.tar.gz serverdata-c523899b3e28920c2f77e911b40004aab79f17ce.tar.bz2 serverdata-c523899b3e28920c2f77e911b40004aab79f17ce.tar.xz serverdata-c523899b3e28920c2f77e911b40004aab79f17ce.zip |
Luvia isn't tracking tankers or random targets for all her magic is AoE
Diffstat (limited to 'npc/034-4')
-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: |