comparison 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
comparison
equal deleted inserted replaced
1779:50e91a820f6f 1780:01b3c314e9be
600 600
601 unsigned int GetMultiplierForSkillLevel(unsigned int skillValue, int mult1, int mult2, int mult3, int mult4); 601 unsigned int GetMultiplierForSkillLevel(unsigned int skillValue, int mult1, int mult2, int mult3, int mult4);
602 int CalculateMeleeDmgToEnemyWithWeapon( ItemGen * weapon, unsigned int uTargetActorID , bool addOneDice); 602 int CalculateMeleeDmgToEnemyWithWeapon( ItemGen * weapon, unsigned int uTargetActorID , bool addOneDice);
603 bool WearsItemAnyWhere(int item_id); 603 bool WearsItemAnyWhere(int item_id);
604 float GetArmorRecoveryMultiplierFromSkillLevel( unsigned char armour_skill_type, float param2, float param3, float param4, float param5 ); 604 float GetArmorRecoveryMultiplierFromSkillLevel( unsigned char armour_skill_type, float param2, float param3, float param4, float param5 );
605 void SetSkillByEvent(unsigned __int16 Player::* skillToSet, unsigned __int16 skillValue, int currPlayerId);
605 606
606 bool IsWeak(); 607 bool IsWeak();
607 bool IsDead(); 608 bool IsDead();
608 bool IsEradicated(); 609 bool IsEradicated();
609 bool IsZombie(); 610 bool IsZombie();