| 51 | } |
| 52 | |
| 53 | double CreatureSkillWeak::getRangeMax(const Creature* creature, GameEntity* entityAttack) const |
| 54 | { |
| 55 | // Weak can be cast on creatures only |
| 56 | if(entityAttack->getObjectType() != GameEntityType::creature) |
| 57 | return 0.0; |
| 58 | |
| 59 | return mMaxRange; |
| 60 | } |
| 61 | |
| 62 | bool CreatureSkillWeak::canBeUsedBy(const Creature* creature) const |
| 63 | { |
no test coverage detected