Donnavan2005
New member
- Joined
- May 30, 2005
- RedCents
- 0¢
I think I originally posted this in the wrong section, so I moved it here....
I have been playing with siddin's tank macro and healer macro, and have a few questions, I will also post the macro's with the changes I have made, and hope I can get a little feed back/help.
Here is the healer macro...as far as I can tell the original was made for a druid healer, I have changed it for a level 65 cleric healer with CH in gem 1, virtue in gem 3, BoR in gem 4, Magic resist in gem 5 and AoZ in gem 8. I also changed the macro so I will only cast virt on the tank, and AoZ on the cleric.
code:
Do I need to change anything in the code with my tank's name? or just target him and start the macro? (/macro healer or /macro healer (tank name)?)
Here is the code that I only changed a bit to acomidate my SK as tank.
I declared for 2 spells, with my illusion in gem 6 and my snare in gem 8.
code:
I was curious what the line "/face fast Loc -3530, -1219" in the code does? will it return me to that loc each time? or do I need to get a custon loc I want to return to after each fight/during each fight?
I started to set it up so that he would cast 2-3 spells each fight, Snare, mana conversion, and maybe damage shield, but wasn't sure where to put the code to actually cast in the macro (like I said I'm a beginner here). I was thinking to put it here to cast snare during fight?!? (if I am reading this macro right)
code: -something like this-
Where would I put the other two spells to cast each time? Also, when I start the macro is there a certain command besides "/macro tank"? as in "/macro tank (tank name)"? Any and all help would be greatly apreaciated.
Donnavan
Edit - I know I have posted a mouth full, and thanks much for the answers I have gotten so far, many thanks Alatyami!
I have been playing with siddin's tank macro and healer macro, and have a few questions, I will also post the macro's with the changes I have made, and hope I can get a little feed back/help.
Here is the healer macro...as far as I can tell the original was made for a druid healer, I have changed it for a level 65 cleric healer with CH in gem 1, virtue in gem 3, BoR in gem 4, Magic resist in gem 5 and AoZ in gem 8. I also changed the macro so I will only cast virt on the tank, and AoZ on the cleric.
code:
Rich (BB code):
Sub Main
/declare MyTankName string outer ${Target.CleanName}
/declare pauseformana int outer 0
/declare donecasting int outer 0
/declare VIRT int outer 3
/declare BOR int outer 4
/declare MAG int outer 5
/declare AOZ int outer 8
/target ${MyTankName)
:Start
/if (${Target.Distance}<=200) /if (${Target.PctHPs}<=65) {
/if (${Me.State.Equal[SIT]}) /stand
/cast 1
/delay 12s
/target ${MyTankName)
}
/if (${pauseformana}==1) /if (${Me.PctMana}>=80) {
/varset pauseformana 0
/tell ${MyTankName) You may continue
}
/if (${donecasting}==1) /if (${Me.PctMana}<=20) {
/tell ${MyTankName) Pause for mana
/varset donecasting 0
/varset pauseformana 1
}
/if (${pauseformana}==1)/goto :Start
/if (${Target.Distance}<=80) /if (${Me.Buff[${Me.Gem[${VIRT}].Name}].Duration}<=6) {
/if (${Me.State.Equal[SIT]}) /stand
/tell ${MyTankName) casting please wait...
/target ${MyTankName)
/cast ${VIRT}
/delay 30s
/target ${MyTankName)
}
/if (${Target.Distance}<=80) /if (${Me.Buff[${Me.Gem[${BOR}].Name}].Duration}<=6) {
/if (${Me.State.Equal[SIT]}) /stand
/tell ${MyTankName) casting please wait...
/target ${MyTankName)
/cast ${BOR}
/delay 10s
/target ${Me}
/cast ${BOR}
/delay 10s
/target ${MyTankName)
}
/if (${Target.Distance}<=80) /if (${Me.Buff[${Me.Gem[${MAG}].Name}].Duration}<=6) {
/if (${Me.State.Equal[SIT]}) /stand
/tell ${MyTankName) casting please wait...
/target ${MyTankName)
/cast ${MAG}
/delay 10s
/target ${MyTankName)
}
/if (${Target.Distance}<=80) /if (${Me.Buff[${Me.Gem[${AOZ}].Name}].Duration}<=6) {
/if (${Me.State.Equal[SIT]}) /stand
/tell ${MyTankName) casting please wait...
/target ${Me}
/cast ${AOZ}
/delay 10s
/target ${MyTankName)
/varset donecasting 1
}
/if (${Me.State.Equal[Stand]}) /sit
/goto :Start
/return
Do I need to change anything in the code with my tank's name? or just target him and start the macro? (/macro healer or /macro healer (tank name)?)
Here is the code that I only changed a bit to acomidate my SK as tank.
I declared for 2 spells, with my illusion in gem 6 and my snare in gem 8.
code:
Rich (BB code):
#event exp "You gain experience!!"
#event wait "#*#casting please wait#*#"
#event pause "#*#Pause for mana#*#"
#event continue "#*#You may continue#*#"
Sub Main
/declare waiting int outer 0
/declare mytargetid int outer
/declare snare int outer 8
/declare ill int outer 6
/declare dams int outer 5
/target (your healer's name here)
:Start
/squelch /stick 10
/if (${Target.Distance}>=15) /goto :Start
/if (${Me.PctHPs}<80) /if (!${Target.ID}) /goto :Start
/if (!${Target.ID}) /target npc radius 1500
/if (${Target.Level}>=64) {
/target clear
/delay 2s
/goto :Start
}
/varset mytargetid ${Target.ID}
:distancecheck
/squelch /stick 10
/if (${Target.Distance}>=11) /goto :distancecheck
/stick off
/attack on
/delay 1s
/attack off
/varset waiting 0
:gotosafezone
/if (${Me.State.Equal[SIT]}) /stand
/face fast loc -3530,-1219
/look
/if (${Math.Distance[-3530,-1219]}>2) /nomodkey /keypress forward hold
/if (${Math.Distance[-3530,-1219]}<=2) {
/nomodkey /keypress forward
/goto :Safe
}
/goto :gotosafezone
:Safe
/target npc id ${mytargetid}
/face
:distancecheck2
/delay 1s
/varcalc waiting ${waiting}+1
/if (${waiting}>=20) {
/target clear
/goto :Start
}
/if (${Target.Distance}>=20) /goto :distancecheck2
/attack on
:KillStart
/delay 5
/if (${Target.ID}) {
/squelch /stick 13 uw
/goto :KillStart
}
/attack off
/doevents
/target (healer's name here)
/delay 5
/goto :Start
/return
Sub Event_exp
/target clear
/return
Sub Event_wait
/echo waiting for 20 seconds...
/delay 20s
/doevents
/return
Sub Event_pause
/varset waiting 1
:waiting
/doevents
/if (${waiting}==1) /goto :waiting
/return
Sub Event_continue
/varset waiting 0
/return
I was curious what the line "/face fast Loc -3530, -1219" in the code does? will it return me to that loc each time? or do I need to get a custon loc I want to return to after each fight/during each fight?
I started to set it up so that he would cast 2-3 spells each fight, Snare, mana conversion, and maybe damage shield, but wasn't sure where to put the code to actually cast in the macro (like I said I'm a beginner here). I was thinking to put it here to cast snare during fight?!? (if I am reading this macro right)
code: -something like this-
Rich (BB code):
/if (${Target.Distance}>=20) /goto :distancecheck2
/attack on
:KillStart
/delay 5
/cast ${snare}
/delay 10
/if (${Target.ID}) {
/squelch /stick 13 uw
/goto :KillStart
Where would I put the other two spells to cast each time? Also, when I start the macro is there a certain command besides "/macro tank"? as in "/macro tank (tank name)"? Any and all help would be greatly apreaciated.
Donnavan
Edit - I know I have posted a mouth full, and thanks much for the answers I have gotten so far, many thanks Alatyami!