Skip to content

Instantly share code, notes, and snippets.

@Numbers11
Created May 7, 2014 21:51
Show Gist options
  • Save Numbers11/3cb4a8834260e3a76cfa to your computer and use it in GitHub Desktop.
Save Numbers11/3cb4a8834260e3a76cfa to your computer and use it in GitHub Desktop.
"test_magic_orb_cast"
{
// General
//-------------------------------------------------------------------------------------------------------------
"BaseClass" "ability_datadriven"
"AbilityBehavior" "DOTA_ABILITY_BEHAVIOR_POINT"
"AbilityTextureName" "dark_seer_wall_of_replica"
"AbilityCooldown" "2.0"
"AbilityCastPoint" "0.0 0.0 0.0 0.0"
"precache"
{
"particlefile" "particles/econ/generic/generic_aoe_explosion_sphere_1.pcf"
}
"OnSpellStart"
{
"SpawnUnit"
{
"UnitName" "npc_test_magic_orb"
"UnitCount" "1"
"SpawnRadius" "100"
"Target" "POINT"
"OnSpawn"
{
"RunScript"
{
"ScriptFile" "scripts/vscripts/test/test.lua"
"Function" "magicOrbOnSpawn"
"Target" "TARGET"
}
"FireEffect"
{
"Target" "TARGET"
"EffectName" "generic_aoe_explosion_sphere_1"
"EffectAttachType" "follow_origin"
"EffectRadius" "200"
"EffectDurationScale" "1"
"EffectLifeDurationScale" "1"
"EffectColorA" "256 64 40"
"EffectColorB" "255 255 255"
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment