jbtheone
-
Posts
2 -
Joined
-
Last visited
Content Type
Forums
Articles
Bug Tracker
Downloads
Store
Posts posted by jbtheone
-
-
I'm trying to dispel my party members, but it doesn't work and my knowledge of Lua etc is not really good, could anyone help me
<FightClassSpell> <FightClassConditions> <FightClassCondition> <ContionType>LuaScript</ContionType> <Param xsi:type="FightClassConditionLua"> <LuaScript>needcleanse1 = "no" if not UnitDebuffID("party1", 47843) and not UnitDebuffID("party1", 48160) then if UnitDebuffID("party1", 8122) or UnitDebuffID("party1", 5782) or UnitDebuffID("party1", 118) or UnitDebuffID("party1", 61305) or UnitDebuffID("party1", 28272) or UnitDebuffID("party1", 61721) or UnitDebuffID("party1", 61780) or UnitDebuffID("party1", 28271) or UnitDebuffID("party1", 103139) or UnitDebuffID("party1", 6358) or UnitDebuffID("party1", 44572) or UnitDebuffID("party1", 15487) or UnitDebuffID("party1", 64044) or UnitDebuffID("party1", 12598) or UnitDebuffID("party1", 2139) or UnitDebuffID("party1", 1499) or UnitDebuffID("party1", 20066) or UnitDebuffID("party1", 853) or UnitDebuffID("party1", 105593) or UnitDebuffID("party1", 31661) or UnitDebuffID("party1", 5484) or UnitDebuffID("party1", 339) or UnitDebuffID("party1", 47476) or UnitDebuffID("party1", 82691) then needcleanse1 = "yes" end end</LuaScript> <VarRet>needcleanse1</VarRet> <ValueRet>yes</ValueRet> </Param> </FightClassCondition> <FightClassCondition> <ContionType>MeInCombat</ContionType> <Param xsi:type="FightClassConditionBool"> <Value>true</Value> </Param> </FightClassCondition> </FightClassConditions> <SpellName>RunMacroText("/cast [@party1] Cleanse") </SpellName> <Priority>20</Priority> <CheckIfKnow>false</CheckIfKnow> <CheckIfSpellUsable>false</CheckIfSpellUsable> <CheckSpellDistance>false</CheckSpellDistance> <CheckIfView>false</CheckIfView> <NotSpellIsLuaScript>true</NotSpellIsLuaScript> <TargetFriends>true</TargetFriends> <DescriptionSpell>Dispel CC Party1</DescriptionSpell> <WaitDuringCasting>false</WaitDuringCasting> </FightClassSpell>
Cleanse Party without Targeting
in Fight Classes assistance
Posted
ty for your help, i rip the script mostly from a pqr profile, now i try
Unfortunately it doesn't work, is there also the possibility that if "party1" has Vampiric Touch or Unstable Affliction on it, that it doesn't use Cleanse or do I have to enter this in a new condition?