Battle Talent  V11
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | List of all members
CrossLink.DynamicModifierConfig Class Reference

Inherits Sirenix.OdinInspector.SerializedScriptableObject.

Public Member Functions

int CalcShownModifiersCount ()
 
void RefreshData ()
 

Static Public Member Functions

static DynamicModifierConfig GetConfig ()
 
static void SetItemConfigPrefix ()
 
static void SetGlobalConfigPrefix ()
 
static void Reset ()
 
static void SetGlobalEnabled (bool e)
 
static DynamicModifier GetMod (string name)
 
static float GetValue (string modifierName)
 
static bool IsUnlocked (string modifierName)
 
static bool IsEnabled (string modifierName)
 
static bool IsEnabled (CombatAttr attr, string modifierName)
 
static bool IsEnabledAndPullValue (CombatAttr attr, string modifierName)
 the grammar of modifier name [Target_Active_Meaning_ValueType] target: Role, Player, Npc active: apply(leave out), receive(Re) value type: Rate(0-1), multipiler(Mlp)(0-10), value(Value), enabled(En), int(Count) More...
 
static bool IsOpUnlocked (string name)
 
static bool ApplyModifierOperation (string name, bool apply)
 

Public Attributes

Dictionary< string, DynamicModifiermodifiers = new Dictionary<string, DynamicModifier>()
 
Dictionary< string, ModifierOperationoperations = new Dictionary<string, ModifierOperation>()
 

Static Public Attributes

static string itemConfigPrefix = ""
 
static string globalConfigPrefix = ""
 
static bool GlobalEnabled = false
 enabled means read value from here first, if disabled this value, doesn't mean all value got disabled More...
 
const float Invalid = -88888888f
 
static float PulledValue = -1
 

Member Function Documentation

◆ IsEnabledAndPullValue()

static bool CrossLink.DynamicModifierConfig.IsEnabledAndPullValue ( CombatAttr  attr,
string  modifierName 
)
static

the grammar of modifier name [Target_Active_Meaning_ValueType] target: Role, Player, Npc active: apply(leave out), receive(Re) value type: Rate(0-1), multipiler(Mlp)(0-10), value(Value), enabled(En), int(Count)

Parameters
attr
modifierName
Returns

Member Data Documentation

◆ GlobalEnabled

bool CrossLink.DynamicModifierConfig.GlobalEnabled = false
static

enabled means read value from here first, if disabled this value, doesn't mean all value got disabled