Mercurial > wow > reaction
comparison classes/Bar.lua @ 176:d32c65d94009
update state driver details for 4.01
add shadow dance and demon form states
(drycoded)
| author | Flick <flickerstreak@gmail.com> |
|---|---|
| date | Wed, 20 Oct 2010 17:44:01 +0000 |
| parents | df68b5a40490 |
| children | 2e2abdaad2e5 |
comparison
equal
deleted
inserted
replaced
| 175:df68b5a40490 | 176:d32c65d94009 |
|---|---|
| 732 caster = { format = "form:0/2/4/5/6", filter = ClassFilter("DRUID") }, | 732 caster = { format = "form:0/2/4/5/6", filter = ClassFilter("DRUID") }, |
| 733 bear = { format = "form:1", filter = ClassFilter("DRUID") }, | 733 bear = { format = "form:1", filter = ClassFilter("DRUID") }, |
| 734 cat = { format = "form:3", filter = ClassFilter("DRUID") }, | 734 cat = { format = "form:3", filter = ClassFilter("DRUID") }, |
| 735 tree = { format = "form:5", filter = ClassFilter("DRUID") }, | 735 tree = { format = "form:5", filter = ClassFilter("DRUID") }, |
| 736 moonkin = { format = "form:5", filter = ClassFilter("DRUID") }, | 736 moonkin = { format = "form:5", filter = ClassFilter("DRUID") }, |
| 737 demon = { format = "bonusbar:1", filter = ClassFilter("WARLOCK") }, | |
| 738 nodemon = { format = "nobonusbar:1", filter = ClassFilter("WARLOCK") }, | |
| 737 pet = { format = "pet" }, | 739 pet = { format = "pet" }, |
| 738 nopet = { format = "nopet" }, | 740 nopet = { format = "nopet" }, |
| 739 harm = { format = "target=target,harm" }, | 741 harm = { format = "@target,harm" }, |
| 740 help = { format = "target=target,help" }, | 742 help = { format = "@target,help" }, |
| 741 notarget = { format = "target=target,noexists" }, | 743 notarget = { format = "@target,noexists" }, |
| 742 focusharm = { format = "target=focus,harm" }, | 744 focusharm = { format = "@focus,harm" }, |
| 743 focushelp = { format = "target=focus,help" }, | 745 focushelp = { format = "@focus,help" }, |
| 744 nofocus = { format = "target=focus,noexists" }, | 746 nofocus = { format = "@focus,noexists" }, |
| 745 raid = { format = "group:raid" }, | 747 raid = { format = "group:raid" }, |
| 746 party = { format = "group:party" }, | 748 party = { format = "group:party" }, |
| 747 solo = { format = "nogroup" }, | 749 solo = { format = "nogroup" }, |
| 748 combat = { format = "combat" }, | 750 combat = { format = "combat" }, |
| 749 nocombat = { format = "nocombat" }, | 751 nocombat = { format = "nocombat" }, |
| 750 possess = { format = "target=vehicle,noexists,bonusbar:5" }, | 752 possess = { format = "@vehicle,noexists,bonusbar:5" }, |
| 751 vehicle = { format = "target=vehicle,exists,bonusbar:5" }, | 753 vehicle = { format = "@vehicle,exists,bonusbar:5" }, |
| 752 } | 754 } |
| 753 | 755 |
| 754 function Bar.InitRuleFormats() | 756 function Bar.InitRuleFormats() |
| 755 local forms = { } | 757 local forms = { } |
| 756 for i = 1, GetNumShapeshiftForms() do | 758 for i = 1, GetNumShapeshiftForms() do |
| 758 forms[name] = i; | 760 forms[name] = i; |
| 759 end | 761 end |
| 760 -- use 9 if not found since 9 is never a valid stance/form | 762 -- use 9 if not found since 9 is never a valid stance/form |
| 761 local defensive = forms[GetSpellInfo(71)] or 9 | 763 local defensive = forms[GetSpellInfo(71)] or 9 |
| 762 local berserker = forms[GetSpellInfo(2458)] or 9 | 764 local berserker = forms[GetSpellInfo(2458)] or 9 |
| 763 local bear = forms[GetSpellInfo(9634)] or forms[GetSpellInfo(5487)] or 9 | 765 local bear = forms[GetSpellInfo(5487)] or 9 |
| 764 local aquatic = forms[GetSpellInfo(1066)] or 9 | 766 local aquatic = forms[GetSpellInfo(1066)] or 9 |
| 765 local cat = forms[GetSpellInfo(768)] or 9 | 767 local cat = forms[GetSpellInfo(768)] or 9 |
| 766 local travel = forms[GetSpellInfo(783)] or 9 | 768 local travel = forms[GetSpellInfo(783)] or 9 |
| 767 local tree = forms[GetSpellInfo(33891)] or 9 | 769 local tree = forms[GetSpellInfo(33891)] or 9 |
| 768 local moonkin = forms[GetSpellInfo(24858)] or 9 | 770 local moonkin = forms[GetSpellInfo(24858)] or 9 |
