-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0ca158d
commit 57980df
Showing
24 changed files
with
446 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
Dota KV Package | ||
Author: Bhargav Patel | ||
Contributors: | ||
- Hex6 for his website with a wealth of information | ||
- The various unsung members of the community who have populated the wiki. I know Roy as one of them | ||
|
||
============================================================================================================================================ | ||
|
||
This package is under version control via Sublime Package Control. It will be updated automatically on your system when I update my repo. | ||
I plan on adding a plugin which adds more functionality later. There will be "Changelogs" to let you know what has been added/removed. | ||
|
||
|
||
|
||
Usage: | ||
|
||
- All modifier functions such as "ApplyModifier" are added as snippets. Simply type their name (first letter capital) and press TAB\ENTER | ||
- All constants are added as completions. They might not show up for you automatically, depending on your settings. | ||
- Simply type the name of your constant as closely as possible (I would type "state" to get "modifierState". This is not as strict in detection as Snippets.) | ||
- You will see popup list automatically (depends on settings). If not press CNTRL+SPACE | ||
- If you are feeling lucky, simlpy press TAB and it will be completed for you. You can cycle thruogh them by pressing tab over and over again | ||
|
||
|
||
List of Constants: | ||
Here is a list of all constants by type. Simply type the trigger (you dont need to type all of it, the order of words you type is not important unlike snippets) | ||
- Ability Behaviors TRIGGER: abilityBehavior | ||
- Modifier Names TRIGGER: modifierName (such as modifier_abaddon_aphotic_shield) | ||
- Modifier Events TRIGGER: modifierEvent (such as MODIFIER_EVENT_ON_ABILITY_END_CHANNEL) | ||
- Modifier States TRIGGER: modifierState (such as MODIFIER_STATE_DOMINATED) | ||
- Modifier Property TRIGGER: modifierProperty (such as MODIFIER_PROPERTY_ABSOLUTE_NO_DAMAGE_MAGICAL) | ||
- Particle Attachpoints TRIGGER: projectileAttach (such as DOTA_PROJECTILE_ATTACHMENT_ATTACK_3) | ||
- Unit Target TRIGGER: unitTarget (such as DOTA_UNIT_TARGET_CREEP) | ||
- Unit Target TEAM TRIGGER: unitTargetTeam (such as DOTA_UNIT_TARGET_TEAM_ENEMY) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
<snippet> | ||
<content><![CDATA["Modifiers" // Can be used to create custom modifier. | ||
{ // There are many snippets that can be expanded in to the modifiers. | ||
"${1:modifier_bro}" // This should be the name of your modifier | ||
{ | ||
// Refer to http://hex6.se/dota/modifier_functions.txt to see what snippets can be expanded in here. | ||
"IsDebuff" "${2:true}" | ||
"IsPurgable" "${3:false}" | ||
"IsStunDebuff" "${4:true}" | ||
"IsHidden" "${5:false}" | ||
//"AllowIllusionDuplicate" "${6:false}" | ||
//"EffectName" "${7:effect_name}" | ||
//"EffectAttachType" "${8:attach_hitloc}" | ||
//"OverrideAnimation" "${9:false}" | ||
//"ThinkInterval" "${10:10}" | ||
//"Duration" "${11:20}" | ||
//"Aura" "${12:true}" | ||
//"Aura_Teams" "${13:}" | ||
//"Aura_Radius" "${14:300}" | ||
//"Aura_Types" "${15:}" | ||
//"Aura_Flags" "${16:}" | ||
//"Aura_ApplyToCaster" "${17:0}" | ||
} | ||
} | ||
]]></content> | ||
<tabTrigger>Modifiers</tabTrigger> | ||
<scope>source.txt</scope> | ||
<description>Use to create custom modifiers</description> | ||
</snippet> | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<snippet> | ||
<content><![CDATA["OnOwnerDied" | ||
{ | ||
${1:[ACTIONS]} | ||
} | ||
]]></content> | ||
<tabTrigger>OnOwnerDied</tabTrigger> | ||
<scope>source.txt</scope> | ||
<description>Do something when the owner dies</description> | ||
</snippet> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<snippet> | ||
<content><![CDATA["OnOwnerSpawned" | ||
{ | ||
${1:[ACTIONS]} | ||
} | ||
]]></content> | ||
<tabTrigger>OnOwnerSpawned</tabTrigger> | ||
<scope>source.txt</scope> | ||
<description>Do something when the owner spawns</description> | ||
</snippet> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<snippet> | ||
<content><![CDATA["OnProjectileHit" | ||
{ | ||
${1:[ACTIONS]} | ||
} | ||
]]></content> | ||
<tabTrigger>OnProjectileHit</tabTrigger> | ||
<scope>source.txt</scope> | ||
<description>Do something when the given projectile hits</description> | ||
</snippet> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<snippet> | ||
<content><![CDATA["Orb" | ||
{ | ||
"Priority" ${1:[ORB PRIORITY]} // You may find all the possible priorities by using "orbPrio" completions | ||
"Label" ${2:[ORB LABEL]} // You may find all the possible priorities by using "orbLabel" completions | ||
} | ||
]]></content> | ||
<tabTrigger>Orb</tabTrigger> | ||
<scope>source.txt</scope> | ||
<description>Orb Modifier</description> | ||
</snippet> | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<snippet> | ||
<content><![CDATA["Properties" | ||
{ | ||
// You may use "modifierProperty" completions within quotes here. Below is an example | ||
"${1:MODIFIER_PROPERTY_ABSORB_SPELL}" | ||
} | ||
]]></content> | ||
<tabTrigger>Properties</tabTrigger> | ||
<scope>source.txt</scope> | ||
<description>Apply Modifier Properties</description> | ||
</snippet> | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<snippet> | ||
<content><![CDATA["SpendCharge" | ||
{ | ||
} | ||
]]></content> | ||
<tabTrigger>SpendCharge</tabTrigger> | ||
<scope>source.txt</scope> | ||
<description>Spend a stacked charge</description> | ||
</snippet> | ||
|
||
|
Oops, something went wrong.