|
|
@ -671,10 +671,13 @@ namespace MWClass
|
|
|
|
{
|
|
|
|
{
|
|
|
|
damage *= store.find("fCombatCriticalStrikeMult")->mValue.getFloat();
|
|
|
|
damage *= store.find("fCombatCriticalStrikeMult")->mValue.getFloat();
|
|
|
|
MWBase::Environment::get().getWindowManager()->messageBox("#{sTargetCriticalStrike}");
|
|
|
|
MWBase::Environment::get().getWindowManager()->messageBox("#{sTargetCriticalStrike}");
|
|
|
|
|
|
|
|
if (healthdmg)
|
|
|
|
|
|
|
|
{
|
|
|
|
MWBase::Environment::get().getSoundManager()->playSound3D(
|
|
|
|
MWBase::Environment::get().getSoundManager()->playSound3D(
|
|
|
|
victim, ESM::RefId::stringRefId("critical damage"), 1.0f, 1.0f);
|
|
|
|
victim, ESM::RefId::stringRefId("critical damage"), 1.0f, 1.0f);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if (othercls.getCreatureStats(victim).getKnockedDown())
|
|
|
|
if (othercls.getCreatureStats(victim).getKnockedDown())
|
|
|
|
damage *= store.find("fCombatKODamageMult")->mValue.getFloat();
|
|
|
|
damage *= store.find("fCombatKODamageMult")->mValue.getFloat();
|
|
|
|