com.GameInterface.SpellBase

com.GameInterface.SpellBase
Summary
com.GameInterface.SpellBase
Variables
m_SpellListAssociavite array of all the spells the player has.
m_PassivesListMembers are of type PassiveData
Functions
EquipPassiveAbilityEquip a passive ability in a given slot
UnequipPassiveAbilityUnequip a passive ability in a given slot
MovePassiveAbilityMoves a passive ability between two slots
GetPassiveAbilityGets the passive ability equipped on a given slot
EnterPassiveModeGets the passive ability equipped on a given slot
ExitPassiveModeGets the passive ability equipped on a given slot
CancelBuffCancels a specific buff
IsTokenState
IsPassiveEquipped
GetSpellDescription
GetSpellData
GetBuffData
GetStat
GetSpellShortDescription
GetSpellStaticDescription
SummonPetFromTag
SummonMountFromTag
CastTeleportFromTag
CastEmoteFromTag
ActivateNotification
Variables
SignalSpellUpdateSignal sent when the spell list is updated from server.
SignalSpellLearnedSignal sent when a new spell has been learned.
SignalSpellForgottenSignal sent when a spell has been removed.
SignalPassiveUpdateSignal sent when the passives list is updated from server.
SignalPassiveLearnedSignal sent when a new spell has been learned.
SignalPassiveForgottenSignal sent when a spell has been removed.
SignalPassiveAdded
SignalPassiveRemoved
SignalSpellbookReceived

Variables

m_SpellList

public static var m_SpellList: Object

Associavite array of all the spells the player has.  This object is supposed to be const, but that is not supported in actionscript.  This list will be kept in sync by gamecode.  You will get signals when the state of the list changes.  Members are of type SpellData

m_PassivesList

public static var m_PassivesList: Object

Members are of type PassiveData

Functions

EquipPassiveAbility

public static function EquipPassiveAbility(abilityPos: Number,
abilityId: Number) : Void

Equip a passive ability in a given slot

Parameters

abilityPos:Number The position on the bar.
abilityId:Number The ability to auto add.

UnequipPassiveAbility

public static function UnequipPassiveAbility(abilityPos: Number) : Void

Unequip a passive ability in a given slot

Parameters

abilityPos:Number The position on the bar.

MovePassiveAbility

public static function MovePassiveAbility(fromPos: Number,
toPos: Number) : Void

Moves a passive ability between two slots

Parameters

fromPos:Number The slot to move it from.
toPos:Number The slot to move it to.

GetPassiveAbility

public static function GetPassiveAbility(abilityPos: Number) : Number

Gets the passive ability equipped on a given slot

Parameters

abilityPos:Number The slot number.

EnterPassiveMode

public static function EnterPassiveMode() : Void

Gets the passive ability equipped on a given slot

Parameters

abilityPos:Number The slot number.

ExitPassiveMode

public static function ExitPassiveMode() : Void

Gets the passive ability equipped on a given slot

Parameters

abilityPos:Number The slot number.

CancelBuff

public static function CancelBuff(buffID: Number,
casterID: Number) : Void

Cancels a specific buff

Parameters

buffId:Number The buffid.

IsTokenState

public static function IsTokenState(templateID: Number)

IsPassiveEquipped

public static function IsPassiveEquipped(spellId: Number):Boolean

GetSpellDescription

public static function GetSpellDescription(spellID: Number):String

GetSpellData

public static function GetSpellData(spellID: Number):com.GameInterface.SpellData

GetBuffData

public static function GetBuffData(
   spellID: Number
):com.GameInterface.Game.BuffData

GetStat

public static function GetStat(spellID: Number,
statID: Number):Number

GetSpellShortDescription

public static function GetSpellShortDescription(spellID: Number):String

GetSpellStaticDescription

public static function GetSpellStaticDescription(spellID: Number):String

SummonPetFromTag

public static function SummonPetFromTag(tagId: Number):Boolean

SummonMountFromTag

public static function SummonMountFromTag(tagId: Number):Void

CastTeleportFromTag

public static function CastTeleportFromTag(tagId: Number):Void

CastEmoteFromTag

public static function CastEmoteFromTag(tagId: Number):Void

ActivateNotification

public static function ActivateNotification(notificationID: Number):Void

Variables

SignalSpellUpdate

public static var SignalSpellUpdate: Signal

Signal sent when the spell list is updated from server. m_SpellList will now contain all your spells.

SignalSpellLearned

public static var SignalSpellLearned: Signal

Signal sent when a new spell has been learned. m_SpellList will now contain the id.

SignalSpellForgotten

public static var SignalSpellForgotten: Signal

Signal sent when a spell has been removed. m_SpellList will no longer contain the id.

SignalPassiveUpdate

public static var SignalPassiveUpdate: Signal

Signal sent when the passives list is updated from server. m_PassivesList will now contain all your spells.

SignalPassiveLearned

public static var SignalPassiveLearned: Signal

Signal sent when a new spell has been learned. m_PassivesList will now contain the id.

SignalPassiveForgotten

public static var SignalPassiveForgotten: Signal

Signal sent when a spell has been removed. m_PassivesList will no longer contain the id.

SignalPassiveAdded

public static var SignalPassiveAdded: Signal

SignalPassiveRemoved

public static var SignalPassiveRemoved: Signal

SignalSpellbookReceived

public static var SignalSpellbookReceived: Signal
public static var m_SpellList: Object
Associavite array of all the spells the player has.
public static var m_PassivesList: Object
Members are of type PassiveData
public static function EquipPassiveAbility(abilityPos: Number,
abilityId: Number) : Void
Equip a passive ability in a given slot
public static function UnequipPassiveAbility(abilityPos: Number) : Void
Unequip a passive ability in a given slot
public static function MovePassiveAbility(fromPos: Number,
toPos: Number) : Void
Moves a passive ability between two slots
public static function GetPassiveAbility(abilityPos: Number) : Number
Gets the passive ability equipped on a given slot
public static function EnterPassiveMode() : Void
Gets the passive ability equipped on a given slot
public static function ExitPassiveMode() : Void
Gets the passive ability equipped on a given slot
public static function CancelBuff(buffID: Number,
casterID: Number) : Void
Cancels a specific buff
public static function IsTokenState(templateID: Number)
public static function IsPassiveEquipped(spellId: Number):Boolean
public static function GetSpellDescription(spellID: Number):String
public static function GetSpellData(spellID: Number):com.GameInterface.SpellData
public static function GetBuffData(
   spellID: Number
):com.GameInterface.Game.BuffData
public static function GetStat(spellID: Number,
statID: Number):Number
public static function GetSpellShortDescription(spellID: Number):String
public static function GetSpellStaticDescription(spellID: Number):String
public static function SummonPetFromTag(tagId: Number):Boolean
public static function SummonMountFromTag(tagId: Number):Void
public static function CastTeleportFromTag(tagId: Number):Void
public static function CastEmoteFromTag(tagId: Number):Void
public static function ActivateNotification(notificationID: Number):Void
public static var SignalSpellUpdate: Signal
Signal sent when the spell list is updated from server.
public static var SignalSpellLearned: Signal
Signal sent when a new spell has been learned.
public static var SignalSpellForgotten: Signal
Signal sent when a spell has been removed.
public static var SignalPassiveUpdate: Signal
Signal sent when the passives list is updated from server.
public static var SignalPassiveLearned: Signal
Signal sent when a new spell has been learned.
public static var SignalPassiveForgotten: Signal
Signal sent when a spell has been removed.
public static var SignalPassiveAdded: Signal
public static var SignalPassiveRemoved: Signal
public static var SignalSpellbookReceived: Signal
Close