More cast conversion fixes
This commit is contained in:
parent
3f45bd57b9
commit
aba9452161
46 changed files with 359 additions and 506 deletions
|
|
@ -169,17 +169,17 @@ namespace Server.Items
|
|||
|
||||
public override void OnRemoved(IEntity parent)
|
||||
{
|
||||
if ( Core.AOS && parent is Mobile @from )
|
||||
if ( Core.AOS && parent is Mobile from )
|
||||
{
|
||||
m_AosSkillBonuses.Remove();
|
||||
|
||||
string modName = this.Serial.ToString();
|
||||
|
||||
@from.RemoveStatMod( modName + "Str" );
|
||||
@from.RemoveStatMod( modName + "Dex" );
|
||||
@from.RemoveStatMod( modName + "Int" );
|
||||
from.RemoveStatMod( modName + "Str" );
|
||||
from.RemoveStatMod( modName + "Dex" );
|
||||
from.RemoveStatMod( modName + "Int" );
|
||||
|
||||
@from.CheckStatTimers();
|
||||
from.CheckStatTimers();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue