Where at this Code

08/07/2012 03:54 magnon#1
i have bug at my server the phoenix Gem give Defence for player anyone tell me where the problem
Code:
 public void GemAlgorithm()
        {
            this.Entity.MaxAttack = this.Entity.Strength + this.Entity.BaseMaxAttack;
            this.Entity.MinAttack = this.Entity.Strength + this.Entity.BaseMinAttack;
            this.Entity.MagicAttack = this.Entity.BaseMagicAttack;
            if (this.Entity.PhoenixGem != 0)
            {
                this.Entity.MagicAttack += (uint)Math.Floor((double)(this.Entity.MagicAttack * (this.Entity.PhoenixGem * 0.01)));
            }
            if (this.Entity.DragonGem != 0)
            {
                this.Entity.MaxAttack += (uint)Math.Floor((double)(this.Entity.MaxAttack * (this.Entity.DragonGem * 0.01)));
                this.Entity.MinAttack += (uint)Math.Floor((double)(this.Entity.MinAttack * (this.Entity.DragonGem * 0.01)));
            }
        }
or this code

Code:
public ushort TransformationDefence
        {
            get
            {
                if (this.ContainsFlag(0x100L))
                {
                    if (this.ShieldTime > 0)
                    {
                        return (ushort)(this._TransPhysicalDefence * this.ShieldIncrease);
                    }
                    return (ushort)(this._TransPhysicalDefence * this.MagicShieldIncrease);
                }
                return (ushort)this._TransPhysicalDefence;
            }
            set
            {
                this._TransPhysicalDefence = value;
            }
        }
08/07/2012 05:16 shadowman123#2
Nah they Are working fine and coded Properly .. the Bug isnt in these voids very high probability in loading Item Stats itself
08/07/2012 05:38 magnon#3
Quote:
Originally Posted by shadowman123 View Post
Nah they Are working fine and coded Properly .. the Bug isnt in these voids very high probability in loading Item Stats itself
thanks for replay but can u tell me where i can search for this bug
08/07/2012 07:10 Spirited#4
Quote:
Originally Posted by magnon View Post
thanks for replay but can u tell me where i can search for this bug
He just did :facepalm:
08/07/2012 15:43 shadowman123#5
Quote:
Originally Posted by shadowman123 View Post
Nah they Are working fine and coded Properly .. the Bug isnt in these voids very high probability in loading Item Stats itself
Quote:
Originally Posted by magnon View Post
thanks for replay but can u tell me where i can search for this bug
y u guyz dont read carefuly what we just post ... Still didnt know where is the bug ?
08/07/2012 17:22 magnon#6
Quote:
Originally Posted by shadowman123 View Post
y u guyz dont read carefuly what we just post ... Still didnt know where is the bug ?
Nope if i know i never ask
08/07/2012 17:28 shadowman123#7
Quote:
Originally Posted by magnon View Post
Nope if i know i never ask
you seems to be DumbAss and pretty Lost ... cuz i already answered u Multiple times and u still didnt get it