|
LimitedLuckyControllerT Constructor |
Constructor.
Namespace: JLChnToZ.LuckyPlayerAssembly: LuckyPlayer (in LuckyPlayer.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public LimitedLuckyController(
double rare,
int initialAmount = 1,
double baseRarity = 1
)
Public Sub New (
rare As Double,
Optional initialAmount As Integer = 1,
Optional baseRarity As Double = 1
)
public:
LimitedLuckyController(
double rare,
int initialAmount = 1,
double baseRarity = 1
)
new :
rare : float *
?initialAmount : int *
?baseRarity : float
(* Defaults:
let _initialAmount = defaultArg initialAmount 1
let _baseRarity = defaultArg baseRarity 1
*)
-> LimitedLuckyController
Parameters
- rare
- Type: SystemDouble
The rarity which will affects the player's luckyness. - initialAmount (Optional)
- Type: SystemInt32
How many of the item initially have? - baseRarity (Optional)
- Type: SystemDouble
Alterable rarity value
See Also