Removes implicit this.
This commit is contained in:
parent
04b4cfe75b
commit
83dcf536d8
533 changed files with 2804 additions and 2806 deletions
|
|
@ -45,7 +45,7 @@ namespace Server.Items
|
|||
{
|
||||
get
|
||||
{
|
||||
Mobile m = this.Parent as Mobile;
|
||||
Mobile m = Parent as Mobile;
|
||||
double ar = base.ArmorRating;
|
||||
|
||||
if ( m != null )
|
||||
|
|
@ -114,7 +114,7 @@ namespace Server.Items
|
|||
if ( !(Parent is Mobile owner) )
|
||||
return damage;
|
||||
|
||||
double ar = this.ArmorRating;
|
||||
double ar = ArmorRating;
|
||||
double chance = (owner.Skills[SkillName.Parry].Value - (ar * 2.0)) / 100.0;
|
||||
|
||||
if ( chance < 0.01 )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue