Skip to content

Commit

Permalink
Frostivus 2023 update (#34)
Browse files Browse the repository at this point in the history
* Frostivus 2023 update

* Actually use a good dumper file

* Fix unit tests

* Fix prettier formatting
  • Loading branch information
Shushishtok authored Dec 16, 2023
1 parent 04fa07a commit 5ffd830
Show file tree
Hide file tree
Showing 9 changed files with 1,921 additions and 1,496 deletions.
1 change: 1 addition & 0 deletions build/vscripts/api/data/modifier-properties.ts
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,7 @@ const modifiersData: Record<string, [ArgumentType, apiTypes.Type[], string?]> =
OnBuildingKilled: ['ModifierInstanceEvent', ['nil']],
OnDamageCalculated: ['ModifierAttackEvent', ['nil']],
OnDeath: ['ModifierInstanceEvent', ['nil']],
OnDeathCompleted: ['ModifierInstanceEvent', ['nil']],
OnDominated: ['ModifierUnitEvent', ['nil']],
OnHealReceived: ['ModifierHealEvent', ['nil']],
OnHealthGained: ['ModifierHealEvent', ['nil']],
Expand Down
2,181 changes: 1,199 additions & 982 deletions dumper/dump

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions files/engine-enums.json
Original file line number Diff line number Diff line change
Expand Up @@ -6362,6 +6362,10 @@
"name": "DOTA_ABILITY_BEHAVIOR_AUTOCAST",
"shortName": "AUTOCAST"
},
{
"name": "DOTA_ABILITY_BEHAVIOR_BREAK_DISABLES",
"shortName": "BREAK_DISABLES"
},
{
"name": "DOTA_ABILITY_BEHAVIOR_CAN_SELF_CAST",
"shortName": "CAN_SELF_CAST"
Expand Down
22 changes: 22 additions & 0 deletions files/events.json
Original file line number Diff line number Diff line change
Expand Up @@ -2009,6 +2009,17 @@
}
]
},
{
"name": "dota_tower_deny",
"sourceFile": "game",
"local": false,
"fields": [
{
"name": "killer_userid",
"type": "EntityIndex"
}
]
},
{
"name": "dota_effigy_kill",
"sourceFile": "game",
Expand Down Expand Up @@ -2054,6 +2065,17 @@
}
]
},
{
"name": "dota_banner_planted",
"sourceFile": "game",
"local": false,
"fields": [
{
"name": "teamnumber",
"type": "short"
}
]
},
{
"name": "dota_courier_lost",
"sourceFile": "game",
Expand Down
Loading

0 comments on commit 5ffd830

Please sign in to comment.