diff Player.h @ 1601:5ac59bcb68e9

started extracting enchantment effects to a helper class
author Grumpy7
date Thu, 12 Sep 2013 09:53:41 +0200
parents 33a82b36c3e8
children 4b79ff62df3a
line wrap: on
line diff
--- a/Player.h	Wed Sep 11 04:27:36 2013 +0200
+++ b/Player.h	Thu Sep 12 09:53:41 2013 +0200
@@ -627,6 +627,7 @@
 
   inline bool IsMale() { return GetSexByVoice() == SEX_MALE;}
   inline bool IsFemale() { return !IsMale();}
+  void GetItemBonusSpecialEnchantment(int enchantmentId, CHARACTER_ATTRIBUTE_TYPE attrToGet, int* additiveBonus, int* halfSkillBonus);
   __int64 pConditions[20];
   unsigned __int64 uExperience;
   char pName[16];