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>  ECHO Loading skills types from [data/skill_types.xml]
ERRR <prepareManagers>  AbilityManager::_parseXmlAbilityNode() - using of unregistered ability (id=275)
ERRR <prepareManagers>  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!