Dawn of Light - Class documentation 2900
This is the Dawn of Light project
DOL.GS.Ability Class Reference

the ability class nontrainable abilities have level 0 trainable abilities have level > 0, level is displayed in roman numbers More...

Inheritance diagram for DOL.GS.Ability:
DOL.GS.NamedSkill DOL.GS.Skill DOL.GS.PropertyChangingAbility DOL.GS.RealmAbilities.RealmAbility DOL.GS.SkillHandler.PropertyChangingAbility DOL.GS.RealmAbilities.L5RealmAbility DOL.GS.RealmAbilities.TimedRealmAbility DOL.GS.SkillHandler.StatChangingAbility DOL.GS.RealmAbilities.RAPropertyEnhancer DOL.GS.RealmAbilities.RAStatEnhancer DOL.GS.RealmAbilities.AdrenalineRushAbility DOL.GS.RealmAbilities.AmelioratingMelodiesAbility DOL.GS.RealmAbilities.AngerOfTheGodsAbility DOL.GS.RealmAbilities.ArrowSummoningAbility DOL.GS.RealmAbilities.BarrierOfFortitudeAbility DOL.GS.RealmAbilities.BedazzlingAuraAbility DOL.GS.RealmAbilities.ChargeAbility DOL.GS.RealmAbilities.ConcentrationAbility DOL.GS.RealmAbilities.DashingDefenseAbility DOL.GS.RealmAbilities.DecimationTrapAbility DOL.GS.RealmAbilities.DivineInterventionAbility DOL.GS.RealmAbilities.FirstAidAbility DOL.GS.RealmAbilities.IchorOfTheDeepAbility DOL.GS.RealmAbilities.IgnorePainAbility DOL.GS.RealmAbilities.JuggernautAbility DOL.GS.RealmAbilities.MasteryofConcentrationAbility DOL.GS.RealmAbilities.MysticCrystalLoreAbility DOL.GS.RealmAbilities.NegativeMaelstromAbility DOL.GS.RealmAbilities.PerfectRecoveryAbility DOL.GS.RealmAbilities.PurgeAbility DOL.GS.RealmAbilities.RagingPowerAbility DOL.GS.RealmAbilities.RR5RealmAbility DOL.GS.RealmAbilities.SecondWindAbility DOL.GS.RealmAbilities.SoldiersBarricadeAbility DOL.GS.RealmAbilities.SpeedOfSoundAbility DOL.GS.RealmAbilities.StaticTempestAbility DOL.GS.RealmAbilities.StrikePredictionAbility DOL.GS.RealmAbilities.TheEmptyMindAbility DOL.GS.RealmAbilities.ThornweedFieldAbility DOL.GS.RealmAbilities.TrueshotAbility DOL.GS.RealmAbilities.VanishAbility DOL.GS.RealmAbilities.VehementRenewalAbility DOL.GS.RealmAbilities.VolcanicPillarAbility DOL.GS.RealmAbilities.WrathofChampionsAbility DOL.GS.SkillHandler.MemoriesOfWar DOL.GS.SkillHandler.ScarsOfBattle DOL.GS.SkillHandler.VampiirConstitution DOL.GS.SkillHandler.VampiirDexterity DOL.GS.SkillHandler.VampiirQuickness DOL.GS.SkillHandler.VampiirStrength

List of all members.

Public Member Functions

 Ability (DBAbility dba)
 Ability (DBAbility dba, int level)
 Ability (DBAbility dba, int level, string spec, int speclevel)
 Ability (string keyname, string displayname, string description, ushort icon, int level)
 Ability (string keyname, string displayname, string description, ushort icon, int level, string spec, int speclevel)
virtual void Activate (GameLiving living, bool sendUpdates)
 this is called when the ability should do its modifications (passive effects)
virtual void Deactivate (GameLiving living, bool sendUpdates)
 this is called when the ability should remove its modifications
virtual void OnLevelChange (int oldLevel)
 Called when an ability level is changed while the ability is activated on a living.
virtual void Execute (GameLiving living)
 active abilities (clicked by icon) are called back here

Protected Member Functions

string getRomanLevel ()
 get the level represented as roman numbers

Protected Attributes

string m_spec
string m_serializedNames
string m_description
int m_speclevel
GameLiving activeOnLiving = null

Static Protected Attributes

static readonly ILog log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType)
 Defines a logger for this class.

Properties

string Spec [get]
 (readonly) The Specialization thats need to be trained to get that ability
int SpecLevelRequirement [get]
 (readonly) The Specialization's level required to get that ability
virtual ushort Icon [get]
 icon id (>=0x190) or 0 if ability is not activatable
override int Level [get, set]
 set is disabled
virtual IList< string > DelveInfo [get]
override eSkillPage SkillType [get]
 the type of the skill

Detailed Description

the ability class nontrainable abilities have level 0 trainable abilities have level > 0, level is displayed in roman numbers


Member Function Documentation

virtual void DOL.GS.Ability.Activate ( GameLiving  living,
bool  sendUpdates 
) [virtual]

this is called when the ability should do its modifications (passive effects)

Parameters:
living
sendUpdates

Reimplemented in DOL.GS.PropertyChangingAbility, DOL.GS.RealmAbilities.RAPropertyEnhancer, DOL.GS.RealmAbilities.RAStatEnhancer, and DOL.GS.SkillHandler.PropertyChangingAbility.

virtual void DOL.GS.Ability.Deactivate ( GameLiving  living,
bool  sendUpdates 
) [virtual]

this is called when the ability should remove its modifications

Parameters:
living
sendUpdates

Reimplemented in DOL.GS.PropertyChangingAbility, DOL.GS.RealmAbilities.RAPropertyEnhancer, DOL.GS.RealmAbilities.RAStatEnhancer, and DOL.GS.SkillHandler.PropertyChangingAbility.

virtual void DOL.GS.Ability.Execute ( GameLiving  living) [virtual]

active abilities (clicked by icon) are called back here

Parameters:
living

Reimplemented in DOL.GS.RealmAbilities.SonicBarrierAbility, DOL.GS.RealmAbilities.AdrenalineRushAbility, DOL.GS.RealmAbilities.AmelioratingMelodiesAbility, DOL.GS.RealmAbilities.AngerOfTheGodsAbility, DOL.GS.RealmAbilities.ArrowSummoningAbility, DOL.GS.RealmAbilities.BarrierOfFortitudeAbility, DOL.GS.RealmAbilities.BedazzlingAuraAbility, DOL.GS.RealmAbilities.ChargeAbility, DOL.GS.RealmAbilities.ConcentrationAbility, DOL.GS.RealmAbilities.DashingDefenseAbility, DOL.GS.RealmAbilities.DecimationTrapAbility, DOL.GS.RealmAbilities.DivineInterventionAbility, DOL.GS.RealmAbilities.FirstAidAbility, DOL.GS.RealmAbilities.IchorOfTheDeepAbility, DOL.GS.RealmAbilities.IgnorePainAbility, DOL.GS.RealmAbilities.JuggernautAbility, DOL.GS.RealmAbilities.MasteryofConcentrationAbility, DOL.GS.RealmAbilities.MysticCrystalLoreAbility, DOL.GS.RealmAbilities.NegativeMaelstromAbility, DOL.GS.RealmAbilities.PerfectRecoveryAbility, DOL.GS.RealmAbilities.PurgeAbility, DOL.GS.RealmAbilities.RagingPowerAbility, DOL.GS.RealmAbilities.AllureOfDeathAbility, DOL.GS.RealmAbilities.ArmsLengthAbility, DOL.GS.RealmAbilities.BadgeOfValorAbilityHandler, DOL.GS.RealmAbilities.BladeBarrierAbility, DOL.GS.RealmAbilities.BlindingDustAbility, DOL.GS.RealmAbilities.BlissfulIgnoranceAbility, DOL.GS.RealmAbilities.BoilingCauldronAbility, DOL.GS.RealmAbilities.CallOfDarknessAbility, DOL.GS.RealmAbilities.CalmingNotesAbility, DOL.GS.RealmAbilities.ChainLightningAbility, DOL.GS.RealmAbilities.CombatAwarenessAbility, DOL.GS.RealmAbilities.DesperateBowmanAbility, DOL.GS.RealmAbilities.DreamweaverAbility, DOL.GS.RealmAbilities.EntwiningSnakesAbility, DOL.GS.RealmAbilities.EpiphanyAbility, DOL.GS.RealmAbilities.FanatacismAbility, DOL.GS.RealmAbilities.FerociousWillAbility, DOL.GS.RealmAbilities.FungalUnionAbility, DOL.GS.RealmAbilities.FuryOfNatureAbility, DOL.GS.RealmAbilities.GiftOfPerizorAbility, DOL.GS.RealmAbilities.MarkOfPreyAbility, DOL.GS.RealmAbilities.MinionRescueAbility, DOL.GS.RealmAbilities.NaturesWombAbility, DOL.GS.RealmAbilities.ResoluteMinionAbility, DOL.GS.RealmAbilities.RestorativeMindAbility, DOL.GS.RealmAbilities.RetributionOfTheFaithfulAbility, DOL.GS.RealmAbilities.RuneOfUtterAgilityAbility, DOL.GS.RealmAbilities.SearingPetAbility, DOL.GS.RealmAbilities.SelectiveBlindnessAbility, DOL.GS.RealmAbilities.SelflessDevotionAbility, DOL.GS.RealmAbilities.ShieldOfImmunityAbility, DOL.GS.RealmAbilities.ShieldTripAbility, DOL.GS.RealmAbilities.SoldiersCitadelAbility, DOL.GS.RealmAbilities.SoulQuenchAbility, DOL.GS.RealmAbilities.SpiritMartyrAbility, DOL.GS.RealmAbilities.SputinsLegacyAbility, DOL.GS.RealmAbilities.TestudoAbility, DOL.GS.RealmAbilities.ValeDefenseAbility, DOL.GS.RealmAbilities.ValhallasBlessingAbility, DOL.GS.RealmAbilities.WallOfFlameAbility, DOL.GS.RealmAbilities.WhirlingStaffAbility, DOL.GS.RealmAbilities.SecondWindAbility, DOL.GS.RealmAbilities.SoldiersBarricadeAbility, DOL.GS.RealmAbilities.SpeedOfSoundAbility, DOL.GS.RealmAbilities.StaticTempestAbility, DOL.GS.RealmAbilities.StrikePredictionAbility, DOL.GS.RealmAbilities.TheEmptyMindAbility, DOL.GS.RealmAbilities.ThornweedFieldAbility, DOL.GS.RealmAbilities.TrueshotAbility, DOL.GS.RealmAbilities.VanishAbility, DOL.GS.RealmAbilities.VehementRenewalAbility, DOL.GS.RealmAbilities.VolcanicPillarAbility, and DOL.GS.RealmAbilities.WrathofChampionsAbility.

string DOL.GS.Ability.getRomanLevel ( ) [protected]

get the level represented as roman numbers

Returns:
virtual void DOL.GS.Ability.OnLevelChange ( int  oldLevel) [virtual]

Called when an ability level is changed while the ability is activated on a living.

Reimplemented in DOL.GS.RealmAbilities.RAPropertyEnhancer, DOL.GS.RealmAbilities.RAStatEnhancer, and DOL.GS.SkillHandler.PropertyChangingAbility.


Member Data Documentation

readonly ILog DOL.GS.Ability.log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType) [static, protected]

Defines a logger for this class.


Property Documentation

virtual ushort DOL.GS.Ability.Icon [get]

icon id (>=0x190) or 0 if ability is not activatable

override int DOL.GS.Ability.Level [get, set]

set is disabled

Reimplemented from DOL.GS.Skill.

override eSkillPage DOL.GS.Ability.SkillType [get]

the type of the skill

Reimplemented from DOL.GS.Skill.

Reimplemented in DOL.GS.RealmAbilities.RealmAbility.

string DOL.GS.Ability.Spec [get]

(readonly) The Specialization thats need to be trained to get that ability

int DOL.GS.Ability.SpecLevelRequirement [get]

(readonly) The Specialization's level required to get that ability


The documentation for this class was generated from the following file:
All Classes Namespaces Functions Variables Enumerations Properties Events