Skip to content

Instantly share code, notes, and snippets.

@sklink
Created September 25, 2015 05:19
Show Gist options
  • Save sklink/82e79c0e77da7f016d4f to your computer and use it in GitHub Desktop.
Save sklink/82e79c0e77da7f016d4f to your computer and use it in GitHub Desktop.
{
"refId": 0,
"name": "hero_ability",
"localized_name": "Ability",
"cast": {
"point": 0,
"backswing": 0,
"type": ["single"],
"range": 0
},
"mana_cost": [50, 60, 70, 80],
"cooldown": [0],
"interrupts_channeling": [true, false],
"disjoints_projectiles": [true, false],
"triggered_by": {
"passively": [{
"type": "threshold_life",
"amount": 0,
"prevented_by": ["break", "damage_greater_than_health", "instant_kill"]
}],
"actively": [{
"type": "cast",
"prevented_by": ["silence", "hex"]
}]
},
"effects": [{
"localId": 0,
"order": 0,
"target": ["self", "enemy_units", "allied_units", "units"],
"target_type": ["single"],
"triggered_by": [{
"type": "dispel",
"strength": "any"
}, {
"type": "damage",
"amount": [0]
}, {
"type": "duration",
"amount": 0
}],
"blocked_by_spell_immunity": [true, false],
"blocked_by_linkens": [true, false],
"cast_on_siege": [true, false],
"affects_invisible_units": [true, false],
"affects_fog_units": [true, false],
"affects_illusions": ["self", "enemies", "allies"],
"type": ["damage", "heal", "dispel", "damage_prevention"],
"damage": {
"aoe": {
"radius": 0,
"from": ["caster", "target"]
},
"type": ["magical", "pure"],
"amount": {
"type": ["amount", "percent"],
"value": 0
},
"lethal": [true, false]
},
"heal": {
"amount": {
"type": ["amount", "percent"],
"value": 0
}
},
"dispel": {
"strength": ["basic", "strong", "special"]
},
"damage_prevention": {
"amount": 0,
"priority": 0,
"stacks": [true, false],
"full_negate": [true, false],
"duration": 0,
"dispellable": ["basic", "strong", "special"]
},
"movement_speed": {
"type": ["increase", "decrease"],
"amount": {
"type": ["amount", "percent"],
"value": 0
},
"duration": 0,
"dispellable": ["basic", "strong", "special"]
},
"attack_speed": {
"type": ["increase", "decrease"],
"amount": {
"type": ["amount", "percent"],
"value": 0
},
"duration": 0,
"dispellable": ["basic", "strong", "special"],
"affects_buildings": [true, false]
}
}],
"description": "",
"flavor": "",
"hotkey": ["q"]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment