Advertisement
Guest User

Untitled

a guest
Oct 18th, 2019
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.69 KB | None | 0 0
  1. LinkLuaModifier("modifier_earth_grip_thinker","earthgrip.lua",LUA_MODIFIER_MOTION_NONE)
  2. LinkLuaModifier("modifier_earth_grip_root","earthgrip.lua",LUA_MODIFIER_MOTION_NONE)
  3.  
  4. function cabrakan_earth_grip:OnSpellStart()
  5. local caster = self:GetCaster()
  6. local point = self:GetCursorPosition()
  7. local delay = self:GetSpecialValueFor("grip_delay")
  8. local duration = self:GetSpecialValueFor("duration")
  9. local radius = self:GetSpecialValueFor("radius")
  10.  
  11. self:SetContextThink("grip_delay",function()
  12. CreateModifierThinker(caster,self,"modifier_earth_grip_thinker",{duration = delay},point,caster:GetTeamNumber(),false)
  13. end, self:GetSpecialValueFor("grip_delay"))
  14. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement