![]() |
Dawn of Light - Class documentation 2900
This is the Dawn of Light project
|
AdvancedCraftingSkill is the skill for alchemy and spellcrafting whitch add all combine system. More...
Public Member Functions | |
| virtual bool | CombineItems (GamePlayer player) |
| Called when player accept to combine items. | |
| virtual bool | IsAllowedToCombine (GamePlayer player, InventoryItem item) |
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) | |
| abstract void | ApplyMagicalEffect (GamePlayer player, InventoryItem item) |
AdvancedCraftingSkill is the skill for alchemy and spellcrafting whitch add all combine system.
| abstract void DOL.GS.AdvancedCraftingSkill.ApplyMagicalEffect | ( | GamePlayer | player, |
| InventoryItem | item | ||
| ) | [protected, pure virtual] |
Apply the magical bonus to the item
| player | |
| item |
Implemented in DOL.GS.Alchemy, and DOL.GS.SpellCrafting.
| override bool DOL.GS.AdvancedCraftingSkill.CheckForTools | ( | GamePlayer | player, |
| DBCraftedItem | recipe, | ||
| ItemTemplate | itemToCraft, | ||
| IList< DBCraftedXItem > | rawMaterials | ||
| ) | [protected, virtual] |
Check if the player is near the needed tools (forge, lathe, etc)
| 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 |
Reimplemented from DOL.GS.AbstractCraftingSkill.
Reimplemented in DOL.GS.Alchemy, and DOL.GS.SpellCrafting.
| virtual bool DOL.GS.AdvancedCraftingSkill.CombineItems | ( | GamePlayer | player | ) | [virtual] |
Called when player accept to combine items.
| player |
| virtual bool DOL.GS.AdvancedCraftingSkill.IsAllowedToCombine | ( | GamePlayer | player, |
| InventoryItem | item | ||
| ) | [virtual] |
Check if the player can enchant the item
| player | |
| item |
Reimplemented in DOL.GS.Alchemy, and DOL.GS.SpellCrafting.