Works now, try it you want it on your server.
Here's the code I added in Characters.cs
I put it at the bottom above this
It is basically a copy/paste from PazeCo source with some changes.
EDIT: Works now with this code, follow those directions and your all set.
Here's the code I added in Characters.cs
Code:
if (Action == 230)//Cool Effect
{
if (Job >= 10 && Job <= 15)//Trojan Cool
{
MyClient.AddSend(Packets.String(EntityID, 10, "warrior"));
Action = 100;
}
if (Job >= 40 && Job <= 45)//Archer Cool
{
MyClient.AddSend(Packets.String(EntityID, 10, "archer"));
Action = 100;
}
if (Job >= 20 && Job <= 25)//Warrior Cool
{
MyClient.AddSend(Packets.String(EntityID, 10, "fighter"));
Action = 100;
}
if (Job >= 132 && Job <= 135)//Water Tao Cool
{
MyClient.AddSend(Packets.String(EntityID, 10, "taoist"));
Action = 100;
}
if (Job >= 142 && Job <= 145)//Fire Tao Cool
{
MyClient.AddSend(Packets.String(EntityID, 10, "taoist"));
Action = 100;
}
if (Job == 100 || Job == 101)//Tao Cool
{
MyClient.AddSend(Packets.String(EntityID, 10, "taoist"));
Action = 100;
}
if (Job >= 10 && Job <= 15)//Trojan Cool
{
MyClient.AddSend(Packets.String(EntityID, 10, "warrior-s"));
Action = 100;
}
if (Job >= 40 && Job <= 45)//Archer Cool
{
MyClient.AddSend(Packets.String(EntityID, 10, "archer-s"));
Action = 100;
}
if (Job >= 20 && Job <= 25)//Warrior Cool
{
MyClient.AddSend(Packets.String(EntityID, 10, "fighter-s"));
Action = 100;
}
if (Job >= 132 && Job <= 135)//Water Tao Cool
{
MyClient.AddSend(Packets.String(EntityID, 10, "taoist-s"));
Action = 100;
}
if (Job >= 142 && Job <= 145)//Fire Tao Cool
{
MyClient.AddSend(Packets.String(EntityID, 10, "taoist-s"));
Action = 100;
}
if (Job == 100 || Job == 101)//Tao Cool
{
MyClient.AddSend(Packets.String(EntityID, 10, "taoist-s"));
Action = 100;
}
}
}
Code:
catch (Exception Exc) { Program.WriteLine(Exc); }
EDIT: Works now with this code, follow those directions and your all set.