Target Indicator #4


  • New
  • Enhancment
Open
  • MrFIXlT created this issue Sep 26, 2009

    What is the enhancement in mind?
    An extra parameter for substitution in the message format strings,
    that will indicate when the source is "my target".
    An additional editbox in format option section where
    one can set a text flag to a static string of their choice.

    How should it look and feel?
    To take the default "casts" format string as an example
    it could be something like "$t$c casts $i$e"
    where $t is used to substitute "my target" flag. (for example " * ")
    So if the unit I'm targeting is the one casting it would output:
    " * Ammo casts Torch" or if it's not my target it would be
    "Ammo casts Torch" (would help tons for interrupts)

    Please provide any additional information below.
    Code changes (apart from the extra option) seem minimal:
    In WitchHunt:COMBAT_LOG_EVENT_UNFILTERED
    moving the isSourceTarget variable out of the db.targetonly block
    and passing it as an extra parameter to WitchHunt:Burn
    and from there to WitchHunt:GetFormatted where the extra
    substitution would happen.
    (there is probably a better way to do this,
    but I tested it on my local copy just to see if the idea has merit/works)

  • MrFIXlT added the tags New Enhancment Sep 26, 2009
  • MrFIXlT edited description Sep 27, 2009

To post a comment, please login or register a new account.