ORK Framework  2.25.2
API Documentation
ORKFramework.StealChance Class Reference
Inheritance diagram for ORKFramework.StealChance:
ORKFramework.BaseData ORKFramework.IBaseData

Public Member Functions

void Steal (Combatant user, Combatant target, VariableHandler localVariables, SelectedDataHandler selectedData)
 
- Public Member Functions inherited from ORKFramework.BaseData
virtual DataObject GetData ()
 Gets a ORKFramework.DataObject representing the class. More...
 
virtual void SetData (DataObject data)
 Sets the variables of the class using a ORKFramework.DataObject. More...
 
virtual void EditorAutoSetup (string fieldName)
 Called for all fields using the autoSetup option of the ORKFramework.ORKEditorLayoutAttribute. More...
 

Public Attributes

bool stealItem = false
 
FloatValue itemChance
 
float itemBonus = 0
 
bool fixItem = false
 
ItemDropTypeSimple itemType = ItemDropTypeSimple.Item
 
int itemID = 0
 
bool stealMoney = false
 
FloatValue moneyChance
 
float moneyBonus = 0
 
int currencyID = 0
 
bool fixMoney = false
 
int money = 0