![]() |
Dawn of Light - Class documentation 2900
This is the Dawn of Light project
|
Public Member Functions | |
GamePet (INpcTemplate template) | |
override int | GetModifiedSpecLevel (string keyName) |
Specialisation level including item bonuses and RR. | |
override void | OnAfterSpellCastSequence (ISpellHandler handler) |
Called when spell has finished casting. | |
override eDamageType | AttackDamageType (InventoryItem weapon) |
The type of damage the currently active weapon does. | |
override int | AttackSpeed (params InventoryItem[] weapons) |
Get melee speed in milliseconds. | |
override int | CalculateLeftHandSwingCount () |
Calculates how many times left hand can swing. | |
override double | GetWeaponSkill (InventoryItem weapon) |
Get weapon skill for the pet (for formula see Spydor's Web, http://daoc.nisrv.com/modules.php?name=Weapon_Skill_Calc). | |
override int | WeaponSpecLevel (InventoryItem weapon) |
Weapon specialisation is up to level, if a weapon is equipped. | |
override void | Die (GameObject killer) |
Called when this living dies. | |
override bool | IsObjectGreyCon (GameObject obj) |
Checks whether object is grey con to this living. | |
Protected Member Functions | |
virtual void | AddStatsToWeapon () |
Load equipment for the pet. | |
override Style | GetStyleToUse () |
Pick a random style for now. | |
override void | BuildAmbientTexts () |
Spawn texts are in database. | |
Properties | |
GameLiving | Owner [get] |
override double | Effectiveness [get] |
Multiplier for melee and magic. | |
override int | SpellCriticalChance [get, set] |
Returns the chance for a critical hit with a spell. | |
override short | Strength [get] |
Pet strength is determined by using template stength as a percentage multiplier So A template value of 50 would mean pet strength is 50% of normal, 150 = 150% of normal, etc. | |
override short | Constitution [get] |
Base constitution. | |
override short | Dexterity [get] |
Base dexterity. | |
override short | Quickness [get] |
Base quickness. | |
override int | MaxHealth [get] |
override bool | CanUseLefthandedWeapon [get] |
Whether or not pet can use left hand weapon. |
virtual void DOL.GS.GamePet.AddStatsToWeapon | ( | ) | [protected, virtual] |
Load equipment for the pet.
templateID | Equipment Template ID. |
override eDamageType DOL.GS.GamePet.AttackDamageType | ( | InventoryItem | weapon | ) | [virtual] |
The type of damage the currently active weapon does.
weapon |
Reimplemented from DOL.GS.GameNPC.
override int DOL.GS.GamePet.AttackSpeed | ( | params InventoryItem[] | weapons | ) | [virtual] |
override void DOL.GS.GamePet.BuildAmbientTexts | ( | ) | [protected, virtual] |
Spawn texts are in database.
Reimplemented from DOL.GS.GameNPC.
Reimplemented in DOL.GS.TurretPet, and DOL.GS.TheurgistPet.
override int DOL.GS.GamePet.CalculateLeftHandSwingCount | ( | ) | [virtual] |
Calculates how many times left hand can swing.
Reimplemented from DOL.GS.GameNPC.
Reimplemented in DOL.GS.NecromancerPet.
override void DOL.GS.GamePet.Die | ( | GameObject | killer | ) | [virtual] |
Called when this living dies.
Reimplemented from DOL.GS.GameNPC.
override int DOL.GS.GamePet.GetModifiedSpecLevel | ( | string | keyName | ) | [virtual] |
Specialisation level including item bonuses and RR.
keyName | The specialisation line. |
Reimplemented from DOL.GS.GameLiving.
override Style DOL.GS.GamePet.GetStyleToUse | ( | ) | [protected, virtual] |
override double DOL.GS.GamePet.GetWeaponSkill | ( | InventoryItem | weapon | ) | [virtual] |
Get weapon skill for the pet (for formula see Spydor's Web, http://daoc.nisrv.com/modules.php?name=Weapon_Skill_Calc).
weapon |
Reimplemented from DOL.GS.GameLiving.
override bool DOL.GS.GamePet.IsObjectGreyCon | ( | GameObject | obj | ) | [virtual] |
Checks whether object is grey con to this living.
obj |
Reimplemented from DOL.GS.GameLiving.
override void DOL.GS.GamePet.OnAfterSpellCastSequence | ( | ISpellHandler | handler | ) | [virtual] |
Called when spell has finished casting.
handler |
Reimplemented from DOL.GS.GameNPC.
Reimplemented in DOL.GS.NecromancerPet.
override int DOL.GS.GamePet.WeaponSpecLevel | ( | InventoryItem | weapon | ) | [virtual] |
Weapon specialisation is up to level, if a weapon is equipped.
weapon |
Reimplemented from DOL.GS.GameLiving.
override bool DOL.GS.GamePet.CanUseLefthandedWeapon [get] |
Whether or not pet can use left hand weapon.
Reimplemented from DOL.GS.GameNPC.
Reimplemented in DOL.GS.NecromancerPet.
override short DOL.GS.GamePet.Constitution [get] |
override short DOL.GS.GamePet.Dexterity [get] |
override double DOL.GS.GamePet.Effectiveness [get] |
Multiplier for melee and magic.
Reimplemented from DOL.GS.GameLiving.
override short DOL.GS.GamePet.Quickness [get] |
override int DOL.GS.GamePet.SpellCriticalChance [get, set] |
Returns the chance for a critical hit with a spell.
Reimplemented from DOL.GS.GameLiving.
override short DOL.GS.GamePet.Strength [get] |
Pet strength is determined by using template stength as a percentage multiplier So A template value of 50 would mean pet strength is 50% of normal, 150 = 150% of normal, etc.
Reimplemented from DOL.GS.GameNPC.
Reimplemented in DOL.GS.NecromancerPet.