- 4 Окт 2014
- 473
- 2
Код:
"pudge_reapers_scythe_datadriven"
{
// General
//-------------------------------------------------------------------------------------------------------------
"BaseClass" "ability_datadriven"
"AbilityType" "DOTA_ABILITY_TYPE_ULTIMATE"
"AbilityBehavior" "DOTA_ABILITY_BEHAVIOR_UNIT_TARGET"
"AbilityUnitTargetTeam" "DOTA_UNIT_TARGET_TEAM_ENEMY"
"AbilityUnitTargetType" "DOTA_UNIT_TARGET_HERO"
"AbilityUnitTargetFlags" "DOTA_UNIT_TARGET_FLAG_MAGIC_IMMUNE_ENEMIES"
"SpellImmunityType" "SPELL_IMMUNITY_ENEMIES_YES"
"AbilityUnitDamageType" "DAMAGE_TYPE_PURE"
"FightRecapLevel" "2"
"AbilityTextureName" "rsyche"
// Precache
//-------------------------------------------------------------------------------------------------------------
"precache"
{
"soundfile" "soundevents/game_sounds_heroes/game_sounds_necrolyte.vsndevts"
"particle" "particles/units/heroes/hero_necrolyte/necrolyte_scythe.vpcf"
"particle" "particles/units/heroes/hero_necrolyte/necrolyte_scythe_model.vpcf"
"particle" "particles/units/heroes/hero_necrolyte/necrolyte_scythe_orig.vpcf"
"particle" "particles/generic_gameplay/generic_stunned.vpcf"
}
// Casting
//-------------------------------------------------------------------------------------------------------------
"AbilityCastPoint" "0.5 0.5 0.5"
// Time
//-------------------------------------------------------------------------------------------------------------
"AbilityCooldown" "95 75 60"
// Cost
//-------------------------------------------------------------------------------------------------------------
"AbilityManaCost" "375 840 1300"
// Cast Range
//-------------------------------------------------------------------------------------------------------------
"AbilityCastRange" "600"
// Stats
//-------------------------------------------------------------------------------------------------------------
"AbilityModifierSupportValue" "0.1" // Primarily about the damage
// Special
//-------------------------------------------------------------------------------------------------------------
"AbilitySpecial"
{
"01"
{
"var_type" "FIELD_FLOAT"
"damage" "20 35 40"
}
"02"
{
"var_type" "FIELD_FLOAT"
"stun_duration" "1.5 1.5 1.5"
}
"03"
{
"var_type" "FIELD_INTEGER"
"mana_cost_scepter" "150 340 500"
}
"04"
{
"var_type" "FIELD_FLOAT"
"cooldown_scepter" "70"
}
"05"
{
"var_type" "FIELD_FLOAT"
"damage_per_health_scepter" "0.6 0.9 1.2"
}
"06"
{
"var_type" "FIELD_FLOAT"
"respawn" "0.0"
}
"07"
{
"var_type" "FIELD_INTEGER"
"respawn_constant" "30"
}
}
"OnSpellStart"
{
"ApplyModifier"
{
"ModifierName" "modifier_reapers_scythe_datadriven"
"Target"
{
"Center" "TARGET"
"Teams" "DOTA_UNIT_TARGET_TEAM_ENEMY"
"Types" "DOTA_UNIT_TARGET_HERO"
"Flags" "DOTA_UNIT_TARGET_FLAG_MAGIC_IMMUNE_ENEMIES"
}
}
"ApplyModifier"
{
"ModifierName" "modifier_item_ghost_datadriven_active2"
"Target"
{
"Center" "TARGET"
"Teams" "DOTA_UNIT_TARGET_TEAM_ENEMY"
"Types" "DOTA_UNIT_TARGET_HERO"
"Flags" "DOTA_UNIT_TARGET_FLAG_MAGIC_IMMUNE_ENEMIES"
}
}
"FireEffect"
{
"EffectName" "particles/units/heroes/hero_lion/lion_spell_finger_of_death.vpcf"
"EffectAttachType" "start_at_customorigin"
"ControlPointEntities"
{
"CASTER" "attach_attack1"
"TARGET" "attach_hitloc"
}
}
"FireSound"
{
"EffectName" "Hero_Winter_Wyvern.WintersCurse.Cast"
"Target" "CASTER"
}
"FireSound"
{
"EffectName" "Hero_Winter_Wyvern.WintersCurse.Target"
"Target" "TARGET"
}
"FireSound"
{
"EffectName" "Hero_Nevermore.RequiemOfSouls.Damage"
"Target" "TARGET"
}
"DelayedAction"
{
"Delay" "%stun_duration"
"Action"
{
"FireEffect"
{
"EffectName" "particles/units/heroes/hero_necrolyte/necrolyte_scythe_orig.vpcf"
"EffectAttachType" "start_at_customorigin"
"ControlPointEntities"
{
"TARGET" "follow_origin"
"TARGET" "follow_origin"
}
}
"Damage"
{
"Type" "DAMAGE_TYPE_PURE"
"MaxHealthPercentBasedDamage" "%damage"
"Target" "TARGET"
}
}
}
}
"Modifiers"
{
"modifier_item_ghost_datadriven_active2"
{
"Duration" "3"
"Passive" "0"
"IsHidden" "0"
"IsBuff" "1"
"IsDebuff" "0"
"IsPurgable" "1"
"StatusEffectName" "particles/status_fx/status_effect_ghost.vpcf"
"StatusEffectPriority" "15"
"EffectName" "particles/items_fx/ghost.vpcf"
"EffectAttachType" "PATTACH_ABSORIGIN"
"States"
{
"MODIFIER_STATE_DISARMED" "MODIFIER_STATE_VALUE_ENABLED"
"MODIFIER_STATE_NOT_ON_MINIMAP_FOR_ENEMIES" "MODIFIER_STATE_VALUE_ENABLED"
}
}
"modifier_reapers_scythe_datadriven"
{
"IsDebuff" "1"
"Duration" "%stun_duration"
"OverrideAnimation" "ACT_DOTA_DISABLED"
"EffectName" "particles/generic_gameplay/generic_stunned.vpcf"
"EffectAttachType" "follow_overhead"
"OnCreated"
{
"DelayedAction"
{
// Scythe animation has a 0.7 sec travel time
"Delay" "%stun_duration - 0.7"
"Action"
{
"FireEffect"
{
"EffectName" "particles\items_fx\ethereal_blade_explosion.vpcf"
"EffectAttachType" "follow_origin"
"ControlPointEntities"
{
"CASTER" "follow_origin"
"TARGET" "follow_origin"
}
}
}
}
"AttachEffect"
{
"EffectName" "particles\units\heroes\hero_winter_wyvern\wyvern_splinter_explosion.vpcf"
"EffectAttachType" "follow_origin"
"Target" "TARGET"
}
}
"States"
{
"MODIFIER_STATE_STUNNED" "MODIFIER_STATE_VALUE_ENABLED"
"MODIFIER_STATE_ATTACK_IMMUNE" "MODIFIER_STATE_VALUE_ENABLED"
}
}
}
}
Не могу понять в чем проблема) Помогите пожалуйста)
Последнее редактирование модератором: