C# Class Server.Engines.Craft.DefAlchemy

Inheritance: CraftSystem
Datei anzeigen Open project: Grimoric/RunUO.T2A Class Usage Examples

Public Methods

Method Description
CanCraft ( Mobile from, BaseTool tool, Type itemType ) : int
GetChanceAtMin ( CraftItem item ) : double
InitCraftList ( ) : void
IsPotion ( Type type ) : bool
PlayCraftEffect ( Mobile from ) : void
PlayEndingEffect ( Mobile from, bool failed, bool lostMaterial, bool toolBroken, int quality, bool makersMark, CraftItem item ) : int

Private Methods

Method Description
DefAlchemy ( ) : System

Method Details

CanCraft() public method

public CanCraft ( Mobile from, BaseTool tool, Type itemType ) : int
from Mobile
tool Server.Items.BaseTool
itemType System.Type
return int

GetChanceAtMin() public method

public GetChanceAtMin ( CraftItem item ) : double
item CraftItem
return double

InitCraftList() public method

public InitCraftList ( ) : void
return void

IsPotion() public static method

public static IsPotion ( Type type ) : bool
type System.Type
return bool

PlayCraftEffect() public method

public PlayCraftEffect ( Mobile from ) : void
from Mobile
return void

PlayEndingEffect() public method

public PlayEndingEffect ( Mobile from, bool failed, bool lostMaterial, bool toolBroken, int quality, bool makersMark, CraftItem item ) : int
from Mobile
failed bool
lostMaterial bool
toolBroken bool
quality int
makersMark bool
item CraftItem
return int