Exemplo n.º 1
0
 protected boolean handleSpellFunction(Entity target) {
   if (!_spell.getCureCondition().equals(CureCondition.NONE)) {
     SpellCureCondition spellCureCondition = new SpellCureCondition(_entity, _room, _spell);
     return spellCureCondition.handleSpellFunction(target);
   } else {
     target.getVitality().addCurVitality(_spellResult.getNumberEffect());
   }
   return true;
 }