LCKB
Damage received during a castle siege. - Printable Version

+- LCKB (https://lckb.dev/forum)
+-- Forum: ** OLD LCKB DATABASE ** (https://lckb.dev/forum/forumdisplay.php?fid=109)
+--- Forum: Guides & Help Section (https://lckb.dev/forum/forumdisplay.php?fid=193)
+---- Forum: Help & Support (https://lckb.dev/forum/forumdisplay.php?fid=157)
+----- Forum: Ep4 Support (https://lckb.dev/forum/forumdisplay.php?fid=128)
+------ Forum: Solved topics (https://lckb.dev/forum/forumdisplay.php?fid=158)
+------ Thread: Damage received during a castle siege. (/showthread.php?tid=1369)



- Dimaflash - 03-10-2021


Hi guys! Please tell me where to change the damage received during the siege of the castle. Thanks!




- Desarija - 03-10-2021


look for warBonusAttack in Battle_GetDamage.cpp

int warBonusAttack = 100;

int warBonusDefense = 100;

awdamage = awdamage * warBonusAttack / 100;

ddefense = ddefense * warBonusDefense / 100;

ddefense2 = ddefense2 * warBonusDefense / 100;




- Dimaflash - 03-10-2021



9 hours ago, Desarija said:




look for warBonusAttack in Battle_GetDamage.cpp



int warBonusAttack = 100;

int warBonusDefense = 100;



awdamage = awdamage * warBonusAttack / 100;

ddefense = ddefense * warBonusDefense / 100;

ddefense2 = ddefense2 * warBonusDefense / 100;




Yes, thank you  Desarija!




- cooldude - 03-10-2021

Hi there.As your topic has been answered, and from this topic you can solve your problem or already have I am going to move this topic into our Solved section database.Thankyou,-LCKB Staff