Суть такая: за золото можно купить тролля жреца и добавить его в обычную волну крипов, с надеждой что он их будет хилить, но он этого не делает. Есть способы его заставить? Даже аура на ману не работает. Вот код кастомного юнита
Код:
"npc_dota_troll_priest"
{
// General
//----------------------------------------------------------------
"Model" "models/creeps/neutral_creeps/n_creep_forest_trolls/n_creep_forest_troll_high_priest.mdl" // Model.
"BaseClass" "npc_dota_creep_lane"
"SoundSet" "n_creep_Ranged"
"Level" "5"
"ModelScale" ".90"
"IsNeutralUnitType" "1"
// Abilities
//----------------------------------------------------------------
"Ability1" "forest_troll_high_priest_heal" // Ability 1
"Ability2" "forest_troll_high_priest_mana_aura" // Ability 2
// Armor
//----------------------------------------------------------------
"ArmorPhysical" "0" // Physical protection.
// Attack
//----------------------------------------------------------------
"AttackCapabilities" "DOTA_UNIT_CAP_RANGED_ATTACK"
"AttackDamageMin" "25" // Damage range min.
"AttackDamageMax" "32" // Damage range max.
"AttackRate" "1.8" // Speed of attack.
"AttackAnimationPoint" "0.3" // Normalized time in animation cycle to attack.
"AttackAcquisitionRange" "300" // Range within a target can be acquired.
"AttackRange" "600" // Range within a target can be attacked.
"ProjectileModel" "ranged_badguy" // Particle system model for projectile.
"ProjectileSpeed" "900" // Speed of projectile.
// Bounds
//----------------------------------------------------------------
"RingRadius" "50"
"HealthBarOffset" "170"
// Bounty
//----------------------------------------------------------------
"BountyXP" "41" // Experience earn.
"BountyGoldMin" "21" // Gold earned min.
"BountyGoldMax" "25" // Gold earned max.
// Movement
//----------------------------------------------------------------
"MovementCapabilities" "DOTA_UNIT_CAP_MOVE_GROUND"
"MovementSpeed" "290" // Speed.
// Status
//----------------------------------------------------------------
"StatusHealth" "450" // Base health.
"StatusHealthRegen" "0.5" // Health regeneration rate.
"StatusMana" "500" // Base mana.
"StatusManaRegen" "0.75" // Mana regeneration rate.
// Vision
//----------------------------------------------------------------
"VisionDaytimeRange" "1400" // Range of vision during day light.
"VisionNighttimeRange" "800" // Range of vision at night time.
// Team
//----------------------------------------------------------------
"TeamName" "DOTA_TEAM_GOODGUYS" // Team name.
"CombatClassAttack" "DOTA_COMBAT_CLASS_ATTACK_PIERCE"
"CombatClassDefend" "DOTA_COMBAT_CLASS_DEFEND_BASIC"
"UnitRelationshipClass" "DOTA_NPC_UNIT_RELATIONSHIP_TYPE_DEFAULT"
}
Последнее редактирование модератором: