Beispiel #1
0
 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();
 }
 private IBasicCharacterData createData() {
   IBasicCharacterData data = mock(IBasicCharacterData.class);
   when(data.isExperienced()).thenReturn(true);
   return data;
 }