List of all members.
Public Member Functions |
override void | GainCraftingSkillPoints (GamePlayer player, DBCraftedItem recipe, IList< DBCraftedXItem > rawMaterials) |
| Gain a point in the appropriate skills for a recipe and materials.
|
override bool | IsAllowedToCombine (GamePlayer player, InventoryItem item) |
| This function is called when player accept the combine.
|
virtual void | ShowSpellCraftingInfos (GamePlayer player, InventoryItem item) |
| Shaw to player all infos about the current spellcraft.
|
Protected Member Functions |
override bool | CheckForTools (GamePlayer player, DBCraftedItem recipe, ItemTemplate itemToCraft, IList< DBCraftedXItem > rawMaterials) |
| Check if the player is near the needed tools (forge, lathe, etc)
|
override void | ApplyMagicalEffect (GamePlayer player, InventoryItem item) |
| Apply all needed magical bonus to the item.
|
int | CalculateChanceToOverchargeItem (GamePlayer player, InventoryItem item, int maxBonusLevel, int bonusLevel) |
int | GetItemMaxImbuePoints (InventoryItem item) |
| Get the maximum bonus level the item can hold.
|
int | GetTotalImbuePoints (GamePlayer player, InventoryItem item) |
| Get gems bonus level.
|
int | GetGemImbuePoints (int bonusType, int bonusValue) |
| Get how much the gem use like bonus point.
|
int | GetOverchargePenality (int maxBonusLevel, int bonusLevel) |
| Get the % overcharge penality.
|
int | CalculateChanceToPreserveItem (GamePlayer player, InventoryItem item, int maxBonusLevel, int bonusLevel) |
Properties |
override String | Profession [get] |
Member Function Documentation
override void DOL.GS.SpellCrafting.ApplyMagicalEffect |
( |
GamePlayer |
player, |
|
|
InventoryItem |
item |
|
) |
| [protected, virtual] |
int DOL.GS.SpellCrafting.CalculateChanceToOverchargeItem |
( |
GamePlayer |
player, |
|
|
InventoryItem |
item, |
|
|
int |
maxBonusLevel, |
|
|
int |
bonusLevel |
|
) |
| [protected] |
Get the sucess chance to overcharge the item
- Parameters:
-
player | |
item | |
maxBonusLevel | |
bonusLevel | |
- Returns:
int DOL.GS.SpellCrafting.CalculateChanceToPreserveItem |
( |
GamePlayer |
player, |
|
|
InventoryItem |
item, |
|
|
int |
maxBonusLevel, |
|
|
int |
bonusLevel |
|
) |
| [protected] |
Get the chance to preserve item while overcharging
- Parameters:
-
player | |
item | |
maxBonusLevel | |
bonusLevel | |
- Returns:
override bool DOL.GS.SpellCrafting.CheckForTools |
( |
GamePlayer |
player, |
|
|
DBCraftedItem |
recipe, |
|
|
ItemTemplate |
itemToCraft, |
|
|
IList< DBCraftedXItem > |
rawMaterials |
|
) |
| [protected, virtual] |
Check if the player is near the needed tools (forge, lathe, etc)
- Parameters:
-
player | the crafting player |
recipe | the recipe being used |
itemToCraft | the item to make |
rawMaterials | a list of raw materials needed to create this item |
- Returns:
- true if required tools are found
Reimplemented from DOL.GS.AdvancedCraftingSkill.
override void DOL.GS.SpellCrafting.GainCraftingSkillPoints |
( |
GamePlayer |
player, |
|
|
DBCraftedItem |
recipe, |
|
|
IList< DBCraftedXItem > |
rawMaterials |
|
) |
| [virtual] |
int DOL.GS.SpellCrafting.GetGemImbuePoints |
( |
int |
bonusType, |
|
|
int |
bonusValue |
|
) |
| [protected] |
Get how much the gem use like bonus point.
- Parameters:
-
- Returns:
int DOL.GS.SpellCrafting.GetItemMaxImbuePoints |
( |
InventoryItem |
item | ) |
[protected] |
Get the maximum bonus level the item can hold.
- Parameters:
-
- Returns:
int DOL.GS.SpellCrafting.GetOverchargePenality |
( |
int |
maxBonusLevel, |
|
|
int |
bonusLevel |
|
) |
| [protected] |
Get the % overcharge penality.
- Parameters:
-
- Returns:
int DOL.GS.SpellCrafting.GetTotalImbuePoints |
( |
GamePlayer |
player, |
|
|
InventoryItem |
item |
|
) |
| [protected] |
Get gems bonus level.
- Parameters:
-
player | player spellcrafting |
item | item to calculate imbues for |
- Returns:
override bool DOL.GS.SpellCrafting.IsAllowedToCombine |
( |
GamePlayer |
player, |
|
|
InventoryItem |
item |
|
) |
| [virtual] |
virtual void DOL.GS.SpellCrafting.ShowSpellCraftingInfos |
( |
GamePlayer |
player, |
|
|
InventoryItem |
item |
|
) |
| [virtual] |
Shaw to player all infos about the current spellcraft.
- Parameters:
-
The documentation for this class was generated from the following file:
- C:/Users/Graveen/Documents/Dawn of Light/Svn DoL/GameServer/craft/SpellCrafting.cs