In the srl/srl/skill/Magic.scar file shouldnt
SCAR Code:function CastOn(Spell, Monster: string; MonsterColor: Integer; Tolerance:
Integer): Boolean;
be
SCAR Code:function CastOn(Spell, Monster: TStringArray; MonsterColor: TIntegerArray; Tolerance:
Integer): Boolean;
and
SCAR Code:if (FindObj(x, y, Monster, MonsterColor, Tolerance)) then
become
SCAR Code:if (FindObjCustom(x, y, Monsters, MonsterColors, Tolerance)) then
because then you would be able to cast a spell on multiple monsters in the area or if certain monsters are different colors it would attack all of them. This could be made as a new function called CastOnCustom or something.
If there is another way of doing then please may someone tell me.



Reply With Quote










