User Tools

Site Tools


characters:cant_use_armour

Can't use armour

Certain races can't use armour. Instead their skin hardens naturally.

FIXME what is the first half of this equation doing? living.c line 1220

  if (!QUERY_FLAG(op, FLAG_USE_ARMOUR) && op->type == PLAYER) {
      ac = MAX(-10, op->arch->clone.stats.ac-op->level/3);
      prot[ATNR_PHYSICAL] += ((100-prot[AT_PHYSICAL])*(80*op->level/settings.max_level))/100;

AC Calculation

AC = -10 or [[characters:level]]/3, which ever is lower

Armour Calculation

Protection from Physical = ((100-prot[AT_PHYSICAL])*(80*[[characters:level]]/Server's Max Level))/100;
characters/cant_use_armour.txt · Last modified: 2013/11/03 08:12 (external edit)