Jump to content

Welcome to Gaming On Steroids Forums
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account
Photo

Help with Katarina R code


  • Please log in to reply
1 reply to this topic

#1
desa

desa

    Newbie

  • Members
  • 1 posts

function dKatarina:CastR()
rSpin = true
self:DisableORB()
Control.CastSpell(HK_R)
DelayAction(function() rSpin = false self:EnableORB() end, 2.5)
end

 

function dKatarina:DisableORB()
_G.SDK.Orbwalker:SetAttack(false)
_G.SDK.Orbwalker:SetMovement(false)
end

 

function dKatarina:EnableORB()
_G.SDK.Orbwalker:SetAttack(true)
_G.SDK.Orbwalker:SetMovement(true)
end

 

What is happening is, 90% of time it wont cast R.

 

Many thannks in advance


  • 0

#2
sikaka

sikaka

    Advanced Member

  • Trial Developer
  • 594 posts
better to check current active spell. if it's katakana r don't run logic and turn off orb. if not then turn it back on
  • 0




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users