Skip to content

Commit

Permalink
alpha scaling only for pals w/ BOSS_ prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
KrisCris committed May 20, 2024
1 parent 5318638 commit 0fa5580
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/palworld_pal_editor/core/pal_entity.py
Original file line number Diff line number Diff line change
Expand Up @@ -481,7 +481,7 @@ def ComputedMaxHP(self) -> Optional[int]:
CondenserBonus = ((self.Rank or PalRank.Rank0).value - 1) * 0.05 # 5% per incr Rank

# Add 1.2x scaling to large scale pals (Need to verify whether Tower & Raid pals are also taken into account...)
Alpha_Scaling = 1.2 if self._IsBOSS or self.IsTower or self.IsRAID else 1
Alpha_Scaling = 1.2 if self._IsBOSS else 1

# slightly off but not a big deal i suppose
return math.floor(math.floor(500 + 5 * Level + HP_Stat * .5 * Level * (1 + HP_IV)) \
Expand Down

0 comments on commit 0fa5580

Please sign in to comment.