List of Overridable Character Functions

NameHandlerOverrideDefault
updateupdateHandlerupdateOverride(dt:int):voidupdateDefault(dt:int):void
changeStatechangeStateHandlerchangeStateOverride(newState:int):voidchangeStateDefault(newState:int):void
attackattackHandlerattackOverride(attackData:AttackData):voidattackDefault(attackData:AttackData):void
clickAttackclickAttackHandlerclickAttackOverride(doesCostEnergy:Boolean = true):voidclickAttackDefault(doesCostEnergy:Boolean = true):void
autoAttackautoAttackHandlerautoAttackOverride():voidautoAttackDefault():void
onClickAttackonClickAttackHandleronClickAttackOverride():voidonClickAttackDefault():void
onTeleportAttackonTeleportAttackHandleronTeleportAttackOverride():voidonTeleportAttackDefault():void
onKilledMonsteronKilledMonsterHandleronKilledMonsterOverride(monster:Monster):voidonKilledMonsterDefault(monster:Monster):void
onZoneChangedonZoneChangedHandleronZoneChangedOverride(zoneNumber:int):voidonZoneChangedDefault(zoneNumber:int):void
onWorldFinishedonWorldFinishedHandleronWorldFinishedOverride():voidonWorldFinishedDefault():void
getCalculatedEnergyCostgetCalculatedEnergyCostHandlergetCalculatedEnergyCostOverride(skill:Skill):NumbergetCalculatedEnergyCostDefault(skill:Skill):Number
onAscensiononAscensionHandleronAscensionOverride():voidonAscensionDefault():void
addGoldaddGoldHandleraddGoldOverride(goldToAdd:BigNumber):voidaddGoldDefault(goldToAdd:BigNumber):void
addRubiesaddRubiesHandleraddRubiesOverride(rubiesToAdd:Number, type:String="", id:String=""):voidaddRubiesDefault(rubiesToAdd:Number, type:String="", id:String=""):void
regenerateManaAndEnergyregenerateManaAndEnergyHandlerregenerateManaAndEnergyOverride(time:Number):voidregenerateManaAndEnergyDefault(time:Number):void
addEnergyaddEnergyHandleraddEnergyOverride(amount:Number, showFloatingText:Boolean=true):voidaddEnergyDefault(amount:Number, showFloatingText:Boolean=true):void
addManaaddManaHandleraddManaOverride(amount:Number, showFloatingText:Boolean=true):voidaddManaDefault(amount:Number, showFloatingText:Boolean=true):void
canUseSkillcanUseSkillHandlercanUseSkillOverride(skill:Skill):BooleancanUseSkillDefault(skill:Skill):Boolean
onUsedSkillonUsedSkillHandleronUsedSkillOverride(skill:Skill):voidonUsedSkillDefault(skill:Skill):void
levelUpItemlevelUpItemHandlerlevelUpItemOverride(item:Item, amount:Number=1):voidlevelUpItemDefault(item:Item, amount:Number=1):void
buyNextItemBonusbuyNextItemBonusHandlerbuyNextItemBonusOverride(item:Item):voidbuyNextItemBonusDefault(item:Item):void
purchaseCatalogItempurchaseCatalogItemHandlerpurchaseCatalogItemOverride(index:int):voidpurchaseCatalogItemDefault(index:int):void
generateCataloggenerateCatalogHandlergenerateCatalogOverride():voidgenerateCatalogDefault():void
walkwalkHandlerwalkOverride(dt:Number):voidwalkDefault(dt:Number):void
shouldRubyShopActivateshouldRubyShopActivateHandlershouldRubyShopActivateOverride():BooleanshouldRubyShopActivateDefault():Boolean
shouldRubyShopDeactivateshouldRubyShopDeactivateHandlershouldRubyShopDeactivateOverride():BooleanshouldRubyShopDeactivateDefault():Boolean
populateRubyPurchaseOptionspopulateRubyPurchaseOptionsHandlerpopulateRubyPurchaseOptionsOverride():voidpopulateRubyPurchaseOptionsDefault():void
generateRubyShopgenerateRubyShopHandlergenerateRubyShopOverride():voidgenerateRubyShopDefault():void
updateRubyShopFieldsupdateRubyShopFieldsHandlerupdateRubyShopFieldsOverride(dt:int):voidupdateRubyShopFieldsDefault(dt:int):void
onMigrationonMigrationHandleronMigrationOverride(characterInstance:Character):voidonMigrationDefault(characterInstance:Character):void
isItemPanelUnlockedisItemPanelUnlockedHandlerisItemPanelUnlockedOverride():BooleanisItemPanelUnlockedDefault():Boolean
isGraphPanelUnlockedisGraphPanelUnlockedHandlerisGraphPanelUnlockedOverride():BooleanisGraphPanelUnlockedDefault():Boolean
isSkillPanelUnlockedisSkillPanelUnlockedHandlerisSkillPanelUnlockedOverride():BooleanisSkillPanelUnlockedDefault():Boolean
isAutomatorPanelUnlockedisAutomatorPanelUnlockedHandlerisAutomatorPanelUnlockedOverride():BooleanisAutomatorPanelUnlockedDefault():Boolean
isWorldsPanelUnlockedisWorldsPanelUnlockedHandlerisWorldsPanelUnlockedOverride():BooleanisWorldsPanelUnlockedDefault():Boolean
isMiscPanelUnlockedisMiscPanelUnlockedHandlerisMiscPanelUnlockedOverride():BooleanisMiscPanelUnlockedDefault():Boolean
shouldSlideInMainPanelForFirstTimeshouldSlideInMainPanelForFirstTimeHandlershouldSlideInMainPanelForFirstTimeOverride():BooleanshouldSlideInMainPanelForFirstTimeDefault():Boolean
onWorldStartedonWorldStartedHandleronWorldStartedOverride(worldNumber:Number):voidonWorldStartedDefault(worldNumber:Number):void
onCharacterLoadedonCharacterLoadedHandleronCharacterLoadedOverride():voidonCharacterLoadedDefault():void
onCharacterUnloadedonCharacterUnloadedHandleronCharacterUnloadedOverride():voidonCharacterUnloadedDefault():void
onCharacterDisplayCreatedonCharacterDisplayCreatedHandleronCharacterDisplayCreatedOverride(display:CharacterDisplay):voidonCharacterDisplayCreatedDefault(display:CharacterDisplay):void
triggerGlobalCooldowntriggerGlobalCooldownHandlertriggerGlobalCooldownOverride():voidtriggerGlobalCooldownDefault():void
unlockCharacterunlockCharacterHandlerunlockCharacterOverride():voidunlockCharacterDefault():void
onAutomatorUnlockedonAutomatorUnlockedHandleronAutomatorUnlockedOverride():voidonAutomatorUnlockedDefault():void
populateWorldEndAutomationOptionspopulateWorldEndAutomationOptionsHandlerpopulateWorldEndAutomationOptionsOverride():voidpopulateWorldEndAutomationOptionsDefault():void