private ICharmTemplate getNativeCharmTemplate(ITemplateRegistry registry) { IBasicCharacterData basicCharacterContext = context.getBasicCharacterContext(); ITemplateType templateType = basicCharacterContext.getTemplateType(); ICharacterTemplate template = registry.getTemplate(templateType); IMagicTemplate magicTemplate = template.getMagicTemplate(); return magicTemplate.getCharmTemplate(); }
private ICharmTemplate getNativeCharmTemplate(ITemplateRegistry registry) { IBasicCharacterData basicCharacterContext = context.getBasicCharacterContext(); ITemplateType templateType = basicCharacterContext.getTemplateType(); IExaltedEdition edition = basicCharacterContext.getRuleSet().getEdition(); ICharacterTemplate template = registry.getTemplate(templateType, edition); IMagicTemplate magicTemplate = template.getMagicTemplate(); return magicTemplate.getCharmTemplate(); }