C# Class MM2Randomizer.Randomizers.RWeaknesses

Inheritance: IRandomizer
ファイルを表示 Open project: duckfist/MM2Random Class Usage Examples

Public Properties

Property Type Description
BotWeaknesses ].int[
IsChaos bool
WilyWeaknessInfo ].char[
WilyWeaknesses ].int[

Public Methods

Method Description
RWeaknesses ( bool isChaos ) : System
Randomize ( Patch p, Random r ) : void
ToString ( ) : string

Private Methods

Method Description
GetRoboDamagePrimary ( Random r, EDmgVsBoss weapon ) : byte

Do 3 damage for high-ammo weapons, and ammo-damage + 1 for the others Time Stopper will always do 1 damage.

GetWeaponIndexFromAddress ( EDmgVsBoss weaponAddress ) : int
RandomizeJ ( Random r ) : void

Modify the damage values of each weapon against each Robot Master for Rockman 2 (J).

RandomizeU ( Patch Patch, Random r ) : void

Identical to RandomWeaknesses() but using Mega Man 2 (U).nes offsets

RandomizeWilyUJ ( Patch Patch, Random r ) : void

TODO

Method Details

RWeaknesses() public method

public RWeaknesses ( bool isChaos ) : System
isChaos bool
return System

Randomize() public method

public Randomize ( Patch p, Random r ) : void
p MM2Randomizer.Patcher.Patch
r System.Random
return void

ToString() public method

public ToString ( ) : string
return string

Property Details

BotWeaknesses public_oe static_oe property

public static int[,] BotWeaknesses
return ].int[

IsChaos public_oe static_oe property

public static bool IsChaos
return bool

WilyWeaknessInfo public_oe static_oe property

public static char[,] WilyWeaknessInfo
return ].char[

WilyWeaknesses public_oe static_oe property

public static int[,] WilyWeaknesses
return ].int[