From 4d1d9df05d9af66f8ca8b60921dc669eef1f06d2 Mon Sep 17 00:00:00 2001 From: Uleat Date: Sat, 24 Aug 2019 20:38:57 -0400 Subject: [PATCH] Added cap to Titanium BaneDmgAmt translator --- common/patches/titanium.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/common/patches/titanium.cpp b/common/patches/titanium.cpp index d8a115a98..b50df595c 100644 --- a/common/patches/titanium.cpp +++ b/common/patches/titanium.cpp @@ -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);