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

AE Bonus & Bound for received damage and speed #1372

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

Conversation

Coronia
Copy link
Contributor

@Coronia Coronia commented Sep 1, 2024

  • FirepowerBonus, ArmorBonus, SpeedBonus and ROFBonus can also be used to modify the object's stats, but in the way of increasing/decreasing a fixed value to them. Will be calculated after all sort of multipliers.
    • FirepowerBonus and SpeedBonus add a value to the object's firepower and speed, respectively.
    • ArmorBonus can be set on both techno and attached effect. It decreases the damage taken by a fixed value. This is applied before armor type.
    • ROFBonus decreases weapon reload rate by a fixed value. Can't be reduced to value below 1.
  • ReceivedDamage.Minimum and ReceivedDamage.Maximum control the minimum and maximum amount of damage that can be dealt to object in a single hit. This is applied after armor type.
    • If the object has ReceivedDamage.Minimum by itself or is affected by multiple attached effects with ReceivedDamage.Minimum, the maximum amount of these would be used.
    • If the object has ReceivedDamage.Maximum by itself or is affected by multiple attached effects with ReceivedDamage.Maximum, the minimum amount of these would be used.
  • Speed.Minimum and Speed.Maximum control the minimum and maximum speed that the object could have.
    • If the object has Speed.Minimum by itself or is affected by multiple attached effects with Speed.Minimum, the maximum amount of these would be used.
    • If the object has Speed.Maximum by itself or is affected by multiple attached effects with Speed.Maximum, the minimum amount of these would be used.

In rulesmd.ini:

[SOMEATTACHEFFECT]                             ; AttachEffectType
FirepowerBonus=0                               ; integer
ArmorBonus=0                                   ; integer
SpeedBonus=0.0                                 ; floating point value
ROFBonus=0                                     ; integer
ReceivedDamage.Minimum=-2147483648             ; integer
ReceivedDamage.Maximum=2147483647              ; integer
Speed.Minimum=0.0                              ; floating point value
Speed.Maximum=2147483647.0                     ; floating point value

[SOMETECHNO]                                   ; TechnoType
ArmorBonus=0                                   ; integer
ReceivedDamage.Minimum=-2147483648             ; integer
ReceivedDamage.Maximum=2147483647              ; integer
Speed.Minimum=0.0                              ; floating point value
Speed.Maximum=2147483647.0                     ; floating point value

Copy link

github-actions bot commented Sep 1, 2024

Nightly build for this pull request:

This comment is automatic and is meant to allow guests to get latest nightly builds for this pull request without registering. It is updated on every successful build.

@Coronia Coronia force-pushed the ae-enhancement branch 2 times, most recently from 271d503 to 1aef3ac Compare September 18, 2024 08:30
@Coronia Coronia force-pushed the ae-enhancement branch 2 times, most recently from 5423bcb to d362ce6 Compare September 18, 2024 08:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant