sano
Member
- ServUO Version
- Publish 57
- Ultima Expansion
- Time Of Legends
hello folks. im trying to disable "you cant cast that in town" at all and allow all spells to be cast everywhere,
i modified SpellHelper.cs:
by commenting this
also replaced this
to
in every spell which was asking for that.
everything compiled without errors but im still not able to cast in town. any suggestions please? want to disable that option at all.
i modified SpellHelper.cs:
by commenting this
SpellHelper.cs::
public static bool CheckTown(Point3D loc, Mobile caster)
{
if (IsTown(loc, caster))
{
caster.SendLocalizedMessage(500946); // You cannot cast this in town!
return false;
}
return true;
}
also replaced this
C#:
else if (SpellHelper.CheckTown(p, this.Caster) && this.CheckSequence())
to
C#:
else if (this.CheckSequence())
everything compiled without errors but im still not able to cast in town. any suggestions please? want to disable that option at all.