Skip to content

Add Golden Hearts - #1641

Open
Cheaterpaul wants to merge 2 commits into
devfrom
feature/golden-heart
Open

Cheaterpaul wants to merge 2 commits into
devfrom
feature/golden-heart

Conversation

@Cheaterpaul

Copy link
Copy Markdown
Member

close #1507

TODO:

  • add loot tables

Saturation was used up faster than vanilla food saturation and highly
saturating food could not be distinguished from ordinary food.

- Spend saturation against a gate scaled by the BLOOD_EXHAUSTION
  attribute. Exhaustion is already scaled by that attribute when it is
  added, so saturation is no longer used up faster than the base rate at
  higher vampire levels (up to +40% before), while a factor below 1 keeps
  making it last longer. This also covers the saturated regeneration,
  which charged the scaled exhaustion as well.
- Cap the saturation at three times the maximum blood instead of the
  current blood level, so highly saturating food keeps the vampire fed
  for a while.
- Stop applying the saturation modifier twice. FoodProperties#saturation
  holds the absolute saturation value, while addBlood expects a modifier.
  Convert via the new IBloodStats#saturationModifier.
- Count the full amount towards the saturation, like vanilla, instead of
  only the blood that fit into the blood bar. Otherwise alwaysEdible food
  eaten on a full blood bar granted no saturation at all.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Needs Triage

Development

Successfully merging this pull request may close these issues.

[Feature]: golden hearts

1 participant