参考実装データ(08/05/25現在
//攻撃力の計算 int kougeki = 0; kougeki += (pl.strnow * 3 + pl.dexnow) / 4; if (pl.righthand != null) kougeki += pl.righthand.atk;
//防御力 int bougyo = 0; bougyo += (pl.connow * 4 + pl.dexnow + pl.willnow) / 6; if (pl.lefthand != null) bougyo += pl.lefthand.def; if (pl.armor != null) bougyo += pl.armor.def;
//命中 int meityu = 0; meityu += (pl.dexnow * 2 + pl.willnow) / 3;
//回避 int kaihi = 0; kaihi += (pl.dexnow * 2 + pl.strnow) / 2;
//HP int hitpoint = 0; hitpoint += (pl.strmax + pl.conmax*4)/5 * pl.level; int hpbonus = 0; if (pl.size == (sbyte)Attrib.Size.LARGE) hpbonus = 125; else if (pl.size == (sbyte)Attrib.Size.MEDIUM) hpbonus = 100; else if (pl.size == (sbyte)Attrib.Size.SMALL) hpbonus = 85; hitpoint *= hpbonus / 100;
//MP int magicpoint = 0; magicpoint += (pl.intmax * pl.willmax) + pl.willnow;