i think there r many ways to disallow skill
u can search for that in ur handle.cs
PHP Code:
public static void ReceiveAttack
no skills allowed
PHP Code:
if (attacker.MapID == //MapID)
{
if (spell != null)
{
attacker.Owner.Send(new Message("Skills isn't allowed!", System.Drawing.Color.Red, 0x7dc));
return;
}
}
this to make some spell
PHP Code:
if (attacker.MapID == //MapID)
{
if (!Constants.AllowedSpell.Contains(spell.ID) || spell != null)
{
attacker.Owner.Send(new Message("Only Some Skills is allowed!", System.Drawing.Color.Red, 0x7dc));
return;
}
}
and just add this at Serverbase/constants
which can u just add allowed skill
PHP Code:
public static readonly List<ushort> AllowedSpell = new List<ushort> { 0x415, 0x416, 0x1770, 0x288d, 0x2af8, 0x2afd, 700 };
Try This it may do the job