|
|
|
@ -265,7 +265,7 @@ namespace MWClass
|
|
|
|
|
std::string text;
|
|
|
|
|
|
|
|
|
|
// weapon type & damage
|
|
|
|
|
if ((ref->mBase->mData.mType < 12 || Settings::Manager::getBool("show projectile damage", "Game")) && ref->mBase->mData.mType < 14)
|
|
|
|
|
if ((ref->mBase->mData.mType < ESM::Weapon::Arrow || Settings::Manager::getBool("show projectile damage", "Game")) && ref->mBase->mData.mType <= ESM::Weapon::Bolt)
|
|
|
|
|
{
|
|
|
|
|
text += "\n#{sType} ";
|
|
|
|
|
|
|
|
|
@ -295,7 +295,15 @@ namespace MWClass
|
|
|
|
|
((oneOrTwoHanded != "") ? ", " + store.get<ESM::GameSetting>().find(oneOrTwoHanded)->mValue.getString() : "");
|
|
|
|
|
|
|
|
|
|
// weapon damage
|
|
|
|
|
if (ref->mBase->mData.mType >= 9)
|
|
|
|
|
if (ref->mBase->mData.mType == ESM::Weapon::MarksmanThrown)
|
|
|
|
|
{
|
|
|
|
|
// Thrown weapons have 2x real damage applied
|
|
|
|
|
// as they're both the weapon and the ammo
|
|
|
|
|
text += "\n#{sAttack}: "
|
|
|
|
|
+ MWGui::ToolTips::toString(static_cast<int>(ref->mBase->mData.mChop[0] * 2))
|
|
|
|
|
+ " - " + MWGui::ToolTips::toString(static_cast<int>(ref->mBase->mData.mChop[1] * 2));
|
|
|
|
|
}
|
|
|
|
|
else if (ref->mBase->mData.mType >= ESM::Weapon::MarksmanBow)
|
|
|
|
|
{
|
|
|
|
|
// marksman
|
|
|
|
|
text += "\n#{sAttack}: "
|
|
|
|
|