Advertisement
MrTrala

Forms Druid

Aug 21st, 2016
354
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.95 KB | None | 0 0
  1. --[[
  2.     Alternate Forms for ArchLight
  3.     Version 1.1
  4.     by Mr Trala
  5.    
  6. Instructions;
  7. Just put what combination you want to use as "true";
  8. Please note: if you put more than one option as true then you're not going to cast anything.
  9.  
  10. Change log;
  11. 1.0 -- First stable version.
  12. 1.1 -- Added all combinations of forms.
  13.  
  14. Note to self;
  15. Save this script for future use in a Druid Script.
  16. ]]
  17.  
  18. config = { 
  19.     CATxBEAR = false, -- put it as "true" if you want to use CAT and BEAR forms.
  20.     MERLKINxBEAR = false, -- put it as "true" if you want to use MERLKIN and BEAR forms.
  21.     CATxMERLKIN = false, -- put it as "true" if you want to use CAT and MERLKIN forms.
  22.  
  23.     -- Exaus Configs
  24.     CFE = "Exori san", -- Cat form
  25.     BFE = "Exori moe ico", -- Bear form
  26.     MFE = "Exevo gran mas vis", -- Merlkin form
  27.    
  28.     CFW = "Cat Form", -- 41
  29.     BFW = "Bear Form", -- 16
  30.     MFW = "Merlkin Form" -- 117
  31. }
  32.  
  33. Module("Forms", function(mod)
  34. local x = config
  35. local Cool = Self.GetSpellCooldown
  36. --CATxBEAR
  37.     if x.CATxBEAR == true and not x.MERLKINxBEAR and not x.CATxMERLKIN then
  38.         if Cool(x.CFE) == 0 and Self.Outfit().id ~= 41 and Self.Outfit().id ~= 16 then
  39.             Self.Say(x.CFW)
  40.            
  41.         elseif Cool(x.CFE) >= 1 and Self.Outfit().id ~= 16 and Self.Outfit().id ~= 41 and Cool(x.BFE) == 0 then
  42.             Self.Say(x.BFW)
  43.         end
  44.     end
  45.    
  46. --MERLKINxBEAR
  47.     if x.MERLKINxBEAR == true and not x.CATxBEAR and not x.CATxMERLKIN then
  48.         if Cool(x.MFE) == 0 and Self.Outfit().id ~= 117 and Self.Outfit().id ~= 16 then
  49.             Self.Say(x.MFW)
  50.            
  51.         elseif Cool(x.MFE) >= 1 and Self.Outfit().id ~= 16 and Self.Outfit().id ~= 117 and Cool(x.BFE) == 0 then
  52.             Self.Say(x.BFW)
  53.         end
  54.     end
  55.    
  56. --CATxMERLKIN
  57.     if x.CATxMERLKIN == true and not x.CATxBEAR and not x.MERLKINxBEAR then
  58.         if Cool(x.CFE) == 0 and Self.Outfit().id ~= 41 and Self.Outfit().id ~= 117 then
  59.             Self.Say(x.CFW)
  60.            
  61.         elseif Cool(x.CFE) >= 1 and Self.Outfit().id ~= 117 and Self.Outfit().id ~= 41 and Cool(x.MFE) == 0 then
  62.             Self.Say(x.MFW)
  63.         end
  64.     end
  65. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement