Who can help me with refineries?

06/03/2012 15:54 Sp!!ke#1
I got a problem with breakthrough , last night I figure my refineries system but I can't send breakthrough if any can tell me what I'm wrong reply...


Code:
  public enum AttackEffects1 : byte
        {
            None = 0x0,
            Block = 0x1,
            Penetration = 0x2,
            CriticalStrike = 0x4,
            Breakthrough = 0x8,
            MetalResist = 0x10,
            WoodResist = 0x20,
            WaterResist = 0x40,
            FireResist = 0x80,
        }
Code:
Breakthrough = 2,
Code:
if (Game.Entity.ChanceSuccess((float)attacker.Breaktrough / 100f))
            {
                if (attacker.BattlePower < attacked.BattlePower)
                {
                    Packet.Effect1 |= Attack.AttackEffects1.Penetration;
                    Damage = (Int32)attacker.MaxAttack;
                }
            }
what's wrong ?


#PROBLEM SOLVED , IMPULSE EXPLAIN ME EVERYTHING , thank you impulse :)

#request close