C# Class MerchantRPG.Data.ItemTemplate

显示文件 Open project: subchannel13/MerchantRPG-combinator Class Usage Examples

Public Properties

Property Type Description
Accuracy double
Attack double
CriticalRate double
Defense double
Dexterity double
HP double
Intelligence double
Level int
MagicAttack double
MagicDefense double
Name string
Slot ItemSlot
Stereotype ItemStereotype
Strength double

Public Methods

Method Description
ItemTemplate ( string name, int level, ItemSlot slot, ItemStereotype stereotype, double attack, double magicAttack, double accuracy, double criticalRate, double defense, double magicDefense, double strength, double intelligence, double dexterity, double hp ) : System
Make ( double roll ) : Item

Private Methods

Method Description
statFunc ( double baseValue, double perLevelValue, double roll ) : double

Method Details

ItemTemplate() public method

public ItemTemplate ( string name, int level, ItemSlot slot, ItemStereotype stereotype, double attack, double magicAttack, double accuracy, double criticalRate, double defense, double magicDefense, double strength, double intelligence, double dexterity, double hp ) : System
name string
level int
slot ItemSlot
stereotype ItemStereotype
attack double
magicAttack double
accuracy double
criticalRate double
defense double
magicDefense double
strength double
intelligence double
dexterity double
hp double
return System

Make() public method

public Make ( double roll ) : Item
roll double
return Item

Property Details

Accuracy public_oe property

public double Accuracy
return double

Attack public_oe property

public double Attack
return double

CriticalRate public_oe property

public double CriticalRate
return double

Defense public_oe property

public double Defense
return double

Dexterity public_oe property

public double Dexterity
return double

HP public_oe property

public double HP
return double

Intelligence public_oe property

public double Intelligence
return double

Level public_oe property

public int Level
return int

MagicAttack public_oe property

public double MagicAttack
return double

MagicDefense public_oe property

public double MagicDefense
return double

Name public_oe property

public string Name
return string

Slot public_oe property

public ItemSlot Slot
return ItemSlot

Stereotype public_oe property

public ItemStereotype,MerchantRPG.Data Stereotype
return ItemStereotype

Strength public_oe property

public double Strength
return double