Юнит не использует скиллы.

Реклама:

The_Se

Новичок
13 Июл 2018
1
0
1
16
Проект
ADVENTURES OF HEROES PART1 (2)
Реакции
0 0 0
#1
Не знаю в чем ошибка, но что я тока я с ним не делал, он не как не хотел кастовать.

Код:
            "Creature"
            {
                "DefaultState"  "Invade"
                "states"
                {
                    "Invade"
                    {
                      "name" "Invade"
                      "Aggression" "100"
                      "Avoidance" "0"
                      "Support" "100"
                      "RoamDistance" "0"
                    }
                }           
                "OffensiveAbilities"
                {
                    "Ability1"
                    {
                        "Name" "centaur_khan_war_stomp"
                        "AOE" "1"
                        "Radius" "550"
                        "MinimumTargets" "1"
                        "Debuff" "1"
                        "Stun" "1"
                    }
                    "Ability2"
                    {
                        "Name" "venomancer_poison_nova"
                        "AOE" "1"
                        "Radius" "700"
                        "MinimumTargets" "1"
                        "Debuff" "1"
                        "UseAtHealthPercent" "70"
                    }
                }
            }
"Creep_Boss_6"
{
// General
//----------------------------------------------------------------
"BaseClass" "npc_dota_creature" // Базовый класс
"Model" "models/items/wraith_king/wk_ti8_creep/wk_ti8_creep.vmdl" // Модель
"ModelScale" "2.1" // Размер модели
"Level" "25" // Уровень
"IsAncient" "1"
"HealthBarOffset" "120" // Насколько высоко будет хп бар
"HasInventory" "0" // Имеет ли инвентарь
// Abilities
//----------------------------------------------------------------
"Ability1" "centaur_khan_war_stomp"
"Ability2" "venomancer_poison_nova"
"Ability3" "elder_titan_natural_order"

// Armor
//----------------------------------------------------------------
"ArmorPhysical" "55"
"MagicalResistance" "86"

// Attack
//----------------------------------------------------------------
"AttackCapabilities" "DOTA_UNIT_CAP_MELEE_ATTACK"
"AttackDamageType" "DAMAGE_TYPE_ArmorPhysical"
"AttackDamageMin" "2000.0"
"AttackDamageMax" "2000.0"
"AttackRate" "0.35"
"AttackAnimationPoint" "0.5"
"AttackAcquisitionRange" "500"
"AttackRange" "70"

// Bounty
//----------------------------------------------------------------
"BountyGoldMin" "0"
"BountyGoldMax" "0"
"BountyXp" "0"
// Bounds
//----------------------------------------------------------------
"BoundsHullName" "DOTA_HULL_SIZE_HERO"
"RingRadius" "70"

// Movement
//----------------------------------------------------------------
"MovementCapabilities" "DOTA_UNIT_CAP_MOVE_GROUND"
"MovementSpeed" "420"
"MovementTurnRate" "0.6"

// Status
//----------------------------------------------------------------
"StatusHealth" "40500"
"StatusHealthRegen" "50.25"
"StatusMana" "1000"
"StatusManaRegen" "100"

// Vision
//----------------------------------------------------------------
"VisionDaytimeRange" "1000"
"VisionNighttimeRange" "1000"

// Team
//----------------------------------------------------------------
"TeamName" "DOTA_TEAM_NEUTRALS"
"CombatClassAttack" "DOTA_COMBAT_CLASS_ATTACK_BASIC"
"CombatClassDefend" "DOTA_COMBAT_CLASS_DEFEND_STRONG"
"UnitRelationShipClass" "DOTA_NPC_UNIT_RELATIONSHIP_TYPE_DEFAULT"
"Creature"
{
"DefaultState" "Invade"
"states"
{
"Invade"
{
"name" "Invade"
"Aggression" "100"
"Avoidance" "0"
"Support" "100"
"RoamDistance" "0"
}
}
"OffensiveAbilities"
{
"Ability1"
{
"Name" "centaur_khan_war_stomp"
"AOE" "1"
"Radius" "550"
"MinimumTargets" "1"
"Debuff" "1"
"Stun" "1"
}
"Ability2"
{
"Name" "venomancer_poison_nova"
"AOE" "1"
"Radius" "700"
"MinimumTargets" "1"
"Debuff" "1"
"UseAtHealthPercent" "70"
}
}
}
}
 
Реклама: