5 replies [Last post]
BlueGriffon
BlueGriffon's picture
User offline. Last seen 48 min 51 sec ago. Offline
Joined: 09/13/2009
Posts: 68

You should be able to adapt the wizards below to whatever spells you would like, and whatever keybindings you like. They do not use the <<Heals>> group mechanism, just each individual character name, so they should cast regardless of which sub-group your priest belongs to.

I have recently gotten a Raser Naga mouse (OMG I love it) that lets me press keys via a 12-key pad on the side of the mouse. I've decided that all my healing, curse removing, shielding, abolishing of poison and disease, etc. will be done with my right hand via the Naga mouse. And my left hand will do all the movement stuff and tank/dps stuff. I don't have my hands anywhere near the F-keys... so I've changed my keybindings to match my play style.

I created a file in the

C:\GameCommanderPro\Game Support\ folder

named BlueGriffonPriestCommands.GCPWiz.

Inside that file is the following code:

#Wizard Power Word Shield
#Copy Toons, Character.Name
#Select CasterName, Toons, Select the Priest
#calc Caster,"[CasterName(1)]"
#loop i,1,[Toons.Count]
#Command Shield[Toons(i)]
<<[Caster]>>
cast Power Word: Shield on [Toons(i)]
#Key [i]
#EndCommand
#EndLoop
#EndWizard

This wizard will ask you to pick your priest out of the list of characters defined for your team, and then it will create a GCP command to allow you to shield each toon in your group. Keybindings are: 1 - Shield first char; 2 - Shield second character; etc.

#Wizard Group Healing
#Copy Toons, Character.Name
#Select CasterName, Toons, Select the Priest
#Select TankName, Toons, Select the Tank
#calc Caster,"[CasterName(1)]"
#calc Tank,"[TankName(1)]"
#Command Group-Healing
<<[Caster]>>
cast Prayer of Healing on [Tank]
#Key 0
#EndCommand
#EndWizard

For this, the wizard asks you for both your priest and tank... I have a personal preference to cast group healing spells on the tank and if anyone isn't in range, it's their fault! The tank's the central focus of everyone. Something that PUG folks often don't know. If I start running into situations where I don't want the target of my group healing spell to be a specific person everytime, I can modify this wizard and eliminate the "on [Tank]" part (and get rid of the #Select TankName line. That way, the priest will cast the spell on whomever they happen to have selected.

Gambatte
Gambatte's picture
User offline. Last seen 25 weeks 6 days ago. Offline
Joined: 11/27/2009
Posts: 25
Question on language

Thanks for posting these here BG and I get what they are suppose to do, but I don't understand how to set the target of the PW:Shield. I know which line it is but I've been going through the "Do This First Wizards" trying to figure out how to set the "target" in the wizard.

What does "i" make the wizard do? ie #loop i,1,[Toons.Count]

Or "j" from the Healers Wizard? S and S2 for that matter also. See below.

#Command Healers
#CDesc Sets how many characers are assigned to the healer role.
#Select Healers, Toons, Select Healers (In Order)
Msg Select No Of Healers
Get Heals, No
Msg
#Loop i,1,[Healers.Count]
GroupSet [Healers(i)],DPS
#EndLoop
#Loop i,1,[Healers.Count]
#Calc j,[i]-1
if %Heals% > [j]
GroupSet [Healers(i)],Heals
endif
#EndLoop
System Status 3,Heals:%Heals%;
#key .
#EndCommand
#Calc S,""
#Calc S2,""
#loop i,1,[Toons.Count]
#Calc S,"[S]" & "[i] = [Toons(i)],"
#endloop
#loop i,1,[Groups.Count]
#Calc S2,"[S2]" & "[i] = [Groups(i)],"
#endloop

As written there the Heal wizard will set F8-F12 to heal the respective character, but I don't know exactly HOW its determining this in the code or how i can use this to set my wizard to Shield/Dispell with Ctrl and Alt modifiers to the Fkeys.

To be honest though, I ultimately want to set all these functions to Numpad keys. In my set up I use an N52te and a Razer Naga for combat, moving, checking my inventory, map and character. But one thing at a time here, lol.

Like I said, its a lack of knowledge of the language used in the wizards for me to do this on my own I believe. I know what I want to do and how it SHOULD work. Just a matter of figuring out the execution.

Gambatte
Gambatte's picture
User offline. Last seen 25 weeks 6 days ago. Offline
Joined: 11/27/2009
Posts: 25
Ok, I think I'm figuring this

Ok, I think I'm figuring this out now. Helps if you look at the CORRECT wizard for your reference though. I've determined the above wizard is only references PART of what I want to accomplish. I'll post what I've come up with when I'm finished with it later for feedback.

Gambatte
Gambatte's picture
User offline. Last seen 25 weeks 6 days ago. Offline
Joined: 11/27/2009
Posts: 25
Half way there

Ok, got the PW:Shield to work like a charm. Essentially its BGs wizard but set to use the F-keys

#Wizard PW:Shield
#WDesc Sets up PW:Sheild and Dispell assignments
#Copy Toons, Character.Name

#Command PW:Shield
#CDesc Sets priest and the target of your priest's PW:Shield
#Copy Toons, Character.Name
#Select CasterName, Toons, Select the Priest
#calc Caster, "[CasterName(1)]"
#loop i,1,[Toons.Count]
#Command Shield[Toons(i)]
<<[Caster]>>
cast Power Word: Shield on [Toons(i)]
#calc j, [i] + 7
#Key !F[j]
#EndCommand
#EndLoop
#EndWizard

However the Dispell wizard is having an issue. I'm getting an error after I set the Dispell toons and their respective spells. Here's the error:

"GCP1 Attemp To Evaluate Toon When Not Set (8) cast [SpellToUse] on [Toon(i)]"

Here's the Wizard code:

#Wizard Dispell
#Command Dispell
#CDesc Sets your dispell characters and their dispell or removal spells
#Select Casters, Toons, Select Dispellers
#loop i,1,[Casters.Count]
#Selectone Dispell,Spells, Spells, Select Dispell for [Casters(i)]
#calc SpellToUse, "[Dispell(1)]"
<<[Casters(i)]>>
cast [SpellToUse] on [Toon(i)]
#calc j, [i] + 7
#Key ^F[j]
#EndCommand
#EndLoop
#EndWizard

The idea is to use Ctrl+F8-12 to dispell any aliment with one button press on the assigned toon

Dispells are
Paladin = Purify
Mage = Remove Curse
Druid = Abolish Poison
Priest = Dispell Magic

BlueGriffon
BlueGriffon's picture
User offline. Last seen 48 min 51 sec ago. Offline
Joined: 09/13/2009
Posts: 68
Gambatte, I'm not an expert

Gambatte,

I'm not an expert in wizard writing... I'm just a GCP user like you :)

But looking at your Dispel1 wizard, the first thing that pops out at me about why it might not work is that the Command that it creates keeps getting overwritten... your #Command line is not inside your #loop command. So only one command will be created.

Note that I haven't tested this... but here's a guess at something that you might be looking for:

#Wizard Dispel1
#Select Casters, Toons, Select Dispellers
#loop i,1,[Casters.Count]
#Select [Casters(i)]Spells,Spells,Select Dispel Spells for [Casters(i)]
#EndLoop
#loop i,1,[Toons.Count]
#Command Dispel[Toons(i)]
#loop x,1,[Casters.Count]
#calc SpellToUse, "[[Casters(x)]Spells(1)]"
cast [SpellToUse] on [Toons(i)] from [Casters(x)]
#EndLoop
#calc j, [i] + 7
#Key ^F[j]
#EndCommand
#EndLoop
#EndWizard

Hope this helps :) Have fun!

~BlueGriffon

Gambatte
Gambatte's picture
User offline. Last seen 25 weeks 6 days ago. Offline
Joined: 11/27/2009
Posts: 25
Getting the Same Error

Still getting the same error with the new code. I'm going to take this back to the support forums and see if one of them can help. Thanks for taking the time to look at this though BG. You.ve been a great help already.