- 28 Июн 2018
- 119
- 2
- Проект
- s
Код:
"refraction"
{
// General
//-------------------------------------------------------------------------------------------------------------
"ID" "2222"
"BaseClass" "ability_datadriven"
"MaxLevel" "7"
"AbilityBehavior" "DOTA_ABILITY_BEHAVIOR_PASSIVE"
"AbilityTextureName" "refra"
// Special
//-------------------------------------------------------------------------------------------------------------
"AbilitySpecial"
{
"01"
{
"var_type" "FIELD_INTEGER"
"side_damage_reduction" "10 30 40 50 60 70 80"
}
"02"
{
"var_type" "FIELD_INTEGER"
"back_damage_reduction" "10 30 40 50 60 70 80"
}
"03"
{
"var_type" "FIELD_INTEGER"
"side_angle" "140"
}
"04"
{
"var_type" "FIELD_INTEGER"
"back_angle" "80"
}
"05"
{
"var_type" "FIELD_FLOAT"
"quill_release_threshold" "230.0"
}
}
"precache"
{
"particle" "particles/units/heroes/hero_bristleback/bristleback_side_dmg.vpcf"
"particle" "particles/units/heroes/hero_bristleback/bristleback_back_dmg.vpcf"
"soundfile" "soundevents/game_sounds_heroes/game_sounds_bristleback.vsndevts"
}
"Modifiers"
{
"modifier_bristleback"
{
"Passive" "1"
"IsHidden" "1"
"OnTakeDamage"
{
"RunScript"
{
"ScriptFile" "scripts/vscripts/heroes/hero_bristleback/bristleback.lua"
"Function" "bristleback_takedamage"
"Damage" "%attack_damage"
"back_particle" "particles/units/heroes/hero_bristleback/bristleback_back_dmg.vpcf"
"side_particle" "particles/units/heroes/hero_bristleback/bristleback_side_dmg.vpcf"
"sound" "Hero_Bristleback.Bristleback"
}
}
}
}
}