let's say I want to add a few more abilities for one skill my approach would be to add some more XML elements in skill_types.xml. But I've have to use an ability ID which is not yet used for each new added ability (otherwise all skills and abilities will be unavailable, each ID has to be unique).
So far so good, here is the problem: how do I register my recently new added abilities (or skills) ?
The server log file indicates that this step is neccessary in order to use skills and abilities.
- Code: Select all
<prepareManagers> [0] ECHO Loading skills types from [data/skill_types.xml]
ERRR <prepareManagers> [0] AbilityManager::_parseXmlAbilityNode() - using of unregistered ability (id=275)
ERRR <prepareManagers> [0] CmSkillsManager::selectSkillTypes() - error alilities parsing. All skills and abilities will be unavailable!
Is there a runable script or a prepareManager::AbilityManager/CmSkillsManager function which can be used to register a ability or skill?
Your help is greatly appreciated,
thanks in advance!