C# Class Server.Engines.Craft.Repair.InternalTarget

Inheritance: Server.Targeting.Target
Mostra file Open project: Grimoric/RunUO.T2A

Public Methods

Method Description
InternalTarget ( CraftSystem craftSystem, BaseTool tool ) : System
InternalTarget ( CraftSystem craftSystem, RepairDeed deed ) : System

Protected Methods

Method Description
OnTarget ( Server.Mobile from, object targeted ) : void

Private Methods

Method Description
CheckDeed ( Server.Mobile from ) : bool
CheckRepairDifficulty ( Server.Mobile mob, SkillName skill, int curHits, int maxHits ) : bool
CheckWeaken ( Server.Mobile mob, SkillName skill, int curHits, int maxHits ) : bool
GetRepairDifficulty ( int curHits, int maxHits ) : int
GetWeakenChance ( Server.Mobile mob, SkillName skill, int curHits, int maxHits ) : int
IsSpecialClothing ( BaseClothing clothing ) : bool
IsSpecialWeapon ( BaseWeapon weapon ) : bool

Method Details

InternalTarget() public method

public InternalTarget ( CraftSystem craftSystem, BaseTool tool ) : System
craftSystem CraftSystem
tool Server.Items.BaseTool
return System

InternalTarget() public method

public InternalTarget ( CraftSystem craftSystem, RepairDeed deed ) : System
craftSystem CraftSystem
deed Server.Items.RepairDeed
return System

OnTarget() protected method

protected OnTarget ( Server.Mobile from, object targeted ) : void
from Server.Mobile
targeted object
return void