Lopaskurwa
Active Member
- Joined
- Oct 6, 2017
- Messages
- 873
- Solutions
- 2
- Reaction score
- 49
Hi
So i changed one part in the player.cpp that i could skill my shielding without items so original part was like this
And i found in google that if i want to skill my shielding without items i have to keep only this part
So yea it worked but now i cant skill my shielding if i add item example helmet, armor, legs, boots. So how to modifie this part that i could skill my shielding without items and with items? thanks.
So i changed one part in the player.cpp that i could skill my shielding without items so original part was like this
Code:
void Player::onBlockHit()
{
if (shieldBlockCount > 0) {
--shieldBlockCount;
if (hasShield()){
addSkillAdvance(SKILL_SHIELD, 1);
}
}
}
Code:
void Player::onBlockHit()
{
addSkillAdvance(SKILL_SHIELD, 1);
}