Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- LinkLuaModifier("modifier_earth_grip_thinker","earthgrip.lua",LUA_MODIFIER_MOTION_NONE)
- LinkLuaModifier("modifier_earth_grip_root","earthgrip.lua",LUA_MODIFIER_MOTION_NONE)
- function cabrakan_earth_grip:OnSpellStart()
- local caster = self:GetCaster()
- local point = self:GetCursorPosition()
- local delay = self:GetSpecialValueFor("grip_delay")
- local duration = self:GetSpecialValueFor("duration")
- local radius = self:GetSpecialValueFor("radius")
- self:SetContextThink("grip_delay",function()
- CreateModifierThinker(caster,self,"modifier_earth_grip_thinker",{duration = delay},point,caster:GetTeamNumber(),false)
- end, self:GetSpecialValueFor("grip_delay"))
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement