Mercurial > mm7
diff Player.h @ 1780:01b3c314e9be
Player::SetVariable moved most of the conditions into a switch
author | Grumpy7 |
---|---|
date | Thu, 03 Oct 2013 05:27:54 +0200 |
parents | 50e91a820f6f |
children | 421e826f4477 |
line wrap: on
line diff
--- a/Player.h Wed Oct 02 08:51:43 2013 +0200 +++ b/Player.h Thu Oct 03 05:27:54 2013 +0200 @@ -602,6 +602,7 @@ int CalculateMeleeDmgToEnemyWithWeapon( ItemGen * weapon, unsigned int uTargetActorID , bool addOneDice); bool WearsItemAnyWhere(int item_id); float GetArmorRecoveryMultiplierFromSkillLevel( unsigned char armour_skill_type, float param2, float param3, float param4, float param5 ); + void SetSkillByEvent(unsigned __int16 Player::* skillToSet, unsigned __int16 skillValue, int currPlayerId); bool IsWeak(); bool IsDead();