Quoted from "myfree090;525100"
If you still want a diyce for Wd/s, I believe there is one in the diyce 2.0 forum. Here's the link is here -> http://forum.us.runesofmagic.com/showthread.php?t=65376
|
|
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 |
--Class: Scout/Warden
if mainClass == "RANGER" and subClass == "WARDEN" then
--Potions and Buffs
Skill = {
{ name = "Frost Arrow", use = (not pbuffs("Frost Arrow")) },
{ name = "Briar Shield", use = (not pbuffs("Briar Shield")) },
{ name = "Entling Offering", use = (not pbuffs("Entling Offering")) },
--Combat & PVE
if enemy and (mode == "PvE") then
Skill2 = {
{ name = "Snipe", use = (pbuffs("Hidden Peril")) },
{ name = "Combo Shot", use = (CD("Combo Shot")) },
{ name = "Autoshot", use = (not ASon) },
{ name = "Vampire Arrows", use = (CD("Vampire Arrows") and (EnergyBar1 >= 30)) },
{ name = "Thorn Arrow", use = (CD("Torn Arrow")) },
{ name = "Hidden Peril", use = (CD("Hidden Peril") and (EnergyBar1 >= 30)) },
{ name = "Reflected Shot", use = (CD("Reflected Shot")) },
{ name = "Piercing Arrow", use = (CD("Piercing Arrow")) },
{ name = "Wind Arrows", use = ((CD("Wind Arrows")) and (EnergyBar1 >= 55)) },
{ name = "Shoot", use = (CD("Shoot")) },
}
--Combat & PVP
elseif enemy and (mode == "PvP") then
Skill2 = {
{ name = "Detection", use = (not pbuffs("Detection")) },
{ name = "Snipe", use = (pbuffs("Hidden Peril")) },
{ name = "Autoshot", use = (not ASon) },
{ name = "Piercing Arrow", use = (CD("Piercing Arrow")) },
{ name = "Reflected Shot", use = (CD("Reflected Shot")) },
{ name = "Vampire Arrows", use = (CD("Vampire Arrows")) },
{ name = "Thorn Arrow", use = (CD("Torn Arrow")) },
{ name = "Hidden Peril", use = (CD("Hidden Peril") and (EnergyBar1 >= 30)) },
{ name = "Combo Shot", use = (CD("Combo Shot")) },
{ name = "Wind Arrows", use = ((CD("Wind Arrows")) and (EnergyBar1 >= 35)) },
}
end
|
LOL, this is a diyce for SCOUT/WARDEN not WARDEN/SCOUT and besides this diyce macro for s/wrd is not the best, cause i do better dps single target boss burn with hiden peril autoshot shot spam best way to to create your own diyce macro is to try to learn your class skills rotation and put them down in the diyce format just read up on the forums, then copy paste others code and adjust to your playstyle
Quoted from "myfree090;525303"
This is a code for wd/s i found in that thread. just gotta look hard enough. Note: i did not make that code nor have i used it yet. so i don't know if it works.
![]()
Source code
1--Class: Scout/Warden if mainClass == "RANGER" and subClass == "WARDEN" then --Potions and Buffs Skill = { { name = "Frost Arrow", use = (not pbuffs("Frost Arrow")) }, { name = "Briar Shield", use = (not pbuffs("Briar Shield")) }, { name = "Entling Offering", use = (not pbuffs("Entling Offering")) }, --Combat & PVE if enemy and (mode == "PvE") then Skill2 = { { name = "Snipe", use = (pbuffs("Hidden Peril")) }, { name = "Combo Shot", use = (CD("Combo Shot")) }, { name = "Autoshot", use = (not ASon) }, { name = "Vampire Arrows", use = (CD("Vampire Arrows") and (EnergyBar1 >= 30)) }, { name = "Thorn Arrow", use = (CD("Torn Arrow")) }, { name = "Hidden Peril", use = (CD("Hidden Peril") and (EnergyBar1 >= 30)) }, { name = "Reflected Shot", use = (CD("Reflected Shot")) }, { name = "Piercing Arrow", use = (CD("Piercing Arrow")) }, { name = "Wind Arrows", use = ((CD("Wind Arrows")) and (EnergyBar1 >= 55)) }, { name = "Shoot", use = (CD("Shoot")) }, } --Combat & PVP elseif enemy and (mode == "PvP") then Skill2 = { { name = "Detection", use = (not pbuffs("Detection")) }, { name = "Snipe", use = (pbuffs("Hidden Peril")) }, { name = "Autoshot", use = (not ASon) }, { name = "Piercing Arrow", use = (CD("Piercing Arrow")) }, { name = "Reflected Shot", use = (CD("Reflected Shot")) }, { name = "Vampire Arrows", use = (CD("Vampire Arrows")) }, { name = "Thorn Arrow", use = (CD("Torn Arrow")) }, { name = "Hidden Peril", use = (CD("Hidden Peril") and (EnergyBar1 >= 30)) }, { name = "Combo Shot", use = (CD("Combo Shot")) }, { name = "Wind Arrows", use = ((CD("Wind Arrows")) and (EnergyBar1 >= 35)) }, } end
Quoted from "choujiaki;525318"
LOL, this is a diyce for SCOUT/WARDEN not WARDEN/SCOUT and besides this diyce macro for s/wrd is not the best, cause i do better dps single target boss burn with hiden peril autoshot shot spam best way to to create your own diyce macro is to try to learn your class skills rotation and put them down in the diyce format just read up on the forums, then copy paste others code and adjust to your playstyle
|
|
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 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 |
-- Class: Warden/Scout
-- DIYCE 2.0
elseif mainClass == "WARDEN" and subClass == "RANGER" then
local PetExists = UnitExists("playerpet")
local petname = UnitName("playerpet")
local pethealth = PctH("playerpet")
local petAttackActive = false
if (PetExists and UnitExists("pettarget") and UnitCanAttack("player","pettarget") and combat) then
petAttackActive = true
end
-- Cancel Blood Arrows out of combat or at less than 40% health, without invoking the GCD.
if friendly or (not UnitExists("target")) or tdead or (phealth <= .40) and (pbuffs['Blood Arrow']) then
CancelBuff("Blood Arrow")
end
-- Potions
Skill = {
{ name = "Action: "..healthpot, use = (phealth <= .60) },
{ name = "Action: "..manapot, use = ((pctEB1 <= .50) and (phealth >= .40)) }, -- only mana pot if decent health
{ name = "Elven Prayer", use = ((pethealth <= .70) and PetExists) },
-- Buffs
{ name = "Briar Shield", use = (not pbuffs['Briar Shield']) },
{ name = "Protection of Nature", use = (not pbuffs['Protection of Nature']) },
-- Pet
{ name = "Summon Spirit of the Oak", use = ((not PetExists) and (not pbuffs['Heart of the Oak']) and (not combat)) },
{ name = "Summon Spirit of the Oak", use = ((PetExists) and (not string.find(petname,"Spirit of the Oak")) and (not pbuffs['Heart of the Oak']) and (not combat)) } ,
-- Cheaper to Recast weak pet than to heal
{ name = "Summon Spirit of the Oak", use = ((pethealth <= .25) and (PetExists) and (not pbuffs['Heart of the Oak'])) },
-- Hold Shift to Absorb Spirit of the Oak to Tank
{ name = "Heart of the Oak", use = (IsShiftKeyDown() and (not combat) and (PetExists) and (string.find(petname,"Spirit of the Oak")) and (not pbuffs['Heart of the Oak'])) },
}
-- Combat
if enemy then
Skill2 = {
-- the following is my pet's basic attack command, and it is listed first in order to use it as a combat opener and help ensure that the pet gets first aggro, making aggro management easier.
{ name = "Pet Skill: 3 (Pet Attack)", use = ((not petAttackActive) and (not tdead) and PetExists) },
-- Make sure pet is assisting me.
{ name = "Pet Skill: 3 (Pet Attack)", use = ((petAttackActive) and (not UnitIsUnit( "playerpettarget", "playertarget" )) and PetExists) },
-- Use Throat Attack on detect enemy spell cast.
{ name = "Throat Attack", use = (melee and (tspell ~= nil) and (ttime >= 1) and ((ttime - telapsed) > 0.5) and pctEB1 >= 15) },
{ name = "Damage Transfer", use = (PetExists and combat and (pctEB1 <= .50) and (not pbuffs['Energy Absorb'])) },
{ name = "Energy Absorb", use = (combat and (pctEB1 <= .50) and (not pbuffs['Energy Absorb'])) },
{ name = "Blood Arrow", use = ((phealth >= .80) and party and combat and (not pbuffs['Blood Arrow'])) },
{ name = "Savage Power", use = (combat and (not pbuffs['Savage Power'])) },
{ name = "Elven Amulet", use = (combat and (UnitIsUnit( "targettarget", "player" )) and (not pbuffs['Elven Amulet'])) },
{ name = "Vampire Arrows", use = ((EnergyBar2 >= 40) and (not tbuffs['Vampire Arrows'])) },
{ name = "Anti-Magic Arrow", use = (true) },
{ name = "Shot", use = (combat) },
{ name = "Wrist Attack", use = ((melee) and (not tbuffs['Wrist Attack']) and (EnergyBar2 >= 50)) },
{ name = "Thorny Vines", use = ((pctEB1 >= .05) and melee and (not tbuffs['Thorny Vines'])) },
{ name = "Power of the Wood Spirit", use = (melee) },
{ name = "Untamable", use = ((EnergyBar2 >= 60) and melee) },
{ name = "Cross Chop", use = (melee) },
{ name = "Charged Chop", use = (melee) },
{ name = "Frantic Briar", use = (melee) },
}
end
|
Quoted from "myfree090;525351"
You are correct choujiaki, I copied the wrong code in the post.
Here is the Wd/S Diyce. It is a fairly old diyce, but at a quick glance, still looks like a good template to use as a basic setup to modify from.
![]()
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 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65-- Class: Warden/Scout -- DIYCE 2.0 elseif mainClass == "WARDEN" and subClass == "RANGER" then local PetExists = UnitExists("playerpet") local petname = UnitName("playerpet") local pethealth = PctH("playerpet") local petAttackActive = false if (PetExists and UnitExists("pettarget") and UnitCanAttack("player","pettarget") and combat) then petAttackActive = true end -- Cancel Blood Arrows out of combat or at less than 40% health, without invoking the GCD. if friendly or (not UnitExists("target")) or tdead or (phealth <= .40) and (pbuffs['Blood Arrow']) then CancelBuff("Blood Arrow") end -- Potions Skill = { { name = "Action: "..healthpot, use = (phealth <= .60) }, { name = "Action: "..manapot, use = ((pctEB1 <= .50) and (phealth >= .40)) }, -- only mana pot if decent health { name = "Elven Prayer", use = ((pethealth <= .70) and PetExists) }, -- Buffs { name = "Briar Shield", use = (not pbuffs['Briar Shield']) }, { name = "Protection of Nature", use = (not pbuffs['Protection of Nature']) }, -- Pet { name = "Summon Spirit of the Oak", use = ((not PetExists) and (not pbuffs['Heart of the Oak']) and (not combat)) }, { name = "Summon Spirit of the Oak", use = ((PetExists) and (not string.find(petname,"Spirit of the Oak")) and (not pbuffs['Heart of the Oak']) and (not combat)) } , -- Cheaper to Recast weak pet than to heal { name = "Summon Spirit of the Oak", use = ((pethealth <= .25) and (PetExists) and (not pbuffs['Heart of the Oak'])) }, -- Hold Shift to Absorb Spirit of the Oak to Tank { name = "Heart of the Oak", use = (IsShiftKeyDown() and (not combat) and (PetExists) and (string.find(petname,"Spirit of the Oak")) and (not pbuffs['Heart of the Oak'])) }, } -- Combat if enemy then Skill2 = { -- the following is my pet's basic attack command, and it is listed first in order to use it as a combat opener and help ensure that the pet gets first aggro, making aggro management easier. { name = "Pet Skill: 3 (Pet Attack)", use = ((not petAttackActive) and (not tdead) and PetExists) }, -- Make sure pet is assisting me. { name = "Pet Skill: 3 (Pet Attack)", use = ((petAttackActive) and (not UnitIsUnit( "playerpettarget", "playertarget" )) and PetExists) }, -- Use Throat Attack on detect enemy spell cast. { name = "Throat Attack", use = (melee and (tspell ~= nil) and (ttime >= 1) and ((ttime - telapsed) > 0.5) and pctEB1 >= 15) }, { name = "Damage Transfer", use = (PetExists and combat and (pctEB1 <= .50) and (not pbuffs['Energy Absorb'])) }, { name = "Energy Absorb", use = (combat and (pctEB1 <= .50) and (not pbuffs['Energy Absorb'])) }, { name = "Blood Arrow", use = ((phealth >= .80) and party and combat and (not pbuffs['Blood Arrow'])) }, { name = "Savage Power", use = (combat and (not pbuffs['Savage Power'])) }, { name = "Elven Amulet", use = (combat and (UnitIsUnit( "targettarget", "player" )) and (not pbuffs['Elven Amulet'])) }, { name = "Vampire Arrows", use = ((EnergyBar2 >= 40) and (not tbuffs['Vampire Arrows'])) }, { name = "Anti-Magic Arrow", use = (true) }, { name = "Shot", use = (combat) }, { name = "Wrist Attack", use = ((melee) and (not tbuffs['Wrist Attack']) and (EnergyBar2 >= 50)) }, { name = "Thorny Vines", use = ((pctEB1 >= .05) and melee and (not tbuffs['Thorny Vines'])) }, { name = "Power of the Wood Spirit", use = (melee) }, { name = "Untamable", use = ((EnergyBar2 >= 60) and melee) }, { name = "Cross Chop", use = (melee) }, { name = "Charged Chop", use = (melee) }, { name = "Frantic Briar", use = (melee) }, } end