Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Minor] Customizing bridge fall damageFalling down damage #1421

Open
wants to merge 4 commits into
base: develop
Choose a base branch
from

Conversation

a851903106
Copy link

@a851903106 a851903106 commented Nov 11, 2024

Units falling from destroyed bridges were always bound to die. This can now be improved by preventing death by customizing the damage taken when falling.

坠落3
坠落4

In rulesmd.in:

[SOMETECHNO] ; TechnoType
FallingDownDamage=1.0 ; double
FallingDownDamage.Water= ; double, default is FallingDownDamage

FallingDownDamege < 0.0 : (Health * FallingDownDamage)。
0.0 <= FallingDownDamege <= 1.0 : (Strength * FallingDownDamage)。
FallingDownDamage > 1.0 : uses FallingDownDamage converted to int。

@github-actions github-actions bot added the Minor Documentation is not required label Nov 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Minor Documentation is not required
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant