что не так с кодом

zitraxmodecontenter

Пользователь
"DOTAAbilities"

{


//=================================================================================================================
// Recipe: Ethereal Blade
//=================================================================================================================
"item_recipe_ethereal_blade"
{
// General
//-------------------------------------------------------------------------------------------------------------
"ID" "175" // unique ID number for this item. Do not change this once established or it will invalidate collected stats.

// Item Info
//-------------------------------------------------------------------------------------------------------------
"ItemCost" "0"
"ItemShopTags" ""

// Recipe
//-------------------------------------------------------------------------------------------------------------
"ItemRecipe" "1"
"ItemResult" "item_ethereal_blade"
"ItemRequirements"
{
"01" "item_eagle;item_ghost*"
}
}

//=================================================================================================================
// Ethereal Blade
//=================================================================================================================
"item_ethereal_blade"
{
// General
//-------------------------------------------------------------------------------------------------------------
"ID" "176" // unique ID number for this item. Do not change this once established or it will invalidate collected stats.
"AbilityBehavior" "DOTA_ABILITY_BEHAVIOR_UNIT_TARGET | DOTA_ABILITY_BEHAVIOR_DONT_RESUME_ATTACK"
"AbilityUnitTargetTeam" "DOTA_UNIT_TARGET_TEAM_ENEMY | DOTA_UNIT_TARGET_TEAM_FRIENDLY"
"AbilityUnitTargetType" "DOTA_UNIT_TARGET_HERO | DOTA_UNIT_TARGET_CREEP"
"AbilityUnitTargetFlags" "DOTA_UNIT_TARGET_FLAG_NOT_MAGIC_IMMUNE_ALLIES"
"FightRecapLevel" "1"
"SpellDispellableType" "SPELL_DISPELLABLE_YES"

// Stats
//-------------------------------------------------------------------------------------------------------------
"AbilityCastRange" "800"
"AbilityCastPoint" "0.0"
"AbilityCooldown" "22.0"
"AbilitySharedCooldown" "ethereal"

// Item Info
//-------------------------------------------------------------------------------------------------------------
"AbilityManaCost" "100"
"ItemCost" "4300"
"ItemShopTags" "agi;str;int;hard_to_tag"
"ItemQuality" "epic"
"ItemDisassembleRule" "DOTA_ITEM_DISASSEMBLE_ALWAYS"
"ItemAliases" "eb;ethereal blade;eblade"
"ItemDeclarations" "DECLARE_PURCHASES_TO_TEAMMATES | DECLARE_PURCHASES_TO_SPECTATORS"
"ShouldBeSuggested" "1"

// Special
//-------------------------------------------------------------------------------------------------------------
"AbilityValues"
{
"bonus_agility" "40"
"bonus_strength" "5"
"bonus_intellect" "5"
"spell_amp" "0"
"spell_lifesteal_amp" "0"
"mana_regen_multiplier" "0"
"blast_movement_slow" "-80"
"duration" "4.0"
"blast_agility_multiplier" "1.5"
"blast_damage_base" "50"
"duration_ally" "4.0"
"ethereal_damage_bonus" "-50"
"projectile_speed" "1275"

}
}

"item_aghanims_shard"
{
// General
//-------------------------------------------------------------------------------------------------------------
"ID" "609" // unique ID number for this item. Do not change this once established or it will invalidate collected stats.
"AbilityBehavior" "DOTA_ABILITY_BEHAVIOR_PASSIVE"

// Item Info
//-------------------------------------------------------------------------------------------------------------
"ItemCost" "1400"
"ItemShopTags" "int;str;agi;mana_pool;health_pool;hard_to_tag"
"ItemQuality" "rare"
"ItemAliases" "ags;shard;aghanim's shard;aghs"
"InvalidHeroes" "npc_dota_hero_hoodwink"
//"ItemDisassembleRule" "DOTA_ITEM_DISASSEMBLE_NEVER" // heroes for whom this is a problem solve it in their code - ogre magi, meepo


"ItemPermanent" "0"
"ItemStockTime" "-1"
"ItemStockInitial" "1"
"ItemStockMax" "69"
"ItemInitialStockTime" "0"
"ItemInitialStockTimeTurbo" "0"
}
}

//=================================================================================================================
// Recipe: Bloodstone
//=================================================================================================================
"item_recipe_bloodstone"
{
// General
//-------------------------------------------------------------------------------------------------------------
"ID" "120" // unique ID number for this item. Do not change this once established or it will invalidate collected stats.
"Model" "models/props_gameplay/recipe.vmdl"

// Item Info
//-------------------------------------------------------------------------------------------------------------
"ItemCost" "0"
"ItemShopTags" ""

// Recipe
//-------------------------------------------------------------------------------------------------------------
"ItemRecipe" "1"
"ItemResult" "item_bloodstone"
"ItemRequirements"
{
"01" "item_kaya;item_soul_booster"
}
}

//=================================================================================================================
// Bloodstone
//=================================================================================================================
"item_bloodstone"
{
// General
//-------------------------------------------------------------------------------------------------------------
"ID" "121" // unique ID number for this item. Do not change this once established or it will invalidate collected stats.
"AbilityBehavior" "DOTA_ABILITY_BEHAVIOR_NO_TARGET"
"FightRecapLevel" "2"

// Stats
//-------------------------------------------------------------------------------------------------------------
"AbilityCastPoint" "0.0"
"AbilityCooldown" "250.0"

// Item Info
//-------------------------------------------------------------------------------------------------------------
"ItemCost" "5050"
"ItemShopTags" "regen_health;regen_mana;mana_pool;health_pool"
"ItemQuality" "epic"
"ItemAliases" "bs;bloodstone"
"ItemInitialCharges" "14"
"ItemDisplayCharges" "1"
"ItemDeclarations" "DECLARE_PURCHASES_TO_TEAMMATES | DECLARE_PURCHASES_IN_SPEECH | DECLARE_PURCHASES_TO_SPECTATORS"
"AllowedInBackpack" "0"
"ShouldBeSuggested" "1"

// Special
//-------------------------------------------------------------------------------------------------------------
"AbilitySpecial"
{
"01"
{
"var_type" "FIELD_INTEGER"
"bonus_health" "425"
}
"02"
{
"var_type" "FIELD_INTEGER"
"bonus_mana" "425"
}
"03"
{
"var_type" "FIELD_INTEGER"
"bonus_intellect" "16"
}
"04"
{
"var_type" "FIELD_INTEGER"
"manacost_reduction" "12"
}
"05"
{
"var_type" "FIELD_INTEGER"
"spell_amp" "8"
}
"06"
{
"var_type" "FIELD_INTEGER"
"mana_regen_multiplier" "100"
}
"07"
{
"var_type" "FIELD_FLOAT"
"regen_per_charge" "0.2"
}
"08"
{
"var_type" "FIELD_FLOAT"
"amp_per_charge" "0.35"
}
"09"
{
"var_type" "FIELD_INTEGER"
"death_charges" "3"
}
"10"
{
"var_type" "FIELD_INTEGER"
"kill_charges" "1"
}
"11"
{
"var_type" "FIELD_INTEGER"
"charge_range" "1600"
}
"12"
{
"var_type" "FIELD_INTEGER"
"initial_charges_tooltip" "14"
}
"13"
{
"var_type" "FIELD_INTEGER"
"mana_cost_percentage" "30"
}
"14"
{
"var_type" "FIELD_FLOAT"
"restore_duration" "2.0"
}
}
}
Бладстоун не пашет, не понимаю че ни так, допомогу плз если не жалко

файл с айтемами если че
 

I_Explorer

Друзья CG
30 Июл 2016
318
16
Проект
Жизнь в тюрьме
Бладстоун не пашет, не понимаю че ни так, допомогу плз если не жалко

файл с айтемами если че
Если тебе нужно просто поменять циферки то вот код бладстоуна:
Код:
"item_bloodstone"
    {
        // General
        //-------------------------------------------------------------------------------------------------------------
        "ID"                            "121"                                                        // unique ID number for this item.  Do not change this once established or it will invalidate collected stats.       
        "AbilityBehavior"                "DOTA_ABILITY_BEHAVIOR_NO_TARGET"
        "FightRecapLevel"                "2"

        // Stats
        //-------------------------------------------------------------------------------------------------------------
        "AbilityCastPoint"                "0.0"
        "AbilityCooldown"                "30.0"
        "AbilityManaCost"                "0"
        "AbilityUnitDamageType"            "DAMAGE_TYPE_MAGICAL"   

        // Item Info
        //-------------------------------------------------------------------------------------------------------------
        "ItemCost"                        "4400"
        "ItemShopTags"                    "regen_health;regen_mana;mana_pool;health_pool"
        "ItemQuality"                    "epic"
        "ItemAliases"                    "bs;bloodstone"
        "ItemDeclarations"                "DECLARE_PURCHASES_TO_TEAMMATES | DECLARE_PURCHASES_IN_SPEECH | DECLARE_PURCHASES_TO_SPECTATORS"
        "AllowedInBackpack"                "1"
        "ShouldBeSuggested"                "1"
        
        // Special   
        //-------------------------------------------------------------------------------------------------------------
        "AbilityValues"
        {
                "bonus_health"            "550"
                "bonus_mana"            "550"
                "spell_lifesteal"        "30"
                "buff_duration"            "6"
                "lifesteal_multiplier"    "2.5"
                "hp_cost"                "0"
        }
    }
Если опять возникнет эта проблема, то итемы ищи тут \Steam\steamapps\common\dota 2 beta\game\dota\pak01_dir.vpk\scripts\npc\items.txt
Но если валв его опять кардинально изменят тебе снова придется все менять, поэтому лучше сделай свой итем.
 
Реклама: