On Mon, 20 May 1996 dex@darknet.com wrote: > > Can anyone tell me where to go to change area spells damage to PC's in > thier group? I have PK allowed on and area spells seem to hit those in your > group as well. I could do a check in damage(), but is there a better function > (or easier) to do it in? > > -- Shade mag_areas, magic.c.. whack a check in looking something like if (tch->master == ch) continue; i trust that u know roughly where to whack the check in.. it basically stops the spell effect being acted out on ppl who are following you. alternatively you could ALSO check that tch has AFF_GROUP flag... if ((tch->master == ch) && (IS_AFFECTED(tch, AFF_GROUP))) continue; that means ppl who follow you and are grouped would be passed over by your spell. very good for group-type "clan" wars :) hope this helps... Pandion artemis.earth.monash.edu.au 8000 Christopher Voutsis Email: s337239@student.uq.edu.au
This archive was generated by hypermail 2b30 : 12/18/00 PST