Mercurial > mm7
diff Player.h @ 1552:d253172de469
Player::CanFitItem, AddItem, AddItem2 changed changed the retarded 2 dimensional array traversal, changed GetActualAttribute input parameters to get rid of the attrid case
author | Grumpy7 |
---|---|
date | Sat, 07 Sep 2013 10:49:42 +0200 |
parents | a9e8d2a7abb5 |
children | b98812ead5d9 |
line wrap: on
line diff
--- a/Player.h Sat Sep 07 10:04:37 2013 +0200 +++ b/Player.h Sat Sep 07 10:49:42 2013 +0200 @@ -463,7 +463,7 @@ bool CompareVariable(enum VariableType VarNum, signed int pValue); void UseItem_DrinkPotion_etc(signed int a2, int a3); bool AddItem(struct ItemGen *pItem); - int GetActualAttribute(CHARACTER_ATTRIBUTE_TYPE attrId); + int GetActualAttribute(CHARACTER_ATTRIBUTE_TYPE attrId, unsigned short Player::* attrValue, unsigned short Player::* attrBonus); int GetBaseStrength(); int GetBaseIntelligence(); int GetBaseWillpower();