if you dont know...
First, Create a File BlessEffect.cs In Extra Folder of Your Source, And Paste This in there,
Code:
using System;
using System.Collections.Generic;
using System.Text;
namespace NewestCOServer.Extra
{
public class BlessEffect
{
public static void Handler(Main.GameClient GC)
{
byte bless1 = 0;
byte bless3 = 0;
byte bless5 = 0;
byte bless7 = 0;
for (byte i = 1; i < 12; i++)
{
if (i != 7)
{
Game.Item I = (Game.Item)GC.MyChar.Equips.Get(i);
if (I.Bless == 1)
bless1++;
if (I.Bless == 3)
bless3++;
if (I.Bless == 5)
bless5++;
if (I.Bless == 7)
bless7++;
}
}
#region Check for bless 7
if (bless7 > bless5 && bless7 > bless3 && bless7 > bless1)
{
if (MyMath.ChanceSuccess(10)) { Game.World.Action(GC.MyChar, Packets.String(GC.MyChar.EntityID, 10, "Aegis4").Get); }
}
#endregion
#region Check for bless 5
else if (bless5 > bless7 && bless5 > bless3 && bless5 > bless1)
{
if (MyMath.ChanceSuccess(10)) { Game.World.Action(GC.MyChar, Packets.String(GC.MyChar.EntityID, 10, "Aegis3").Get); }
goto end;
}
#endregion
#region Check for bless 3
else if (bless3 > bless7 && bless3 > bless5 && bless3 > bless1)
{
if (MyMath.ChanceSuccess(10)) { Game.World.Action(GC.MyChar, Packets.String(GC.MyChar.EntityID, 10, "Aegis2").Get); }
goto end;
}
#endregion
#region Check for bless 1
else if (bless1 > bless7 && bless1 > bless5 && bless1 > bless3)
{
if (MyMath.ChanceSuccess(10)) { Game.World.Action(GC.MyChar, Packets.String(GC.MyChar.EntityID, 10, "Aegis1").Get); }
goto end;
}
#endregion
end:
//Console.WriteLine("This");
return;
}
}
}
Then Go to Character.cs Search for
Code:
public void TakeAttack(Companion Attacker, uint Damage, AttackType AT)
{
if (Damage != 0)
{
Code:
Extra.BlessEffect.Handler(MyClient);
Code:
public void TakeAttack(Character Attacker, uint Damage, AttackType AT, bool IsSkill)
{
if (Alive)
{
Code:
Extra.BlessEffect.Handler(MyClient);
Code:
public void TakeAttack(Mob Attacker, uint Damage, AttackType AT)
{
if (Damage != 0)
{
Code:
Extra.BlessEffect.Handler(MyClient);
Code:
if (MyMath.ChanceSuccess([COLOR="Red"]10[/COLOR]))






