New Dev Features 1/14/2023 #218
xpdota
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Some of these have been around for a while but haven't really been mentioned yet, so here goes.
Headmarker Offset Tracker
The "offset headmarkers" used in newer content are now centrally supported. You can use the new
getMarkerOffset()
method instead ofgetMarkerId()
. In addition, you can use thereset()
method on HeadmarkerOffsetTracker to forcibly reset the offset tracking, for example when you phase from a doorboss to final boss. However, the reset should be used sparingly since the reset will apply globally.Callout Adapters
"Callout Adapters" are annotations that allow you to easily attach a trigger to a callout with one line. There are a few in the ASS triggers:
This will trigger this callout when an NPC starts casting 0x7960 or 0x7978.
There is also the headmarker version:
This will trigger the blue1 callout when we see a headmarker with a relative/offset ID of -114.
In order to use these in a class, your trigger class must extend AutoChildEventHandler.
To make a new adapter, you need to do two things: define your annotation, and define your adapter. You can use
@NpcCastCallout
andNpcCastAdapter
as examples.Minor Additions
Line 12 (Player Stats) support
Check out PlayerStats and PlayerStatsUpdatedEvent.
HP/MP Regen Tick Tracker
Companion to the existing DoT tick tracker. Check out
HpMpTickEvent
andHpMpTickTracker
.More Filters for System Log Tab
You can now filter on thread and logger name.
Cooldown Reduction Abilities
Fell cleave and friends reduce the cooldown of Infuritate by 5 seconds. This is now supported like so:
This is not currently supported in the CD editor UI.
Beta Was this translation helpful? Give feedback.
All reactions