Skip to content

Commit

Permalink
Finished Hex6s modifier functions
Browse files Browse the repository at this point in the history
  • Loading branch information
bhargavrpatel committed Aug 14, 2014
1 parent 0ca158d commit 57980df
Show file tree
Hide file tree
Showing 24 changed files with 446 additions and 5 deletions.
34 changes: 34 additions & 0 deletions Welcome.txt
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)


167 changes: 164 additions & 3 deletions constants.sublime-completions
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,177 @@
],
"completions":
[
{ "trigger":"PATTACHParticleAttachAbsorigin", "contents": "PATTACH_ABSORIGIN"},
{ "trigger":"PATTACHParticleAttachAbsoriginFollow", "contents": "PATTACH_ABSORIGIN_FOLLOW"},
{ "trigger":"PATTACHParticleAttachCustomOrigin", "contents": "PATTACH_CUSTOMORIGIN"},
{ "trigger":"PATTACHParticleAttachCustomOriginFollow", "contents": "PATTACH_CUSTOMORIGIN_FOLLOW"},
{ "trigger":"PATTACHParticleAttachEyesFollow", "contents": "PATTACH_EYES_FOLLOW"},
{ "trigger":"PATTACHParticleAttachOverHeadFollow", "contents": "PATTACH_OVERHEAD_FOLLOW"},
{ "trigger":"PATTACHParticleAttachPoint", "contents": "PATTACH_POINT"},
{ "trigger":"PATTACHParticleAttachPointFollow", "contents": "PATTACH_POINT_FOLLOW"},
{ "trigger":"PATTACHParticleAttachPointFollowSubStepped", "contents": "PATTACH_POINT_FOLLOW_SUBSTEPPED"},
{ "trigger":"PATTACHParticleAttachRenderOriginFollow", "contents": "PATTACH_RENDERORIGIN_FOLLOW"},
{ "trigger":"PATTACHParticleAttachRootBoneFollow", "contents": "PATTACH_ROOTBONE_FOLLOW"},
{ "trigger":"PATTACHParticleAttachWorldOrigin", "contents": "PATTACH_WORLDORIGIN"},
{ "trigger":"itemFlagDOHitLocDamage", "contents": "ITEM_FLAG_DOHITLOCATIONDMG"},
{ "trigger":"itemFlagExhaustible", "contents": "ITEM_FLAG_EXHAUSTIBLE"},
{ "trigger":"itemFlagLimitWorld", "contents": "ITEM_FLAG_LIMITINWORLD"},
{ "trigger":"itemFlagNoAmmoPickups", "contents": "ITEM_FLAG_NOAMMOPICKUPS"},
{ "trigger":"itemFlagNoAutoReload", "contents": "ITEM_FLAG_NOAUTORELOAD"},
{ "trigger":"itemFlagNoAutoSwitchEmpty", "contents": "ITEM_FLAG_NOAUTOSWITCHEMPTY"},
{ "trigger":"itemFlagNoItemPickup", "contents": "ITEM_FLAG_NOITEMPICKUP"},
{ "trigger":"itemFlagSelectionEmpty", "contents": "ITEM_FLAG_SELECTONEMPTY"},
{ "trigger":"itemTypeConsumable", "contents": "ITEM_CONSUMABLE"},
{ "trigger":"itemTypeCore", "contents": "ITEM_CORE"},
{ "trigger":"itemTypeDerived", "contents": "ITEM_DERIVED"},
{ "trigger":"itemTypeExtension", "contents": "ITEM_EXTENSION"},
{ "trigger":"itemTypeLuxury", "contents": "ITEM_LUXURY"},
{ "trigger":"itemTypeSellable", "contents": "ITEM_SELLABLE"},
{ "trigger":"sharableFully", "contents": "ITEM_FULLY_SHAREABLE"},
{ "trigger":"sharableFullyStacking", "contents": "ITEM_FULLY_SHAREABLE_STACKING"},
{ "trigger":"sharableNot", "contents": "ITEM_NOT_SHAREABLE"},
{ "trigger":"sharablePartially", "contents": "ITEM_PARTIALLY_SHAREABLE"},
{ "trigger":"fcvarArchive", "contents": "FCVAR_ARCHIVE"},
{ "trigger":"fcvarCheat", "contents": "FCVAR_CHEAT"},
{ "trigger":"fcvarDemo", "contents": "FCVAR_DEMO"},
{ "trigger":"fcvarDevOnly", "contents": "FCVAR_DEVELOPMENTONLY"},
{ "trigger":"fcvarDontRecord", "contents": "FCVAR_DONTRECORD"},
{ "trigger":"fcvarHidden", "contents": "FCVAR_HIDDEN"},
{ "trigger":"fcvarNeverAsString", "contents": "FCVAR_NEVER_AS_STRING"},
{ "trigger":"fcvarNotConnected", "contents": "FCVAR_NOT_CONNECTED"},
{ "trigger":"fcvarNotify", "contents": "FCVAR_NOTIFY"},
{ "trigger":"fcvarPrintableOnly", "contents": "FCVAR_PRINTABLEONLY"},
{ "trigger":"fcvarProtected", "contents": "FCVAR_PROTECTED"},
{ "trigger":"fcvarReplicated", "contents": "FCVAR_REPLICATED"},
{ "trigger":"fcvarSponly", "contents": "FCVAR_SPONLY"},
{ "trigger":"fcvarSS", "contents": "FCVAR_SS"},
{ "trigger":"fcvarUnlogged", "contents": "FCVAR_UNLOGGED"},
{ "trigger":"fcvarUnregistered", "contents": "FCVAR_UNREGISTERED"},
{ "trigger":"fcvarUserinfo", "contents": "FCVAR_USERINFO"},
{ "trigger":"fcvarVconsoleSetFocus", "contents": "FCVAR_VCONSOLE_SET_FOCUS"},
{ "trigger":"movementCapMelee", "contents": "DOTA_UNIT_CAP_MELEE_ATTACK"},
{ "trigger":"movementCapFly", "contents": "DOTA_UNIT_CAP_MOVE_FLY"},
{ "trigger":"movementCapGround", "contents": "DOTA_UNIT_CAP_MOVE_GROUND"},
{ "trigger":"movementCapNone", "contents": "DOTA_UNIT_CAP_MOVE_NONE"},
{ "trigger":"movementCapNoAttack", "contents": "DOTA_UNIT_CAP_NO_ATTACK"},
{ "trigger":"movementCapRangeAttack", "contents": "DOTA_UNIT_CAP_RANGED_ATTACK"},
{ "trigger":"teamGood", "contents": "DOTA_TEAM_GOODGUYS"},
{ "trigger":"teamNeutral", "contents": "DOTA_TEAM_NEUTRALS"},
{ "trigger":"teamNoTeam", "contents": "DOTA_TEAM_NOTEAM"},
{ "trigger":"teamBad", "contents": "DOTA_TEAM_BADGUYS"},
{ "trigger":"randomTypeBrewCrit", "contents": "DOTA_PSEUDO_RANDOM_BREWMASTER_CRIT"},
{ "trigger":"randomTypeChaosCrit", "contents": "DOTA_PSEUDO_RANDOM_CHAOS_CRIT"},
{ "trigger":"randomTypeFacelessBash", "contents": "DOTA_PSEUDO_RANDOM_FACELESS_BASH"},
{ "trigger":"randomTypeAbyssal", "contents": "DOTA_PSEUDO_RANDOM_ITEM_ABYSSAL"},
{ "trigger":"randomTypeBasher", "contents": "DOTA_PSEUDO_RANDOM_ITEM_BASHER"},
{ "trigger":"randomTypeButterfly", "contents": "DOTA_PSEUDO_RANDOM_ITEM_BUTTERFLY"},
{ "trigger":"randomTypeGreaterCrit", "contents": "DOTA_PSEUDO_RANDOM_ITEM_GREATERCRIT"},
{ "trigger":"randomTypeHalbredMaim", "contents": "DOTA_PSEUDO_RANDOM_ITEM_HALBRED_MAIM"},
{ "trigger":"randomTypeLesserCrit", "contents": "DOTA_PSEUDO_RANDOM_ITEM_LESSERCRIT"},
{ "trigger":"randomTypeMaelstorm", "contents": "DOTA_PSEUDO_RANDOM_ITEM_MAELSTROM"},
{ "trigger":"randomTypeMjollnir", "contents": "DOTA_PSEUDO_RANDOM_ITEM_MJOLLNIR"},
{ "trigger":"randomTypeMjollnirStatic", "contents": "DOTA_PSEUDO_RANDOM_ITEM_MJOLLNIR_STATIC"},
{ "trigger":"randomTypeMKB", "contents": "DOTA_PSEUDO_RANDOM_ITEM_MKB"},
{ "trigger":"randomTypePMS", "contents": "DOTA_PSEUDO_RANDOM_ITEM_PMS"},
{ "trigger":"randomTypeSangeMaim", "contents": "DOTA_PSEUDO_RANDOM_ITEM_SANGE_MAIM"},
{ "trigger":"randomTypeSangeYashaMaim", "contents": "DOTA_PSEUDO_RANDOM_ITEM_SANGEYASHA_MAIM"},
{ "trigger":"randomTypeStout", "contents": "DOTA_PSEUDO_RANDOM_ITEM_STOUT"},
{ "trigger":"randomTypeVanguard", "contents": "DOTA_PSEUDO_RANDOM_ITEM_VANGUARD"},
{ "trigger":"randomTypeJugg", "contents": "DOTA_PSEUDO_RANDOM_JUGG_CRIT"},
{ "trigger":"randomTypeLycan", "contents": "DOTA_PSEUDO_RANDOM_LYCAN_CRIT"},
{ "trigger":"randomTypePhantomAssassinPA", "contents": "DOTA_PSEUDO_RANDOM_PHANTOMASSASSIN_CRIT"},
{ "trigger":"randomTypeSKSkeletonKing", "contents": "DOTA_PSEUDO_RANDOM_SKELETONKING_CRIT"},
{ "trigger":"randomTypeSlardar", "contents": "DOTA_PSEUDO_RANDOM_SLARDAR_BASH"},
{ "trigger":"randomTypeSniperHeadshot", "contents": "DOTA_PSEUDO_RANDOM_SNIPER_HEADSHOT"},
{ "trigger":"randomTypeTrollWarlordBash", "contents": "DOTA_PSEUDO_RANDOM_TROLL_BASH"},
{ "trigger":"hullSizeBarracks", "contents": "DOTA_HULL_SIZE_BARRACKS"},
{ "trigger":"hullSizeBuildings", "contents": "DOTA_HULL_SIZE_BUILDING"},
{ "trigger":"hullSizeFiller", "contents": "DOTA_HULL_SIZE_FILLER"},
{ "trigger":"hullSizeHero", "contents": "DOTA_HULL_SIZE_HERO"},
{ "trigger":"hullSizeHuge", "contents": "DOTA_HULL_SIZE_HUGE"},
{ "trigger":"hullSizeRegular", "contents": "DOTA_HULL_SIZE_REGULAR"},
{ "trigger":"hullSizeSeige", "contents": "DOTA_HULL_SIZE_SIEGE"},
{ "trigger":"hullSizeSmall", "contents": "DOTA_HULL_SIZE_SMALL"},
{ "trigger":"hullSizeTower", "contents": "DOTA_HULL_SIZE_TOWER"},
{ "trigger":"attributeAGI", "contents": "DOTA_ATTRIBUTE_AGILITY"},
{ "trigger":"attributeINT", "contents": "DOTA_ATTRIBUTE_INTELLECT"},
{ "trigger":"attributeSTR", "contents": "DOTA_ATTRIBUTE_STRENGTH"},
{ "trigger":"abilityTypeAttribute", "contents": "DOTA_ABILITY_TYPE_ATTRIBUTES"},
{ "trigger":"abilityTypeBasic", "contents": "DOTA_ABILITY_TYPE_BASIC"},
{ "trigger":"abilityTypeHidden", "contents": "DOTA_ABILITY_TYPE_HIDDEN"},
{ "trigger":"abilityTypeUltimate", "contents": "DOTA_ABILITY_TYPE_ULTIMATE"},
{ "trigger":"delcarePurchaseInSpeech", "contents": "DECLARE_PURCHASES_IN_SPEECH"},
{ "trigger":"delcarePurchaseToSpectators", "contents": "DECLARE_PURCHASES_TO_SPECTATORS"},
{ "trigger":"delcarePurchaseToTeammates", "contents": "DECLARE_PURCHASES_TO_TEAMMATES"},
{ "trigger":"modifierStateValueNoAction", "contents": "MODIFIER_STATE_VALUE_NO_ACTION"},
{ "trigger":"modifierStateValueEnabled", "contents": "MODIFIER_STATE_VALUE_ENABLED"},
{ "trigger":"modifierStateValueDisabled", "contents": "MODIFIER_STATE_VALUE_DISABLED"},
{ "trigger":"unitTargetFlagRanged", "contents": "DOTA_UNIT_TARGET_FLAG_RANGED_ONLY"},
{ "trigger":"unitTargetFlagMelee", "contents": "DOTA_UNIT_TARGET_FLAG_MELEE_ONLY"},
{ "trigger":"unitTargetFlagDead", "contents": "DOTA_UNIT_TARGET_FLAG_DEAD"},
{ "trigger":"unitTargetFlagMagicImmune", "contents": "DOTA_UNIT_TARGET_FLAG_MAGIC_IMMUNE_ENEMIES"},
{ "trigger":"unitTargetFlagNotMagicImmune", "contents": "DOTA_UNIT_TARGET_FLAG_NOT_MAGIC_IMMUNE_ALLIES"},
{ "trigger":"unitTargetFlagInvulnerable", "contents": "DOTA_UNIT_TARGET_FLAG_INVULNERABLE"},
{ "trigger":"unitTargetFlagVisible", "contents": "DOTA_UNIT_TARGET_FLAG_FOW_VISIBLE"},
{ "trigger":"unitTargetFlagNoInvis", "contents": "DOTA_UNIT_TARGET_FLAG_NO_INVIS"},
{ "trigger":"unitTargetFlagNotAncients", "contents": "DOTA_UNIT_TARGET_FLAG_NOT_ANCIENTS"},
{ "trigger":"unitTargetFlagPlayerControlled", "contents": "DOTA_UNIT_TARGET_FLAG_PLAYER_CONTROLLED"},
{ "trigger":"unitTargetFlagNotDominated", "contents": "DOTA_UNIT_TARGET_FLAG_NOT_DOMINATED"},
{ "trigger":"unitTargetFlagNotSummoned", "contents": "DOTA_UNIT_TARGET_FLAG_NOT_SUMMONED"},
{ "trigger":"unitTargetFlagNotIllusion", "contents": "DOTA_UNIT_TARGET_FLAG_NOT_ILLUSION"},
{ "trigger":"unitTargetFlagNotAttackImmune", "contents": "DOTA_UNIT_TARGET_FLAG_NOT_ATTACK_IMMUNE"},
{ "trigger":"unitTargetFlagManaOnly", "contents": "DOTA_UNIT_TARGET_FLAG_MANA_ONLY"},
{ "trigger":"unitTargetFlagCheckDisableHelp", "contents": "DOTA_UNIT_TARGET_FLAG_CHECK_DISABLE_HELP"},
{ "trigger":"unitTargetFlagNotCreepHero", "contents": "DOTA_UNIT_TARGET_FLAG_NOT_CREEP_HERO"},
{ "trigger":"unitTargetFlagOutOfWorld", "contents": "DOTA_UNIT_TARGET_FLAG_OUT_OF_WORLD"},
{ "trigger":"unitTargetFlagNotNightmared", "contents": "DOTA_UNIT_TARGET_FLAG_NOT_NIGHTMARED"},
{ "trigger":"targetKeyPOINT", "contents": "POINT"},
{ "trigger":"targetKeyTARGET", "contents": "TARGET"},
{ "trigger":"targetKeyATTACKER", "contents": "ATTACKER"},
{ "trigger":"targetKeyUNIT", "contents": "UNIT"},
{ "trigger":"targetKeyCASTER", "contents": "CASTER"},
{ "trigger":"orbPrioDefault", "contents": "DOTA_ORB_PRIORITY_DEFAULT"},
{ "trigger":"orbPrioAbility", "contents": "DOTA_ORB_PRIORITY_ABILITY"},
{ "trigger":"orbPrioProc", "contents": "DOTA_ORB_PRIORITY_ITEM_PROC"},
{ "trigger":"orbPrioNone", "contents": "DOTA_ORB_PRIORITY_NONE"},
{ "trigger":"orbLabelException", "contents": "DOTA_ORB_LABEL_EXCEPTION"},
{ "trigger":"orbLabelDefault", "contents": "DOTA_ORB_LABEL_DEFAULT"},
{ "trigger":"orbLabelSkadi", "contents": "DOTA_ORB_LABEL_SKADI"},
{ "trigger":"orbLabelNone", "contents": "DOTA_ORB_LABEL_NONE"},
{ "trigger":"abilityBehaviorAoe", "contents": "DOTA_ABILITY_BEHAVIOR_AOE"},
{ "trigger":"abilityBehaviorChannelled", "contents": "DOTA_ABILITY_BEHAVIOR_CHANNELLED"},
{ "trigger":"abilityBehaviorAttack", "contents": "DOTA_ABILITY_BEHAVIOR_ATTACK"},
{ "trigger":"abilityBehaviorAura", "contents": "DOTA_ABILITY_BEHAVIOR_AURA"},
{ "trigger":"abilityBehaviorAutoCast", "contents": "DOTA_ABILITY_BEHAVIOR_AUTOCAST"},
{ "trigger":"abilityBehaviorChanneled", "contents": "DOTA_ABILITY_BEHAVIOR_CHANNELLED"},
{ "trigger":"abilityBehaviorDirectional", "contents": "DOTA_ABILITY_BEHAVIOR_DIRECTIONAL"},
{ "trigger":"abilityBehaviorAlertTarget", "contents": "DOTA_ABILITY_BEHAVIOR_DONT_ALERT_TARGET"},
{ "trigger":"abilityBehaviorCancelMovement", "contents": "DOTA_ABILITY_BEHAVIOR_DONT_CANCEL_MOVEMENT"},
{ "trigger":"abilityBehaviorDontResumeAttack", "contents": "DOTA_ABILITY_BEHAVIOR_DONT_RESUME_ATTACK"},
{ "trigger":"abilityBehaviorDontResumeMovement", "contents": "DOTA_ABILITY_BEHAVIOR_DONT_RESUME_MOVEMENT"},
{ "trigger":"abilityBehaviorHidden", "contents": "DOTA_ABILITY_BEHAVIOR_HIDDEN"},
{ "trigger":"abilityBehaviorIgnoreBackSwing", "contents": "DOTA_ABILITY_BEHAVIOR_IGNORE_BACKSWING"},
{ "trigger":"abilityBehaviorIgnoreChannel", "contents": "DOTA_ABILITY_BEHAVIOR_IGNORE_CHANNEL"},
{ "trigger":"abilityBehaviorIgnorePseudoQueue", "contents": "DOTA_ABILITY_BEHAVIOR_IGNORE_PSEUDO_QUEUE"},
{ "trigger":"abilityBehaviorIgnoreTurn", "contents": "DOTA_ABILITY_BEHAVIOR_IGNORE_TURN"},
{ "trigger":"abilityBehaviorImmediate", "contents": "DOTA_ABILITY_BEHAVIOR_IMMEDIATE"},
{ "trigger":"abilityBehaviorItem", "contents": "DOTA_ABILITY_BEHAVIOR_ITEM"},
{ "trigger":"abilityBehaviorNotarget", "contents": "DOTA_ABILITY_BEHAVIOR_NO_TARGET"},
{ "trigger":"abilityBehaviorNoAssist", "contents": "DOTA_ABILITY_BEHAVIOR_NOASSIST"},
{ "trigger":"abilityBehaviorNone", "contents": "DOTA_ABILITY_BEHAVIOR_NONE"},
{ "trigger":"abilityBehaviorNormalWhenStolen", "contents": "DOTA_ABILITY_BEHAVIOR_NORMAL_WHEN_STOLEN"},
{ "trigger":"abilityBehaviorNotLearnable", "contents": "DOTA_ABILITY_BEHAVIOR_NOT_LEARNABLE"},
{ "trigger":"abilityBehaviorNoTarget", "contents": "DOTA_ABILITY_BEHAVIOR_NO_TARGET"},
{ "trigger":"abilityBehaviorPassive", "contents": "DOTA_ABILITY_BEHAVIOR_PASSIVE"},
{ "trigger":"abilityBehaviorPoint", "contents": "DOTA_ABILITY_BEHAVIOR_POINT"},
{ "trigger":"abilityBehaviorRootDisables", "contents": "DOTA_ABILITY_BEHAVIOR_ROOT_DISABLES"},
{ "trigger":"abilityBehaviorRuneTarget", "contents": "DOTA_ABILITY_BEHAVIOR_RUNE_TARGET"},
{ "trigger":"abilityBehaviorToggle", "contents": "DOTA_ABILITY_BEHAVIOR_TOGGLE"},
{ "trigger":"abilityBehaviorUnitTarget", "contents": "DOTA_ABILITY_BEHAVIOR_UNIT_TARGET"},
{ "trigger":"abilityBehaviorUnrestricted", "contents": "DOTA_ABILITY_BEHAVIOR_UNRESTRICTED"},
{ "trigger":"damageTypeComposite", "contents": "DAMAGE_TYPE_COMPOSITE"},
{ "trigger":"damageTypeHpRemoval", "contents": "DAMAGE_TYPE_HP_REMOVAL"},
{ "trigger":"damageTypeMagical", "contents": "DAMAGE_TYPE_MAGICAL"},
{ "trigger":"damageTypePhysical", "contents": "DAMAGE_TYPE_PHYSICAL"},
{ "trigger":"damageTypePure", "contents": "DAMAGE_TYPE_PURE"},
{ "trigger":"modifierEventOnabilityendchannel", "contents": "MODIFIER_EVENT_ON_ABILITY_END_CHANNEL"},
{ "trigger":"modifierEventOnabilityexecuted", "contents": "MODIFIER_EVENT_ON_ABILITY_EXECUTED"},
{ "trigger":"modifierEventOnabilitystart", "contents": "MODIFIER_EVENT_ON_ABILITY_START"},
Expand Down Expand Up @@ -1254,7 +1415,7 @@
{ "trigger":"unitTargetTeamBoth", "contents": "DOTA_UNIT_TARGET_TEAM_BOTH"},
{ "trigger":"unitTargetTeamCustom", "contents": "DOTA_UNIT_TARGET_TEAM_CUSTOM"},
{ "trigger":"unitTargetTeamEnemy", "contents": "DOTA_UNIT_TARGET_TEAM_ENEMY"},
{ "trigger":"unitTargetTeamFriendly", "contents": "DOTA_UNIT_TARGET_TEAM_FRIENDLY"},
{ "trigger":"unitTargetTeamFriendly", "contents": "DOTA_UNIT_TARGET_TEAM_FRIENDLY"},
{ "trigger":"unitTargetBasic", "contents": "DOTA_UNIT_TARGET_BASIC"},
{ "trigger":"unitTargetBuilding", "contents": "DOTA_UNIT_TARGET_BUILDING"},
{ "trigger":"unitTargetCourier", "contents": "DOTA_UNIT_TARGET_COURIER"},
Expand Down
32 changes: 32 additions & 0 deletions snippets/Modifiers.sublime-snippet
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>



10 changes: 10 additions & 0 deletions snippets/OnOwnerDied.sublime-snippet
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>
10 changes: 10 additions & 0 deletions snippets/OnOwnerSpawned.sublime-snippet
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>
10 changes: 10 additions & 0 deletions snippets/OnProjectileHit.sublime-snippet
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>
14 changes: 14 additions & 0 deletions snippets/Orb.sublime-snippet
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>



14 changes: 14 additions & 0 deletions snippets/Properties.sublime-snippet
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>



11 changes: 11 additions & 0 deletions snippets/SpendCharge.sublime-snippet
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>


Loading

0 comments on commit 57980df

Please sign in to comment.