Помогите пожалуйста, хочу на пугне одну ульту оставить и изменить героя. Вроде всё правильно, но у пугны скилы обычные. Что делать?Спойлер: "npc_abilities_custom" // Dota Heroes File "DOTAAbilities" { "Version" "1" //================================================================================================================= // Ability: Pugna Life Drain //================================================================================================================= "my_pugna_life_drain" { // General //------------------------------------------------------------------------------------------------------------- // unique ID number for this ability. Do not change this once established or it will invalidate collected stats. "AbilityType" "DOTA_ABILITY_TYPE_ULTIMATE" "AbilityBehavior" "DOTA_ABILITY_BEHAVIOR_UNIT_TARGET | DOTA_ABILITY_BEHAVIOR_CHANNELLED | DOTA_ABILITY_BEHAVIOR_IGNORE_BACKSWING" "AbilityUnitTargetTeam" "DOTA_UNIT_TARGET_TEAM_ENEMY" "AbilityUnitTargetType" "DOTA_UNIT_TARGET_HERO | DOTA_UNIT_TARGET_BASIC" "AbilityUnitTargetFlags" "DOTA_UNIT_TARGET_FLAG_MAGIC_IMMUNE_ENEMIES | DOTA_UNIT_TARGET_FLAG_FOW_VISIBLE" "AbilityUnitDamageType" "DAMAGE_TYPE_MAGICAL" "FightRecapLevel" "1" // Casting //------------------------------------------------------------------------------------------------------------- "AbilityCastRange" "2000" "AbilityCastPoint" "0.2 0.2 0.2" "AbilityChannelTime" "10.0" // Time //------------------------------------------------------------------------------------------------------------- "AbilityCooldown" "0" // Cost //------------------------------------------------------------------------------------------------------------- "AbilityManaCost" "0" // Stats //------------------------------------------------------------------------------------------------------------- "AbilityModifierSupportValue" "0.0" // All about the damage // Special //------------------------------------------------------------------------------------------------------------- "AbilitySpecial" { "01" { "var_type" "FIELD_INTEGER" "health_drain" "500" } "02" { "var_type" "FIELD_INTEGER" "health_drain_scepter" "700" } "03" { "var_type" "FIELD_FLOAT" "scepter_cooldown" "0.0 0.0 0.0" } "04" { "var_type" "FIELD_FLOAT" "tick_rate" "0.25 0.25 0.25" } "05" { "var_type" "FIELD_INTEGER" "bonus_range_scepter" "200" } } } }
Спойлер: "npc_heroes_custom" // Dota Heroes File // NOTE: This is not for creating new heroes, this is for taking a currently existing hero as a template and overriding // the specified key-value combinations. Use override_hero
for this. "DOTAHeroes" { //================================================================================================================= // HERO: Pugna //================================================================================================================= "npc_dota_hero_pugna_template" { "override_hero" "npc_dota_hero_pugna" // Hero to override "Ability1" "my_pugna_life_drain" "MovementSpeed" "322" //speed "VisionNighttimeRange" "1200" "StatusManaRegen" "0" // Mana regeneration rate. "AttackCapabilities" "DOTA_UNIT_CAP_RANGED_ATTACK" "AttackDamageMin" "1" "AttackDamageMax" "2 " }