WitchHunt

4 - Target Indicator

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)

User When Change
Dridzt Sun, 27 Sep 2009 23:56:30 Changed description:
  [b]How should it look and feel?[/b]
  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 " * * ")
+ 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" or if it's not my target it would be
  "Ammo casts Torch" (would help tons for interrupts)
  [b]Please provide any additional information below.[/b]
Dridzt Sun, 27 Sep 2009 23:54:13 Changed description:
  [b]How should it look and feel?[/b]
  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 "**")
+ 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" or if it's not my target it would be
  "Ammo casts Torch" (would help tons for interrupts)
  [b]Please provide any additional information below.[/b]
Dridzt Sat, 26 Sep 2009 12:37:49 Create

You must login to post a comment. Don't have an account? Register to get one!

Facts

Last updated on
27 Sep 2009
Reported on
26 Sep 2009
Status
New - Issue has not had initial review yet.
Type
Enhancement - A change which is intended to better the project in some way
Priority
Medium - Normal priority.

Reported by

Possible assignees

  • Avatar of Ammo
    • Manager
    • Author