Module: Lich::Gemstone::Combat::Definitions

Defined in:
documented/gemstone/combat/defs/ucs.rb,
documented/gemstone/combat/defs/damage.rb,
documented/gemstone/combat/defs/flares.rb,
documented/gemstone/combat/defs/spells.rb,
documented/gemstone/combat/defs/attacks.rb,
documented/gemstone/combat/defs/assaults.rb,
documented/gemstone/combat/defs/outcomes.rb,
documented/gemstone/combat/defs/statuses.rb,
documented/gemstone/combat/defs/sequences.rb,
documented/gemstone/combat/defs/pattern_gate.rb,
documented/gemstone/combat/defs/spell_losses.rb

Overview

Namespace for spell and effect definitions.

Defined Under Namespace

Modules: Assaults, Attacks, Damage, Flares, Outcomes, PatternGate, Resolutions, Sequences, SpellLosses, Statuses, UCS

Constant Summary collapse

MK_PRE =

Markup tolerance tokens for the live XML feed (round-6 sweep, 46 def kinds proven markup-unsafe against 11.5GB of real logs). Entity pronouns arrive wrapped in links - creature and player alike - as her, and a possessive keeps its 's INSIDE the link, closing before the next word (<a ...>Nisugi's blow). Interpolate MK_PRE before a bare pronoun and MK_POST after a pronoun or possessive 's. Both are fully optional, so stripped-text matching is unchanged. When the exist id matters, put MK_PRE inside the capture.

'(?:<pushBold/>)?(?:<a [^>]*>)?'
MK_POST =
'(?:</a>)?(?:<popBold/>)?'