[Crossfire-wiki] [Crossfire DokuWiki] page added: characters:cant_use_armour

no-reply_wiki at metalforge.org no-reply_wiki at metalforge.org
Sun Nov 3 08:12:37 CST 2013


A page in your DokuWiki was added or changed. Here are the details:

Date        : 2013/11/03 08:12
User        : saru
Edit Summary: Place holder, lots of work to do

====== 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;

IP-Address  : 59.167.121.117
Old Revision: none
New Revision: http://wiki.metalforge.net/doku.php/characters:cant_use_armour

-- 
This mail was generated by DokuWiki at
http://wiki.metalforge.net/



More information about the crossfire-wiki mailing list