BFME 2 - ROTWK Code Refence  1.0
SpellRechargeModifierUpgrade Class Reference

Public Attributes

Upgrades TriggeredBy
 
Upgrades ConflictsWith
 
Boolean RequiresAllTriggers
 
Boolean RequiresAllConflictingTriggers
 
AnimAndDuration CustomAnimAndDuration
 
Boolean Permanent
 
Percentage Percentage
 
Boolean StartsActive
 
String LabelForPalantirString
 
ObjectFilter ObjectFilter
 
Boolean UpgradeDiscount
 
Strings ApplyToTheseUpgrades
 
Boolean Slaughter
 

Detailed Description

Behavior = SpellRechargeModifierUpgrade ModuleTag_TheSpellRechargeModifierUpgrade

;L01E97D40:    
TriggeredBy = Upgrade_ElvenGift Upgrade_RohanFireArrows; L00BE9600: List of Upgrades //Must have these upgrades
ConflictsWith = Upgrade_TheodenKingsFavor Upgrade_TheodenLeadership; L00BE9600: List of Upgrades //May not have these upgrades
RequiresAllTriggers = Yes; SUB_L006D3400:Boolean //All "TriggeredBy" Upgrades required! (meaning that if only one is present the module is not active)
RequiresAllConflictingTriggers = Yes; SUB_L006D3400:Boolean //All "ConflictsWith" Upgrades required! (meaning that if only one is present the module is not 'disabled')
CustomAnimAndDuration = AnimState : USER_3 AnimTime : 0 TriggerTime : 0; L010ED8E0: Animation State - Time - Delay // Animtime:0 = set flag forever
Permanent = Yes; SUB_L006D3400:Boolean //For ever... and ever... and ever, even if the upgrades are lost...
; L01F53428:   
Percentage = -25 % ; L012524F0:Percentage //Multiple allowed //First for owning 1 object, second for owning 2 objects etc.
StartsActive = Yes; SUB_L006D3400:Boolean
LabelForPalantirString = GUI : SpellBookRefreshReduction; SUB_L006D4C30:String(Text Entry)

End

Behavior = SpellRechargeModifierUpgrade ModuleTag_TheSpellRechargeModifierUpgrade

;L01E97D40:    
TriggeredBy = Upgrade_ElvenGift Upgrade_RohanFireArrows; L00BE9600: List of Upgrades //Must have these upgrades
ConflictsWith = Upgrade_TheodenKingsFavor Upgrade_TheodenLeadership; L00BE9600: List of Upgrades //May not have these upgrades
RequiresAllTriggers = Yes; SUB_L006D3400:Boolean //All "TriggeredBy" Upgrades required! (meaning that if only one is present the module is not active)
RequiresAllConflictingTriggers = Yes; SUB_L006D3400:Boolean //All "ConflictsWith" Upgrades required! (meaning that if only one is present the module is not 'disabled')
CustomAnimAndDuration = AnimState : USER_3 AnimTime : 0 TriggerTime : 0; L010ED8E0: Animation State - Time - Delay // Animtime:0 = set flag forever
Permanent = Yes; SUB_L006D3400:Boolean //For ever... and ever... and ever, even if the upgrades are lost...
; L01F531D0:   
ObjectFilter = ANY + STRUCTURE; SUB_L00EDCA00:Object Filter
Percentage = -25 % ; L01251CE0:Percentage //First for owning 1 object, second for owning 2 objects etc.
UpgradeDiscount = Yes; SUB_L006D3400:Boolean
ApplyToTheseUpgrades = Upgrade_ElvenGift; SUB_L006D4CF0:List of Strings(Upgrade)
StartsActive = Yes; SUB_L006D3400:Boolean
Slaughter = Yes; SUB_L006D3400:Boolean
LabelForPalantirString = GUI : Text; SUB_L006D4C30:String(Text Entry)

End

Member Data Documentation

◆ TriggeredBy

Upgrades TriggeredBy

List of Upgrades
Must have these upgrades

◆ ConflictsWith

Upgrades ConflictsWith

List of Upgrades
May not have these upgrades

◆ RequiresAllTriggers

Boolean RequiresAllTriggers

All "TriggeredBy" Upgrades required! (meaning that if only one is present the module is not active)

◆ RequiresAllConflictingTriggers

Boolean RequiresAllConflictingTriggers

All "ConflictsWith" Upgrades required! (meaning that if only one is present the module is not 'disabled')

◆ CustomAnimAndDuration

AnimAndDuration CustomAnimAndDuration

Animation State - Time - Delay
Animtime:0 = set flag forever

◆ Permanent

Boolean Permanent

For ever... and ever... and ever, even if the upgrades are lost...

◆ Percentage

Multiple allowed. First for owning 1 object, second for owning 2 objects etc.

◆ LabelForPalantirString

String LabelForPalantirString

String(Text Entry)

◆ ApplyToTheseUpgrades

Strings ApplyToTheseUpgrades

List of Strings(Upgrade)