bmddota / barebones

:meat_on_bone: A starter Dota 2 custom game with useful hooks, settings, and libraries.
Apache License 2.0
235 stars 128 forks source link

add smart defaults for UnitTest #9

Open erratic-pattern opened 9 years ago

erratic-pattern commented 9 years ago

makes the default UnitTest check for keys on the projectile table to determine targeting. also adds an Ability key that can be used to inherit targeting rules from an ability.

erratic-pattern commented 9 years ago

Updated this patch: Caster property was removed (just uses Source instead), and defaults should now work properly with all combinations of Ability + iUnitTarget* options. Let me know if you need/want anything changed.