Added cap to Titanium BaneDmgAmt translator

This commit is contained in:
Uleat 2019-08-24 20:38:57 -04:00
parent c6c4480061
commit 4d1d9df05d

View File

@ -2303,7 +2303,10 @@ namespace Titanium
ob << '|' << itoa(item->SkillModType);
ob << '|' << itoa(item->BaneDmgRace);
ob << '|' << itoa(item->BaneDmgAmt);
if (item->BaneDmgAmt > 255)
ob << '|' << "255";
else
ob << '|' << itoa(item->BaneDmgAmt);
ob << '|' << itoa(item->BaneDmgBody);
ob << '|' << itoa(item->Magic);