Petrezselyem 6 Posted March 8, 2022 Share Posted March 8, 2022 Hi. Where can I set to my game to have a max % of possible defense against warrior, ninja... etc? I think players can bonus their equipment to have over 100% defense against, for example a shaman, but I want to fix this value to 75%. So even if someone has 8x5 (from 6-7) + 18 (from DS) + 20 (from shield) + lvl 90-accesories (like Ruby Neklace...etc) + 10 (from bio quests) + 8 (from belt) ... etc, the game only count to 75% and doesn't give players higher defense over 75%. Summary: Even If your defense bonus is equal to 108 for example, the game does not let it over 75%. I hope somebody coould help. Link to comment Share on other sites More sharing options...
Premium xTryhard 12 Posted March 9, 2022 Premium Share Posted March 9, 2022 (edited) 3 hours ago, Petrezselyem said: Hi. Where can I set to my game to have a max % of possible defense against warrior, ninja... etc? I think players can bonus their equipment to have over 100% defense against, for example a shaman, but I want to fix this value to 75%. So even if someone has 8x5 (from 6-7) + 18 (from DS) + 20 (from shield) + lvl 90-accesories (like Ruby Neklace...etc) + 10 (from bio quests) + 8 (from belt) ... etc, the game only count to 75% and doesn't give players higher defense over 75%. Summary: Even If your defense bonus is equal to 108 for example, the game does not let it over 75%. I hope somebody coould help. char_battle.cpp but if you have more than 100% defense you get 0 damage Edited March 9, 2022 by xTryhard Link to comment Share on other sites More sharing options...
Petrezselyem 6 Posted March 9, 2022 Author Share Posted March 9, 2022 5 hours ago, xTryhard said: char_battle.cpp but if you have more than 100% defense you get 0 damage That's the point. If you put full def, damage is 0. Thanks for help. Link to comment Share on other sites More sharing options...
Premium xTryhard 12 Posted March 9, 2022 Premium Share Posted March 9, 2022 1 hour ago, Petrezselyem said: That's the point. If you put full def, damage is 0. Thanks for help. go to input_main.cpp void CInputMain::Attack(LPCHARACTER ch, const BYTE header, const char* data) this is the location where the damage packet starts you have to check from there until you find your problem 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now