C# Class WeaponMelee, UnderworldExporter

Melee Weapons.
Inheritance: Weapon
ファイルを表示 Open project: hankmorgan/UnderworldExporter Class Usage Examples

Public Methods

Method Description
GetBash ( ) : int

Gets the bash base damage

GetDurability ( ) : int

Gets the durability of the weapon.

GetSkill ( ) : int

Gets the skill that this weapon uses

GetSlash ( ) : int

Gets the slash base damage

GetStab ( ) : int

Gets the stab damage

getMeleeBash ( ) : int

Gets the melee bash value

getMeleeSlash ( ) : int

Gets the melee slash value

getMeleeStab ( ) : int

Gets the melee stab value.

onHit ( GameObject target ) : void

Apply any possible magic effects when the weapon strikes.

Method Details

GetBash() public method

Gets the bash base damage
public GetBash ( ) : int
return int

GetDurability() public method

Gets the durability of the weapon.
public GetDurability ( ) : int
return int

GetSkill() public method

Gets the skill that this weapon uses
public GetSkill ( ) : int
return int

GetSlash() public method

Gets the slash base damage
public GetSlash ( ) : int
return int

GetStab() public method

Gets the stab damage
public GetStab ( ) : int
return int

getMeleeBash() public static method

Gets the melee bash value
public static getMeleeBash ( ) : int
return int

getMeleeSlash() public static method

Gets the melee slash value
public static getMeleeSlash ( ) : int
return int

getMeleeStab() public static method

Gets the melee stab value.
public static getMeleeStab ( ) : int
return int

onHit() public method

Apply any possible magic effects when the weapon strikes.
public onHit ( GameObject target ) : void
target GameObject The entity that is hit by the weapon
return void