Package kamkeel.npcdbc.api.form
Interface IFormKaiokenStackables
-
public interface IFormKaiokenStackables
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description floatgetKaioDrain()floatgetKaiokenAttributeMulti(int state2)floatgetKaiokenMultiScalar()state2Multi * mutliScalaris the final attribute multiplier.floatgetKaioState2Balance(int state2, boolean strained)booleanisMultiplyingCurrentFormDrain()booleanisUsingGlobalAttributeMultis()voidsetKaioDrain(float drain)voidsetKaiokenAttributeMulti(int state2, float multi)voidsetKaiokenMultiScalar(float scalar)state2Multi * mutliScalaris the final drain.voidsetKaioState2Balance(int state2, boolean strained, float value)voidsetMultiplyingCurrentFormDrain(boolean isOn)false- disables advanced configs.voidsetUsingGlobalAttributeMultis(boolean isUsing)
-
-
-
Method Detail
-
setKaioDrain
void setKaioDrain(float drain)
-
getKaioDrain
float getKaioDrain()
-
setMultiplyingCurrentFormDrain
void setMultiplyingCurrentFormDrain(boolean isOn)
false- disables advanced configs.
true- enables advanced configs.
Normal configs multiply the current form's kaioken drain (For example, if base form normally drains 20 HP per tick, and the
globalMultiis 5, the drain in now 20x5 = 100)
Advanced configs replace the current DBC forms kaioken balance values,
globalMultiis simply just a scalar value.- Parameters:
isOn- true or false
-
isMultiplyingCurrentFormDrain
boolean isMultiplyingCurrentFormDrain()
- Returns:
- True if using advanced configs.
-
setKaioState2Balance
void setKaioState2Balance(int state2, boolean strained, float value)- Parameters:
state2- 0 - Lowest kaioken state (Ex. Kaioken x2), 5 - highest kaioken statestrained- if true, edit the drain value while strainedvalue- new state specific multi.
-
getKaioState2Balance
float getKaioState2Balance(int state2, boolean strained)- Parameters:
state2- 0 - Lowest kaioken state (Ex. Kaioken x2), 5 - highest kaioken statestrained- if true, gets the drain value while strained- Returns:
- State specific drain multi
-
getKaiokenAttributeMulti
float getKaiokenAttributeMulti(int state2)
- Parameters:
state2- 0 - Lowest kaioken state (Ex. Kaioken x2), 5 - highest kaioken state- Returns:
- The current attribute multiplier for that state.
-
getKaiokenMultiScalar
float getKaiokenMultiScalar()
state2Multi * mutliScalaris the final attribute multiplier.- Returns:
- multiScalar
-
setKaiokenAttributeMulti
void setKaiokenAttributeMulti(int state2, float multi)- Parameters:
state2- 0 - Lowest kaioken state (Ex. Kaioken x2), 5 - highest kaioken statemulti- Multi for this current state
-
setKaiokenMultiScalar
void setKaiokenMultiScalar(float scalar)
state2Multi * mutliScalaris the final drain.- Parameters:
scalar- How much to scale the multi
-
isUsingGlobalAttributeMultis
boolean isUsingGlobalAttributeMultis()
- Returns:
- If this is using normal Kaioken multis (defined in
jinryuujrmcore.cfg)
-
setUsingGlobalAttributeMultis
void setUsingGlobalAttributeMultis(boolean isUsing)
- Parameters:
isUsing- If this form should use global Kaioken multis (defined injinryuujrmcore.cfg)
-
-