Ledger Nano X - The secure hardware wallet
SHARE
TWEET

DOTA 2 stop cleave modifier

a guest Apr 7th, 2020 144 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. modifier_dash_stop_cleave = class({})
  2.  
  3. --------------------------------------------------------------------------------
  4. -- Classifications
  5. function modifier_dash_stop_cleave:IsHidden()
  6.     return true
  7. end
  8.  
  9. function modifier_dash_stop_cleave:IsPurgable()
  10.     return false
  11. end
  12.  
  13. --------------------------------------------------------------------------------
  14. -- Initializations
  15. function modifier_dash_stop_cleave:OnCreated( kv )
  16.     --print(self.target:GetAbsOrigin())
  17.     --self.caster = self:GetCaster()
  18.     --self.parent = self:GetParent()
  19.     --self.ability = self:GetAbility()
  20.    
  21.     if not IsServer() then return end
  22. end
  23.  
  24. function modifier_dash_stop_cleave:OnRefresh( kv )
  25. end
  26.  
  27. function modifier_dash_stop_cleave:OnRemoved()
  28. end
  29.  
  30. function modifier_dash_stop_cleave:OnDestroy()
  31.     if not IsServer() then return end
  32.     --UTIL_Remove( self )
  33. end
  34.  
  35.  
  36. function modifier_dash_stop_cleave:DeclareFunctions()
  37.     local funcs = {
  38.         MODIFIER_PROPERTY_SUPPRESS_CLEAVE
  39.                   }
  40.     return funcs
  41. end
  42.  
  43. function modifier_dash_stop_cleave:GetSuppressCleave()
  44.     return true
  45. end
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top