Page 1 of 1

Me.Ability

Posted: Fri May 07, 2004 2:44 pm
by dok
Shadowknight class. Harm touch set to ability page, first button. Taunt on button 2

/echo ${Me.Ability["Harm Touch"]}
|retuns NULL

/echo ${Me.Ability[1]}
|retuns Harmony

/echo ${Me.Ability["Harmony"]}
|returns NULL

/echo ${Me.Ability["Taunt"]}
|retuns 2

/echo ${Me.Ability[2}
|retuns Taunt




Ogre class. Slam set on combat page, first (well, 7th) button. Bind Wound on 10

/echo ${Me.Ability["Slam"]}
|retuns NULL

/echo ${Me.Ability[7]}
|retuns Regeneration

/echo ${Me.Ability["Regeneration"]}
|returns NULL

/echo ${Me.Ability["Bind Wound']}
|retuns 10

/echo ${Me.Ability[10]}
|retuns Bind Wound


also, /echo ${Me.AbilityReady[1]} crashed to desktop, but assuming its related to problem with Ability. Have not run it through debugger, but will if you think its necessary.

Using MQ2-20040506.zip

Posted: Fri May 07, 2004 3:04 pm
by Lax
ok first off, harm touch is not a skill and slam is not a skill, so you cant use AbilityReady[Slam]. Neither is Regeneration, or Harmony. I'll have to see what the issue is with your slam button showing Regeneration and your HT button showing Harmony, though (those are innates, just like HT and Slam, but this may be an "off-by-one" error)

Now.. if you want to know if Slam is ready, you use
bool AltTimerReady
Alternate timer ready? (Bash/Slam/Frenzy/Backstab. Note that AbilityReady works fine with most of these)
... ${Me.AltTimerReady} tells you if Slam is ready.

I cant tell you when HT is ready as of current. You CAN use methods involving ${Window[xxx].Child[xxx].Checked} to determine if HT is ready.

Posted: Fri Dec 24, 2004 7:20 am
by Cr4zyb4rd
lax, you're not helping. :(

Posted: Mon Dec 27, 2004 12:50 pm
by draco
Yes, this doesn't work for Lay Hands, as well.

Posted: Mon Dec 27, 2004 1:03 pm
by Lax
Thats funny because LoH, like HT, is an innate. good job sherlock ;)

Posted: Sat Aug 27, 2005 12:40 am
by RedManCommeth
${Window[ActionsWindow].Child[AAP_SecondAbilityButton].Checked}

Seems to work for me presuming that the ability is in the second button on the ability page.

Easiest to test with something like fishing initially.

RMC