This is Phoenix Gem Effect only, in my working source I have add all of them and its working fine now.
I will not tell you where to put this and how to complete all the gem effect, you have to figure it out.
I will not tell you where to put this and how to complete all the gem effect, you have to figure it out.
PHP Code:
public void CheckForSuperGems(Client.GameState client)
{
for (uint i = 1; i < 12; i++)
{
if (i != 7)
{
Interfaces.IConquerItem item = client.Equipment.TryGetItem(i);
if (item != null && item.ID != 0)
{
if (item.SocketOne != 0)
{
if (item.SocketOne == Enums.Gem.SuperPhoenixGem)
{
if (ServerBase.Kernel.Rate(3)) //this is where your chances when to display the phoenix gem effect
{
_String str = new _String(true);
str.UID = attacker.UID;
str.TextsCount = 1;
str.Type = _String.Effect;
str.Texts.Add("phoenix");
attacker.Owner.Screen.SendScreen(str, true);
}
}
}
}
}
}
}