FANDOM


The following is taken from the code concerning what determines each class's attack power.

switch(cClass) {
case CreatureClass::FIGHTER:
case CreatureClass::DUNGEONMASTER:
if(cClass2 == CreatureClass::MAGE)
attackPower = (strength.getCur() * 2) + (level);
else if(cClass2 == CreatureClass::THIEF)
attackPower = (strength.getCur() * 2) + (level * 4);
else
attackPower = (strength.getCur() * 2) + (level * 8);
break;
case CreatureClass::BERSERKER:
attackPower = (strength.getCur() * 2) + (level * 8);
break;
case CreatureClass::PALADIN:
case CreatureClass::DEATHKNIGHT:
// TODO: This might need some tweaking with pray
attackPower = strength.getCur() + piety.getCur() + (level * 4);
break;
case CreatureClass::BARD:
case CreatureClass::WEREWOLF:
case CreatureClass::PUREBLOOD:
attackPower = (strength.getCur() * 2) + (level * 4);
break;
case CreatureClass::RANGER:
case CreatureClass::THIEF:
case CreatureClass::ASSASSIN:
case CreatureClass::ROGUE:
case CreatureClass::MONK:
attackPower = strength.getCur() + dexterity.getCur() + (level * 4);
break;
case CreatureClass::DRUID:
attackPower = strength.getCur() + (level * 2);
break;
case CreatureClass::CLERIC:
attackPower = strength.getCur();
if(cClass2 == CreatureClass::ASSASSIN)
attackPower += dexterity.getCur();
switch(deity) {
case CERIS:
attackPower += (level);
break;
case ARES:
attackPower += (level * 8);
break;
case ENOCH:
case GRADIUS:
case ARAMON:
case ARACHNUS:
default:
attackPower += (level * 2);
break;
}
break;
case CreatureClass::LICH:
case CreatureClass::MAGE:
attackPower = strength.getCur();
if(cClass2 == CreatureClass::THIEF || cClass2 == CreatureClass::ASSASSIN)
attackPower += dexterity.getCur() + (level*2);
break;
default:
attackPower = strength.getCur();
break;
}
// Check equipment here for higher attack power
return(attackPower);

To sum it up:

Berserkers = (Strength x 2) + (Level x 8)

Fighters = (Strength x 2) + (Level x 8)

Fighter/Mage = (Strength x 2) + (Level)

Fighter/Thief = (Strength x 2) + (Level x 4)

Paladin = Strength + Piety + (Level x 4)

Deathknight = Strength + Piety + (Level x 4)

Bard = (Strength x 2) + (Level x 4)

Werewolf = (Strength x 2) + (Level x 4)

Pureblood = (Strength x 2) + (Level x 4)

Ranger = Strength + Dexterity + (Level x 4)

Assasin = Strength + Dexterity + (Level x 4)

Thief = Strength + Dexterity + (Level x 4)

Rogue = Strength + Dexterity + (Level x 4)

Monk = Strength + Dexterity + (Level x 4)

Druid = Strength + (Level x 2)

Cleric (Ares) = Strength + (Level x 8)

Cleric (Aramon, Enoch, Gradius, Arachnus) = Strength + (Level x 2)

Cleric (Ceris) = Strength + Level

Cleric/Assassin = Strength + Dexterity

Lich = Strength

Mage = Strength

Mage/Thief = Strength + Dexterity + (Level x 2)

Mage/Assassin = Strength + Dexterity + (Level x 2)