7.07 change summary

edited November 3 in General

Added

CDOTABaseGameMode: GetRespawnTimeScale () Returns the scale applied to non-fixed respawn times. CDOTABaseGameMode: SetRespawnTimeScale (flValue) Sets the scale applied to non-fixed respawn times. 1 = default DOTA respawn calculations.

CDOTA_BaseNPC: GetBonusManaRegen () This Mana regen is derived from constant bonuses like Basilius. CDOTA_BaseNPC: GetManaRegenMultiplier () Returns mana regen rate per intelligence. CDOTA_BaseNPC: IsUntargetable ()

CDOTA_BaseNPC_Hero: GetBaseManaRegen () Returns the base mana regen. CDOTA_BaseNPC_Hero: GetManaRegenMultiplier () Returns the intelligenced based mana regen multiplier.

CPointClientUIWorldPanel: IsGrabbable () Returns whether this entity is grabbable.

MODIFIER_PROPERTY_SPELL_AMPLIFY_PERCENTAGE_UNIQUE GetModifierSpellAmplify_PercentageUnique MODIFIER_PROPERTY_STATUS_RESISTANCE GetModifierStatusResistance MODIFIER_PROPERTY_STATUS_RESISTANCE_STACKING GetModifierStatusResistanceStacking MODIFIER_PROPERTY_CAST_RANGE_BONUS_TARGET GetModifierCastRangeBonusTarget MODIFIER_PROPERTY_ATTACK_RANGE_BASE_OVERRIDE GetModifierAttackRangeOverride MODIFIER_PROPERTY_PROJECTILE_NAME GetModifierProjectileName MODIFIER_PROPERTY_MANACOST_PERCENTAGE_STACKING GetModifierPercentageManacostStacking MODIFIER_PROPERTY_UNIT_DISALLOW_UPGRADING GetModifierUnitDisllowUpgrading MODIFIER_PROPERTY_DODGE_PROJECTILE GetModifierDodgeProjectile MODIFIER_PROPERTY_HEALTH_REGEN_PERCENTAGE_UNIQUE GetModifierHealthRegenPercentageUnique

MODIFIER_STATE_UNTARGETABLE

Deleted

CDOTA_BaseNPC: GetConstantBasedManaRegen ()

CDOTA_BaseNPC: GetPercentageBasedManaRegen ()

CDOTA_BaseNPC: GetStatsBasedManaRegen ()

CDOTA_BaseNPC_Hero: GetHealthRegen ()

CDOTA_BaseNPC_Hero: GetManaRegen ()

CDOTA_BaseNPC_Hero: GetStatsBasedManaRegen ()

MODIFIER_PROPERTY_MANA_REGEN_PERCENTAGE

Changed

CDOTA_BaseNPC_Hero: RespawnHero (bBuyBack, bIsActuallyBeingSpawnedForTheFirstTime, bRespawnPenalty) -> CDOTA_BaseNPC_Hero: RespawnHero (bBuyBack, bRespawnPenalty)

Credits to Russia: https://customgames.ru/forum/threads/Изменения-lua-api-в-патче-7-07.1305/

Comments

  • edited November 3 Posts: 2

    If only they didn't remove that percentage mana regen.

  • Posts: 149

    Currently there is no way to modify the % HP/MP regen multipliers from STR or INT. If you want to remove them, you are forced to use a custom attributes system

  • Posts: 271

    I saw this now in latest update:

    • Added support for overriding the constants of Strength, Agility, and Intelligence derived stats in custom games.

    I don't have time to see what exactly they added.

  • edited November 10 Posts: 132

    CDOTABaseGameMode:GetCustomAttributeDerivedStatValue(nDerivedStatType) CDOTABaseGameMode:SetCustomAttributeDerivedStatValue(nStatType,flNewValue)

    DOTA_ATTRIBUTE_STRENGTH_DAMAGE

    DOTA_ATTRIBUTE_STRENGTH_HP

    DOTA_ATTRIBUTE_STRENGTH_HP_REGEN_PERCENT

    DOTA_ATTRIBUTE_STRENGTH_STATUS_RESISTANCE_PERCENT

    DOTA_ATTRIBUTE_AGILITY_DAMAGE

    DOTA_ATTRIBUTE_AGILITY_ARMOR

    DOTA_ATTRIBUTE_AGILITY_ATTACK_SPEED

    DOTA_ATTRIBUTE_AGILITY_MOVE_SPEED_PERCENT

    DOTA_ATTRIBUTE_INTELLIGENCE_DAMAGE

    DOTA_ATTRIBUTE_INTELLIGENCE_MANA

    DOTA_ATTRIBUTE_INTELLIGENCE_MANA_REGEN_PERCENT

    DOTA_ATTRIBUTE_INTELLIGENCE_SPELL_AMP_PERCENT

    DOTA_ATTRIBUTE_INTELLIGENCE_MAGIC_RESISTANCE_PERCENT

    MODIFIER_PROPERTY_OVERRIDE_ATTACK_DAMAGE GetModifierOverrideAttackDamage

    No more attribute bonus modify :D