Adicionar Benefícios a vip (Attack + Defenc + Magic)
Página 1 de 1
Adicionar Benefícios a vip (Attack + Defenc + Magic)
Em GameClient ou Gamestate
Procure por if (this.Entity.VIPLevel == 6) e adicione
Procure por if (this.Entity.VIPLevel == 6) e adicione
- Código:
if (this.Entity.VIPLevel == 6)
{
this.Entity.MaxAttack += 2000u;
this.Entity.MinAttack += 2000u;
this.Entity.MagicAttack += 2000u;
Entity expr_1950 = this.Entity;
expr_1950.Defence += 2000;
}
if (refineStats != null)
{
switch (refineStats.Type)
{
case Refinery.RefineryItem.RefineryType.Critical:
this.Entity.CriticalStrike = (ushort)(this.Entity.CriticalStrike + ((ushort)((refineStats.Percent * 100) + 0x3e8)));
break;
case Refinery.RefineryItem.RefineryType.SCritical:
this.Entity.SkillCStrike = (ushort)(this.Entity.SkillCStrike + ((ushort)(refineStats.Percent * 100)));
break;
case Refinery.RefineryItem.RefineryType.Immunity:
this.Entity.Immunity = (ushort)(this.Entity.Immunity + ((ushort)(refineStats.Percent * 100)));
break;
case Refinery.RefineryItem.RefineryType.BreakThrough:
this.Entity.Breaktrough = (ushort)(this.Entity.Breaktrough + ((ushort)((refineStats.Percent * 10) + 100)));
break;
case Refinery.RefineryItem.RefineryType.Counteraction:
this.Entity.Counteraction = (ushort)(this.Entity.Counteraction + ((ushort)(refineStats.Percent * 10)));
break;
case Refinery.RefineryItem.RefineryType.Detoxication:
this.Entity.Detoxication = (ushort)(this.Entity.Detoxication + ((ushort)refineStats.Percent));
break;
case Refinery.RefineryItem.RefineryType.Block:
this.Entity.Block = (ushort)(this.Entity.Block + ((ushort)(refineStats.Percent * 100)));
break;
case Refinery.RefineryItem.RefineryType.Penetration:
this.Entity.Penetration = (ushort)(this.Entity.Penetration + ((ushort)(refineStats.Percent * 100)));
break;
case Refinery.RefineryItem.RefineryType.Intensification:
this.Entity.Intensification = (ushort)(this.Entity.Intensification + ((ushort)refineStats.Percent));
break;
}
}
Tópicos semelhantes
» Como Adicionar um Npc
» onde regula o attack melee
» Conquer Attack Tq 99.9% - Ataques da gems 100% ... Não tem o novo ataque do Ninja 'epic''
» Como adicionar as Wings 100%
» Como fixar o triple attack do monk!
» onde regula o attack melee
» Conquer Attack Tq 99.9% - Ataques da gems 100% ... Não tem o novo ataque do Ninja 'epic''
» Como adicionar as Wings 100%
» Como fixar o triple attack do monk!
Página 1 de 1
Permissões neste sub-fórum
Não podes responder a tópicos
|
|