mirror of
https://github.com/sfall-team/sfall.git
synced 2026-07-27 16:52:34 -07:00
Fixed two issues caused by enabling PerksFile setting:
1. Both Armor Class and Melee Damage got increased by Heavy Handed trait. 2. Melee Damage bonus from Heavy Handed was less than it should have.
This commit is contained in:
+2
-1
@@ -787,8 +787,9 @@ static int _stdcall trait_adjust_stat_override(DWORD statID) {
|
||||
break;
|
||||
case STAT_ac:
|
||||
if(check_trait(TRAIT_kamikaze)) return -stat_get_base_direct(STAT_ac);
|
||||
break;
|
||||
case STAT_melee_dmg:
|
||||
if(check_trait(TRAIT_heavy_handed)) result+=2;
|
||||
if(check_trait(TRAIT_heavy_handed)) result+=4;
|
||||
break;
|
||||
case STAT_carry_amt:
|
||||
if(check_trait(TRAIT_small_frame)) {
|
||||
|
||||
Reference in New Issue
Block a user