View difference between Paste ID: uCkyqL03 and njqTDnLS
SHOW: | | - or go back to the newest paste.
1
local rDot =  0
2
3-
if CastSpell(_R, ts.target) then
3+
function OnTick()
4-
   rDot = os.clock() + 5
4+
   if myHero:CanUseSpell(_R) ~= READY then
5
      rDot = os.clock() + 5
6
   else
7
      rDot = 0
8
   end
9
end
10
11-
        local rDmg  = ((myHero.ap * .70) + (150 + myHero:GetSpellData(_E).level * 100)) * .12
11+
12
  if source == myHero then print(spell.name) end
13
  if spell.name == "Hemoplague" and rDot <= os.clock + 5 then
14
        local qDmg = ((myHero.ap * .65) + (90 + myHero:GetSpellData(_E).level * 35)) * .12
15
        local eDmg = ((myHero.ap * .45) + (60 + myHero:GetSpellData(_E).level * 25)) * .12
16
        local rDmg  = ((myHero.ap * .70) + (150 + myHero:GetSpellData(_E).level * 100)) * .12
17
   end
18
end