git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2694 c06c8d41-db1a-0410-9941-cceddc491573
6OKX22MRDGVHJE334AIXTV6NE7VJDYJLREGTWEGOVFSBYFIVASRAC
YED35BDFAUH7W5Q4YCXV4442GO6LYMWQ2YUPO2UYKG4M55Q2ALIQC
K2CS6TCX2NDVL2ASEHGP4J4K4IJ6FP3ANNKTSIWVG43HPYSBX6ZQC
OTHTO2GQ6S7DWMZ5BT7CB2OEK54XLL4NMH4G4DNCHEBGGCY6Y2XQC
RPOZZWKG5GLPHVZZ7ZKMKS64ZMV2LDCQSARBJFJ6FZOTOKCQO7FAC
#include <algorithm>
str = you.strength;
str = std::max(you.strength - stat_modifier(STAT_STRENGTH), 1);
dex = you.dex;
dex = std::max(you.dex - stat_modifier(STAT_DEXTERITY), 1);
str = you.strength; intel = you.intel; dex = you.dex;
intel = you.intel;
str = std::max(you.strength - stat_modifier(STAT_STRENGTH), 1); intel = std::max(you.intel - stat_modifier(STAT_INTELLIGENCE), 1); dex = std::max(you.dex - stat_modifier(STAT_DEXTERITY), 1);
intel = std::max(you.intel - stat_modifier(STAT_INTELLIGENCE), 1);