Jhin
Members
-
Joined
-
Last visited
Reputation Activity
-
Jhin reacted to Droidz in Download Plugins if buying PServer editionHello, yes you have access at all files when you buy private server license.
-
Jhin reacted to William Cruz in Bg pop up dissapear.TEMPORARY FIX (NOTE: Doesn't work when you take flight master)
In fight class, under spells add
RunMacroText("/click PVPReadyDialogEnterBattleButton") and put to the top.
Under Spell Conditions add "In Battleground", value false.
Spell settings
Can move during cast: Yes Cast if mounted: True Check if know spell: False Check if spell good distance: False Check if spell is usable: False Check if target is in view: False Combat only: False Not spell, is lua script: True
-
Jhin reacted to Droidz in Snippets of LUA codes (for FightClass)Cast spell if the shift/ctrl/alt key is currently depressed
LuaScript:
For Shift:
isKeyCurrentlyDown = IsShiftKeyDown(); For Ctrl:
isKeyCurrentlyDown = IsControlKeyDown(); For Alt:
isKeyCurrentlyDown = IsAltKeyDown(); Research:
true Var:
isKeyCurrentlyDown
-
Jhin reacted to Bugreporter in Put DoTs on multiple targetI've add a routine in my Rogue Assa Profile. But be aware, you will lose your main target. And @Jhin : You dont want pull all Targets in a range of 45 yard ! Thats a hunter spell and is called barrage. ;-)
2. Line: check if we have a target and if it is in range (in this case a Meele spell, Rupture). Use your spell with the smallest range, that you want provide
3+4 Line: Other Buffs that we want check
6.Line (from the bottom): Check if the DeBuffs are on the target up and running and if they are run long enough. In this case rupture must run longer then 6 seconds
5.Line (from the bottom); next target will be selected
In the next Code window i've pasted the XML-Snippet to cut-and-past-and-change it in you fightclass
local Rupture=GetSpellInfo(1943) if UnitExists("target") and not UnitIsFriend("player", "target") and (IsSpellInRange(Rupture,"target")==1) then local CripplingPoison=GetSpellInfo(3408) local DeadlyPoison=GetSpellInfo(2823) local t=GetTime(); local buffexp,buff,buffcnt,bufftyp={},{},{},{}; local i,n,c,y,x,id,found=0; repeat i=i+1; n,_,_,c,y,_,x,_,_,_,id=UnitAura("target",i,"PLAYER HARMFUL"); if n then buffcnt[n]=c bufftyp[n]=y buffexp[n]=x-t buff[n]=id; found=true end until (not n) or (i==40); if found then if (buff[Rupture] and buffexp[Rupture] > 6) and buff[CripplingPoison] and buff[DeadlyPoison] then TargetNearestEnemy() result=true end end end; XML-snippet: (dont forget to change the value in "HostileUnitNear")
<FightClassSpell> <FightClassConditions> <FightClassCondition> <ContionType>HostileUnitNear</ContionType> <Param xsi:type="FightClassConditionUnitNear"> <Number>2</Number> <Type>BiggerOrEqual</Type> <Radius>5</Radius> </Param> </FightClassCondition> <FightClassCondition> <ContionType>LuaScript</ContionType> <Param xsi:type="FightClassConditionLua"> <LuaScript> local Rupture=GetSpellInfo(1943) if UnitExists("target") and not UnitIsFriend("player", "target") and (IsSpellInRange(Rupture,"target")==1) then local CripplingPoison=GetSpellInfo(3408) local DeadlyPoison=GetSpellInfo(2823) local t=GetTime(); local buffexp,buff,buffcnt,bufftyp={},{},{},{}; local i,n,c,y,x,id,found=0; repeat i=i+1; n,_,_,c,y,_,x,_,_,_,id=UnitAura("target",i,"PLAYER HARMFUL"); if n then buffcnt[n]=c bufftyp[n]=y buffexp[n]=x-t buff[n]=id; found=true end until (not n) or (i==40); if found then if (buff[Rupture] and buffexp[Rupture] > 6) and buff[CripplingPoison] and buff[DeadlyPoison] then TargetNearestEnemy() result=true end end end; </LuaScript> <VarRet>result</VarRet> <ValueRet>true</ValueRet> </Param> </FightClassCondition> </FightClassConditions> <SpellName>--NextEnemy</SpellName> <Priority>2</Priority> <CheckIfKnow>false</CheckIfKnow> <CheckIfSpellUsable>false</CheckIfSpellUsable> <CheckSpellDistance>false</CheckSpellDistance> <CheckIfView>false</CheckIfView> <AddToSettings>true</AddToSettings> <AddToSettingsActiveByDefault>true</AddToSettingsActiveByDefault> <NotSpellIsLuaScript>true</NotSpellIsLuaScript> </FightClassSpell>