Skip to content

New Engine Feature: EEex_AttackOnce#16

Open
4Luke4 wants to merge 3 commits into
Bubb13:develfrom
4Luke4:attack-once
Open

New Engine Feature: EEex_AttackOnce#16
4Luke4 wants to merge 3 commits into
Bubb13:develfrom
4Luke4:attack-once

Conversation

@4Luke4

@4Luke4 4Luke4 commented Jul 4, 2026

Copy link
Copy Markdown

This PR introduces a brand new script action:

EEex_AttackOnce(O:Target*,I:BaseAttackRollMod*,I:OverrideBaseDamageRoll*,I:ConsumeAmmo*Boolean)

Vanilla Attack() that stops after the first real attack roll.

  • I:BaseAttackRollMod*: can be used to modify vanilla base 1d20 attack roll
  • I:OverrideBaseDamageRoll*: can be used to override base damage roll
    • If 0, then final damage will be 0 too (regardless of all the other modifiers)
    • If negative, then no change (keep vanilla roll)
  • I:ConsumeAmmo*Boolean: can be used to force ammo consumption (in case of ranged / thrown weapons)
    • Will be ignored in case of special ranged weapons such as Quiver of Plenty +1

Needed for: Bubb13/EEex#136.

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