Make GetHealthGetRatio return 1 for actors with a max health of 0

master
Evil Eye 2 months ago
parent 0044346b49
commit d6e300ba25

@ -365,7 +365,7 @@ namespace MWScript
const MWMechanics::CreatureStats& stats = ptr.getClass().getCreatureStats(ptr);
runtime.push(stats.getDynamic(mIndex).getRatio());
runtime.push(stats.getDynamic(mIndex).getRatio(false));
}
};

Loading…
Cancel
Save