This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -11,18 +11,6 @@ declare interface CBaseAnimating extends CBaseModelEntity { | |
* Returns the duration in seconds of the active sequence. | |
*/ | |
ActiveSequenceDuration(): number; | |
- /** | |
- * Get the attachment id's angles as a p,y,r vector. | |
- */ | |
- GetAttachmentAngles(attachment: number): Vector; | |
- /** | |
- * Get the attachment id's forward vector. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -565,47 +565,14 @@ declare interface CBaseModelEntity extends CBaseEntity { | |
declare const CBasePlayer: DotaConstructor<CBasePlayer>; | |
declare interface CBasePlayer extends CBaseCombatCharacter { | |
- /** | |
- * Returns whether this player's chaperone bounds are visible. | |
- */ | |
- AreChaperoneBoundsVisible(): boolean; | |
- /** | |
- * Returns the HMD anchor entity for this player if it exists. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -294,6 +294,10 @@ | |
*/ | |
GetSoundDuration(soundname: string, actormodel: string): number; | |
/** | |
+ * Returns the spawn group handle of this entity. | |
+ */ | |
+ GetSpawnGroupHandle(): number; | |
+ /** | |
* Get the team number of this entity. | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"camera": { | |
"camera_1": 167, | |
"shot_camera": 56, | |
"hero_camera": 55, | |
"cardpackcamera": 6, | |
"herocamera": 5, | |
"shot_cameraA": 3, | |
"default_camera": 3, | |
"shot_cam": 2, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(async () => { | |
function fetch(url: string) { | |
return new Promise(resolve => { | |
$.AsyncWebRequest(url, { success: resolve }); | |
}); | |
} | |
async function fetchStrings() { | |
if ((GameUI.CustomUIConfig() as any).fetchedStrings) { | |
return (GameUI.CustomUIConfig() as any).fetchedStrings; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
+MODIFIER_EVENT_ON_DEATH_PREVENTED OnDamagePrevented | |
+MODIFIER_PROPERTY_ALWAYS_ETHEREAL_ATTACK GetAllowEtherealAttack | |
+MODIFIER_PROPERTY_BASE_ATTACK_TIME_CONSTANT_ADJUST GetModifierBaseAttackTimeConstant_Adjust | |
+MODIFIER_PROPERTY_COOLDOWN_PERCENTAGE_ONGOING GetModifierPercentageCooldownOngoing | |
+MODIFIER_PROPERTY_DAMAGEOUTGOING_PERCENTAGE_ILLUSION_AMPLIFY GetModifierDamageOutgoing_Percentage_Illusion_Amplify | |
+MODIFIER_PROPERTY_EXTRA_MANA_PERCENTAGE GetModifierExtraManaPercentage | |
+MODIFIER_PROPERTY_LIFESTEAL_AMPLIFY_PERCENTAGE GetModifierLifestealRegenAmplify_Percentage | |
+MODIFIER_PROPERTY_MAGICAL_RESISTANCE_BASE_REDUCTION GetModifierMagicalResistanceBaseReduction | |
+MODIFIER_PROPERTY_MAGICAL_RESISTANCE_BONUS_ILLUSIONS GetModifierMagicalResistanceBonusIllusions | |
+MODIFIER_PROPERTY_PHYSICAL_ARMOR_TOTAL_PERCENTAGE GetModifierPhysicalArmorTotal_Percentage |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function getFileScope(): [any, string] { | |
let level = 1; | |
while (true) { | |
const info = debug.getinfo(level, 'S'); | |
if (info && info.what === 'main') { | |
return [getfenv(level), info.source!]; | |
} | |
level += 1; | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export interface BaseAbility extends CDOTA_Ability_Lua {} | |
export class BaseAbility {} | |
export interface BaseItem extends CDOTA_Item_Lua {} | |
export class BaseItem {} | |
export interface BaseModifier extends CDOTA_Modifier_Lua {} | |
export class BaseModifier { | |
public static apply<T extends typeof BaseModifier>( | |
this: T, |