Advertisement
alexdubovyck

Черновичек с функциями

Jan 2nd, 2016
164
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.44 KB | None | 0 0
  1. http://wowprogramming.com/docs/api/IsConsumableSpell
  2. function fff(ID)
  3.     local consume = IsConsumableSpell(GetSpellInfo(ID))
  4.     return consume
  5. end
  6.  
  7. print(fff(49206))
  8. print(fff(46584))
  9. ---
  10.  
  11. http://wowprogramming.com/docs/api/IsCurrentSpell
  12. function ICSpell(ID)
  13.     local sCurrent = IsCurrentSpell(GetSpellInfo(ID))
  14.     return sCurrent
  15. end
  16.  
  17. /закл Знак дикой природы(Уровень 9)
  18. /run print(ICSpell(48469))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement