View difference between Paste ID: 9g316n5A and Yp9a5k9g
SHOW: | | - or go back to the newest paste.
1-
"train_footman"
1+
"human_train_footman"
2
{
3
    "BaseClass"             "ability_datadriven"
4
    "AbilityTextureName"    "footman"
5
    "MaxLevel"              "1"
6
7
    "AbilityBehavior"    "DOTA_ABILITY_BEHAVIOR_NO_TARGET"
8
9
    "AbilityGoldCost"    "10"
10
    
11
    "OnSpellStart"
12
    {
13
14
        "SpawnUnit"
15
        {
16
            "UnitName"    "footman"
17
            "Target"      "CASTER"
18
            "UnitCount"   "1"
19
            "UnitLimit"   "0"
20
            "GrantsGold"  "1"
21
            "GrantsXP"    "1"
22
            "SpawnRadius" "100"
23
            "OnSpawn"
24
            {
25
                "ApplyModifier"
26
                {
27
                    "ModifierName" "modifier_phased"
28
                    "Target"       "TARGET"
29
                    "Duration"     "0.03"
30
                }
31
                "RunScript"
32
                {
33
                    "ScriptFile"    "buildings/rally_point.lua"
34
                    "Function"      "MoveToRallyPoint"
35
                }
36
            }
37
        }
38
    }
39
}