
|
|
Source code |
1 2 3 4 5 6 7 8 9 10 |
function KillSequence(arg1, healthpot, healthpot1, manapot, foodslot, BoneChill, FrostScars) --arg1 = "v1" or "v2" for debugging --healthpot = # of actionbar slot for health potions --manapot = # of actionbar slot for mana potions --foodslot = # of actionbar slot for food (add more args for more foodslots if needed) healthpot = 9 healthpot1 = 8 manapot = 7 BoneChill = 3 FrostScars = 2 |
|
|
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 |
--Class: Priest/Warrior
elseif mainClass == "AUGUR" and subClass == "WARRIOR" then
--Potions and Buffs
Skill = {
{ name = "Blessed Spring Water", use = (not pbuffs["Blessed Spring Water"] ) and combat },
{ name = "Magic Barrier", use = (not pbuffs["Magic Barrier"] ) and combat },
{ name = "Action: "..manapot, use = (pctEB1 <= .10)},
{ name = "Soul Bond", use = (not pbuffs["Soul Bond"] ) and combat },
{ name = "Grace of Life", use = (not pbuffs["Grace of Life"] ) and combat },
{ name = "Amplified Attack", use = (not pbuffs["Amplified Attack"] ) and combat },
{ name = "Battle Monk Stance", use = (not pbuffs["Battle Monk Stance"]) and combat },
{ name = "Power Build-Up", use = (not pbuffs["Power Build-Up"] ) and combat },
{ name = "Wave Armor", use = (not pbuffs["Wave Armor"] ) and combat },
{ name = "Blessing of Humility", use = (not pbuffs["Blessing of Humility"]) and combat },
{ name = "Healing Salve", use = (not pbuffs["Healing Salve"]) and (phealth <= .80) },
{ name = "Soul Source", use = (phealth <= .20) },
{ name = "Holy Aura", use = (phealth <= .50) },
{ name = "Urgent Heal", use = (phealth <= .60) },
{ name = "Regenerate", use = (phealth <= .70) },
{ name = "Group Heal", use = (phealth <= .75) },
{ name = "Heal", use = (phealth <= .80) },
}
--Combat
if enemy then
Skill2 = {
{ name = "Action: "..FrostScars, use = (pctEB1 >= .05) },
{ name = "Berserk", use = (EnergyBar2 >= 25) },
{ name = "Ascending Dragon Strike", use = (EnergyBar2 >= 30) and (pbuffs["Battle Monk Stance"]) },
{ name = "Vindictive Strike", use = (EnergyBar2 >= 10) },
{ name = "Rising Tide", use = (EnergyBar1 >= 72) and (tbuffs["Aggressive Daze"]) },
{ name = "Explosion of Fighting Spirit", use = (pctEB1 >= .60) and (pbuffs["Battle Monk Stance"]) }, { name = "Whirlwind", use = (EnergyBar2 >= 50) and (tbuffs["Aggressive Daze"]) },
{ name = "Slash", use = (EnergyBar2 >= 25) and (pctEB1 <=.50)},
{ name = "Fighting Spirit Combination", use = (pctEB1 >= .50) and (pbuffs["Battle Monk Stance"]) },
{ name = "Explosion of Fighting Spirit", use = (pctEB1 >= .40) and (pbuffs["Battle Monk Stance"]) },
{ name = "Action: "..BoneChill, use = (pctEB1 >= .05) },
{ name = "Attack", use = (thealth == 1) },
}
end
|
This post has been edited 1 times, last edit by "CrzBadboy" (Jul 29th 2013, 12:01pm)
This post has been edited 3 times, last edit by "Dkjester" (Aug 29th 2013, 12:55am)
|
|
Source code |
1 2 3 4 5 6 7 8 9 10 11 |
-- skill name and ID Frenzy = 490493 -- Skill uniqe string Sys490493_name -- and string returns difrent names on difrent language -- eneu "Sys490493_name"="Frenzy" -- de "Sys490493_name"="Raserei" -- es "Sys490493_name"="Frenesí" |
|
|
Source code |
1 2 3 4 5 6 |
elseif string.find(Skill[x].name, "ID:") then
action = string.gsub(Skill[x].name, "(ID:)( *)(.*)", "%3")
if talktome then Msg("- "..Skill[x].name) end
CastSpellByName(Skill[x].name)
StartDIYCETimer(Skill[x].timer)
return true
|
here is the diyce set up anyone out there able to help me with this? plz and ty. This post has been edited 1 times, last edit by "gpx106" (Sep 17th 2013, 3:40pm)
|
|
Source code |
1 |
{ name = "Fire Rose Explosion", use = (tbuffs[501842]) and (tbuffs[501842].stack >= 3) },
|
yeah i tried it and it did not seem to work thanks for trying any howFrom quickly reading up on that skill, it requires three implanted seeds from Fire Rose first, so something like the following should work:
![]()
Source code
1{ name = "Fire Rose Explosion", use = (tbuffs[501842]) and (tbuffs[501842].stack >= 3) },
Buffs/debuffs can stack in different ways but hopefully the above will work for you.
Use TEXT("key string"). TEXT("501842_name") returns a string "Fire Rose III". This has been tested and works: In My combat, you should first check if the "Skill" arguement is an integer (not(Skill[x].name == tostring(Skill[x].name))) is true when Skill is not a string (i.e an integer)). If so then convert the integer to the appropriate skill name Skill = TEXT("Sys"..Skill.."_name"). so you need to change the My combat like this:
Quoted
Se we need to change, let's say,
1) "ID: 490493" to "Sys409493_name"
2) then get skill name from "Sys409493_name" = "Something"
3) CastSpellByName("Something")
Thx in advance
This post has been edited 4 times, last edit by "BlankMinded" (Sep 20th 2013, 11:05pm)
|
|
Source code |
1 2 3 4 5 6 |
{ name = "Silence", use = (silenceThis) },
{ name = "Blind Spot", use = (EnergyBar1 >= 25) and (behind) and (boss) and (not presshift) },
{ name = "Wound Attack", use = ((EnergyBar1 >= 35) and ((tbuffs[620313]) and (tbuffs[620314])) and (tbuffs[620297])) },
{ name = "Low Blow", use = ((EnergyBar1 >= 30) and (tbuffs[620313]) and (tbuffs[620314]) and (tbuffs[620297]) or (pvp)) },
{ name = "Shadowstab", use = (EnergyBar1 >= 20) and (not tbuffs[620297]) },
{ name = "Attack", use = (thealth > 0) },
|
|
|
Source code |
1 2 3 4 |
{ name = "Silence", use = (silenceThis) },
{ name = "Wound Attack", use = (EnergyBar1 >= 35) and (tbuffs[620314]) and (tbuffs[620313]) },
{ name = "Low Blow", use = ((EnergyBar1 >= 30) and (tbuffs[620313]) or (pvp)) },
{ name = "Shadowstab", use = (EnergyBar1 >= 20) },
|
|
|
Source code |
1 2 3 4 |
{ name = "Silence", use = (silenceThis) },
{ name = "Blind Spot", use = (EnergyBar1 >= 25) and (behind) and (boss)},
{ name = "Wound Attack", use = (EnergyBar1 >= 35) and (tbuffs[620314]) and (tbuffs[620297]) },
{ name = "Low Blow", use = ((EnergyBar1 >= 30) and (tbuffs[620297]) or (pvp)) },
|
This post has been edited 5 times, last edit by "BloodyArrow" (Sep 25th 2013, 6:45pm)
This post has been edited 4 times, last edit by "BlankMinded" (Sep 25th 2013, 7:13pm)
|
|
Source code |
1 2 3 4 |
{ name = "Silence", use = (silenceThis) },
{ name = "Wound Attack", use = (EnergyBar1 >= 35) and (tbuffs[620314]) and (tbuffs[620297]) },
{ name = "Low Blow", use = ((EnergyBar1 >= 30) and (tbuffs[620297]) or (pvp)) },
{ name = "Blind Spot", use = (EnergyBar1 >= 25) and (behind) and (boss)},
|
This post has been edited 1 times, last edit by "BlankMinded" (Sep 25th 2013, 8:11pm)
the person that told u not to use throw (even at burst phase) is completely ignorant and should stop giving wrong advicesI have been told to NOT use any other skills like Throw or Combo Throw under this burst phase