Skip to content

Commit

Permalink
Merge pull request #6738 from OdnaZvezda/master
Browse files Browse the repository at this point in the history
Update combat-trainer.lic
  • Loading branch information
MahtraDR authored Nov 28, 2023
2 parents 19fa758 + 94681e3 commit 747b90f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion combat-trainer.lic
Original file line number Diff line number Diff line change
Expand Up @@ -3296,7 +3296,7 @@ class AttackProcess
# Tests: https://regex101.com/r/HkIa8j/1
# IMPORTANT: 'stone shard' must be listed before 'shard' and 'stone' in the pattern else won't match 'senci stone shard' correctly.
ammo_pattern = "(?<ammo>arrow|bolt|stone shard|shard|rock|sphere|clump|coral|fist|holder|lump|patella|pellet|pulzone|quadrello|quarrel|quill|stone|stopper|verretto|blowgun dart|crumb|spine|mantrap spike|tiny dragon|icicle|fang|scale|grey-black spike|bacon strip|page|naga|thorn|fragment|talon|cork|button|core|pebble|geode|stub|pit|thimble|doorknob|cone|bell|hunk|piece|present|sleighbell|sprig|star|toy|spiral)s?"
Flags.add('ct-ranged-ammo', "(you (?<action>fire|poach|snipe) an?|your) (?<prefix>[^\.!]*? )?#{ammo_pattern}(?<suffix> [^\.!]*?)?? (at|passes through)")
Flags.add('ct-ranged-ammo', "(you (?<action>fire|poach|snipe) an?|your) (?<prefix>[^\.!]*? )?#{ammo_pattern}(?<altered_poststring>.*)?(?<suffix> [^\.!]*?)?? (at|passes through)")
Flags.add('ct-powershot-ammo', "With a loud twang, you let fly your #{ammo_pattern}!")
Flags.add('ct-ranged-loaded', 'You reach into', 'You load', 'You carefully load', 'already loaded', 'in your hand')
Flags.add('ct-using-repeating-crossbow', /Your repeating crossbow/i, /Your repeating arbalest/i, /Your marksman's arbalest/i, /Your assassin's crossbow/i, /Your riot crossbow/i, /You .* ammunition (chamber|store)/, /already loaded with as much ammunition as it can hold/, /You realize readying more than one/)
Expand Down

0 comments on commit 747b90f

Please sign in to comment.