Skip to content

Commit 25cc672

Browse files
committed
@moddota/dota-data 0.43.0
1 parent 530f37d commit 25cc672

File tree

7 files changed

+1913
-1576
lines changed

7 files changed

+1913
-1576
lines changed

package-lock.json

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
},
3636
"devDependencies": {
3737
"@ark120202/eslint-config": "^2.5.0",
38-
"@moddota/dota-data": "^0.42.0",
38+
"@moddota/dota-data": "^0.43.0",
3939
"@types/fs-extra": "^9.0.4",
4040
"@types/lodash": "^4.14.165",
4141
"@types/node": "^20.14.8",

packages/dota-lua-types/types/api.generated.d.ts

Lines changed: 76 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3570,7 +3570,7 @@ declare interface CDOTA_Item extends CDOTABaseAbility {
35703570
SetSellable(sellable: boolean): void;
35713571
SetShareability(shareability: EShareAbility): void;
35723572
SetStacksWithOtherOwners(stacksWithOtherOwners: boolean): void;
3573-
SpendCharge(): void;
3573+
SpendCharge(delayRemove: number): void;
35743574
StacksWithOtherOwners(): boolean;
35753575
/**
35763576
* Think this item.
@@ -4254,6 +4254,11 @@ declare interface CDOTA_Modifier_Lua extends CDOTA_Buff {
42544254
* @both
42554255
*/
42564256
GetAttackSound?(): string;
4257+
/**
4258+
* @abstract
4259+
* @both
4260+
*/
4261+
GetBaseAttackPostBonus?(): void;
42574262
/**
42584263
* @abstract
42594264
* @both
@@ -4289,6 +4294,11 @@ declare interface CDOTA_Modifier_Lua extends CDOTA_Buff {
42894294
* @both
42904295
*/
42914296
GetDisableHealing?(): 0 | 1;
4297+
/**
4298+
* @abstract
4299+
* @both
4300+
*/
4301+
GetDisableManaGain?(): void;
42924302
/**
42934303
* @abstract
42944304
* @both
@@ -4309,6 +4319,11 @@ declare interface CDOTA_Modifier_Lua extends CDOTA_Buff {
43094319
* @both
43104320
*/
43114321
GetIsIllusion?(): 0 | 1;
4322+
/**
4323+
* @abstract
4324+
* @both
4325+
*/
4326+
GetMagicalArmorPiercingPercentageTarget?(): void;
43124327
/**
43134328
* @abstract
43144329
* @both
@@ -4843,6 +4858,16 @@ declare interface CDOTA_Modifier_Lua extends CDOTA_Buff {
48434858
* @both
48444859
*/
48454860
GetModifierIncomingSpellDamageConstant?(event: ModifierAttackEvent): number;
4861+
/**
4862+
* @abstract
4863+
* @both
4864+
*/
4865+
GetModifierInnateDamageBlockPctOverride?(): void;
4866+
/**
4867+
* @abstract
4868+
* @both
4869+
*/
4870+
GetModifierInventorySlotRestricted?(): void;
48464871
/**
48474872
* @abstract
48484873
* @both
@@ -5361,6 +5386,11 @@ declare interface CDOTA_Modifier_Lua extends CDOTA_Buff {
53615386
* @both
53625387
*/
53635388
GetModifierSpellAmplify_PercentageCreep?(): void;
5389+
/**
5390+
* @abstract
5391+
* @both
5392+
*/
5393+
GetModifierSpellAmplify_PercentageTarget?(): void;
53645394
/**
53655395
* @abstract
53665396
* @both
@@ -5436,6 +5466,11 @@ declare interface CDOTA_Modifier_Lua extends CDOTA_Buff {
54365466
* @both
54375467
*/
54385468
GetModifierTotal_ConstantBlock?(event: ModifierAttackEvent): number;
5469+
/**
5470+
* @abstract
5471+
* @both
5472+
*/
5473+
GetModifierTotal_ConstantBlockStacking?(): void;
54395474
/**
54405475
* @abstract
54415476
* @both
@@ -5496,11 +5531,21 @@ declare interface CDOTA_Modifier_Lua extends CDOTA_Buff {
54965531
* @both
54975532
*/
54985533
GetOverrideAttackMagical?(): 0 | 1;
5534+
/**
5535+
* @abstract
5536+
* @both
5537+
*/
5538+
GetPhysicalArmorPiercingPercentageTarget?(): void;
54995539
/**
55005540
* @abstract
55015541
* @both
55025542
*/
55035543
GetPrimaryStatDamageMultiplier?(): number;
5544+
/**
5545+
* @abstract
5546+
* @both
5547+
*/
5548+
GetRedirectSpell?(): void;
55045549
/**
55055550
* @abstract
55065551
* @both
@@ -5526,6 +5571,11 @@ declare interface CDOTA_Modifier_Lua extends CDOTA_Buff {
55265571
* @both
55275572
*/
55285573
GetSuppressTeleport?(): 0 | 1;
5574+
/**
5575+
* @abstract
5576+
* @both
5577+
*/
5578+
GetTierTokenReroll?(): void;
55295579
/**
55305580
* @abstract
55315581
* @both
@@ -5536,6 +5586,11 @@ declare interface CDOTA_Modifier_Lua extends CDOTA_Buff {
55365586
* @both
55375587
*/
55385588
GetUnitLifetimeFraction?(): number;
5589+
/**
5590+
* @abstract
5591+
* @both
5592+
*/
5593+
GetVisionDegreeRestriction?(): void;
55395594
/**
55405595
* @abstract
55415596
* @both
@@ -5546,6 +5601,11 @@ declare interface CDOTA_Modifier_Lua extends CDOTA_Buff {
55465601
* @both
55475602
*/
55485603
GetVisualZSpeedBaseOverride?(): void;
5604+
/**
5605+
* @abstract
5606+
* @both
5607+
*/
5608+
MinAttributeLevel?(): void;
55495609
/**
55505610
* @abstract
55515611
* @both
@@ -5643,6 +5703,11 @@ declare interface CDOTA_Modifier_Lua extends CDOTA_Buff {
56435703
* @both
56445704
*/
56455705
OnBuildingKilled?(event: ModifierInstanceEvent): void;
5706+
/**
5707+
* @abstract
5708+
* @both
5709+
*/
5710+
OnCleaveAttackLanded?(): void;
56465711
/**
56475712
* @abstract
56485713
* @both
@@ -5823,6 +5888,11 @@ declare interface CDOTA_Modifier_Lua extends CDOTA_Buff {
58235888
* @both
58245889
*/
58255890
OnTeleporting?(event: ModifierUnitEvent): void;
5891+
/**
5892+
* @abstract
5893+
* @both
5894+
*/
5895+
OnTierTokenRerolled?(): void;
58265896
/**
58275897
* @abstract
58285898
* @both
@@ -5833,6 +5903,11 @@ declare interface CDOTA_Modifier_Lua extends CDOTA_Buff {
58335903
* @both
58345904
*/
58355905
OnTooltip2?(): number;
5906+
/**
5907+
* @abstract
5908+
* @both
5909+
*/
5910+
OnTreeCutDown?(): void;
58365911
/**
58375912
* @abstract
58385913
* @both

0 commit comments

Comments
 (0)