diff Player.h @ 1553:b98812ead5d9

Get(skillname) functions cleaned up, using GetMultiplierForSkillLevel instead of nested conditions
author Grumpy7
date Sat, 07 Sep 2013 21:00:02 +0200
parents d253172de469
children 0311debb684c
line wrap: on
line diff
--- a/Player.h	Sat Sep 07 10:49:42 2013 +0200
+++ b/Player.h	Sat Sep 07 21:00:02 2013 +0200
@@ -537,8 +537,8 @@
   int SelectPhrasesTransaction(ItemGen *pItem, int building_type, int BuildID_2Events, int a5);
   int GetBodybuilding();
   int GetMeditation();
-  int CanIdentify(ItemGen *pItem);
-  int CanRepair(ItemGen *);
+  bool CanIdentify(ItemGen *pItem);
+  bool CanRepair(ItemGen *pItem);
   int GetMerchant();
   int GetPerception();
   int GetDisarmTrap();
@@ -581,7 +581,7 @@
   void DrawPlayerBuffAnimBasedOnCondition(int currPlayerId);
   void EquipBody(ITEM_EQUIP_TYPE uEquipType);
 
-  unsigned int GetMultiplierForMastery(unsigned int skillValue, int mult1, int mult2, int mult3, int mult4);
+  unsigned int GetMultiplierForSkillLevel(unsigned int skillValue, int mult1, int mult2, int mult3, int mult4);
   int CalculateMeleeDmgToEnemyWithWeapon( ItemGen * weapon, unsigned int uTargetActorID , bool addOneDice);
 
   bool IsWeak();