Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- "item_gold_coin"
- {
- //General
- "ID" "1111"
- "BaseClass" "item_datadriven"
- "AbilityTextureName" "item_rapier"
- "AbilityBehavior" "DOTA_ABILITY_BEHAVIOR_NO_TARGET"
- "AbilityCastPoint" "0.0"
- "Model" "models/props_gameplay/gold_coin001.vmdl"
- // Item Info
- //-------------------------------------------------------------------------------------------------------------
- "ItemKillable" "0"
- "ItemSellable" "0"
- "ItemPurchasable" "0"
- "ItemDroppable" "1"
- "ItemInitialCharges" "1"
- "ItemRequiresCharges" "1"
- "ItemStackable" "1"
- "ItemShareability" "ITEM_FULLY_SHAREABLE_STACKING"
- //ItemPermanent set to 0 so once all charges are used it goes out of inventory, i.e. modifier auto removed
- "ItemPermanent" "0"
- "OnSpellStart"
- {
- SpendCharge{}
- //This is for other spell inter-action and does not affect the charge/modifier stacking
- "RunScript"
- {
- "ScriptFile" "addon_game_mode.lua"
- "Function" "DropCoin"
- }
- }
- "AbilitySpecial"
- {
- "01"
- {
- "var_type" "FIELD_INTEGER"
- "bonus_stat_per_charge" "-10"
- }
- }
- "Modifiers"
- {
- "item_gold_coin_modifier"
- {
- "Passive" "1"
- "IsHidden" "0"
- //Ensures the modifier attribute stacks
- "Attributes" "MODIFIER_ATTRIBUTE_MULTIPLE"
- "Properties"
- {
- "MODIFIER_PROPERTY_MOVESPEED_BONUS_CONSTANT" "%bonus_stat_per_charge"
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement