arxcode
arxcode copied to clipboard
Combat and Borders - Trigger Friendly Formatting!
Is your feature request related to a problem? Please describe. My feature request is a quality of life fix that should probably be pretty simple. Making some minor changes that make the game more readable by client triggers.
Describe the solution you'd like So, combat stats is very nice and very cool. But what would be awesome for the purpose of triggers would be to have your current HP total reported back to you when you are damaged in combat. That way, you can make a fun little trigger in your client to monitor your HP without resorting to weird, roundabout methods! (Related: Borders for common commands should have a different 'start' and 'end' border so they're more easily parsed by 'Start Line' 'End Line' methods.)
Describe alternatives you've considered My current way of getting around this has been to make some very strange and roundabout queries of 'combatstats' and writing very convoluted triggers.
Additional context
Say I wanted to filter out a given prompt, and the border looks like this:
------------------------------------------------------------------------------
Text
------------------------------------------------------------------------------
Something like this:
+----------------------------------------------------------------------------
Text
-----------------------------------------------------------------------------+
Makes it infinitely more grabbable by triggers!
Additionally, I think the combat thing could literally just grab the combatstat value and when you're damaged say:
Soandso hits you for like (3) and your armor mitigates 105 of the damage.
Health: 30/100 or whatever.
Just spitballing.