MakeDamageZone and MapSpell

Desolation Mir2 (Med Rate Server)

Inflikted

LOMCN Veteran
Veteran
Aug 4, 2003
256
7
94
been trying to use variables to get either of these two to work :)
could someone maybe tell whats wrong with either of them?

(DamageZone Script)

Mov A0 %USERMAP
Mov A1 %USERX
Mov A2 %USERY
FormatStr "%s,%s,%s,10" %A0 %A1 %A2
MakeDamageZone %A9 10 50 [GUILD] <--- this works kinda.. but it hurts everyone lol. doesnt matter if you are in a guild or not, or a different guild even. is there other functions to it?

---------------------
(MapSpell Script)

Mov A1 %UserX
Mov A2 %UserY
Mov A3 %UserMap
Mov A4 %A2
Inc A4 1
FormatStr "%s,%s,%s,%s,%s,+d200,+t10,+h" %A3 %A1 %A2 %A1 %A4
MapSpell [firewall] %A9
 

chimera

LOMCN VIP
VIP
Jul 30, 2003
1,054
23
215
UK
you can't set a mapspell or a damagezone to only hurt specific characters.


#ACT
Mov A0 %USERMAP
Mov A1 %USERx
Mov A2 %USERY
Mov N1 %A1
Mov N2 %A2
Mov N3 %A1
Mov N4 %A2
ForMatStr "%s,%s" %A0 %N1
Mov A3 %A9
ForMatStr "%s,%s,%s" %A3 %N2 %N3
Mov A3 %A9
Mov A8 ",+d500, +t5, +h"
ForMatStr "%s,%s,%s" %A3 %N4 %A8
Mapspell [FIREWALL] "%A9"
 
Upvote 0

Inflikted

LOMCN Veteran
Veteran
Aug 4, 2003
256
7
94
yes i was aware of the mapspell script, that hurts everyone, but i believe damagezone can be changed for different group's or guilds maybe im wrong lol.

but thanks ill try that :)

it was meant for a kr's script, that would have a random chance of hitting someone in the room, if they killed a mob, the other idea i had was to use movr to just randomly select a coordinate to hit, and just use a loopback delay.
 
Last edited:
Upvote 0