GSE: Sequences, Variables, Macros

GSE: Sequences, Variables, Macros

7M Downloads

Unable to use Faerie Fire (Feral) in Classic

TimothyLuke opened this issue · 9 comments

commented

When I play as a Druid in wow classic I now cant use my spell named:
"Faerie Fire (Feral)".
image

Guess it has something to do with that you now can use ranks inside ( )?
Using GSE 2.4.22-classic

Originally posted by @ljus73 in #587 (comment)

commented

@ljus73 I cant fix this until i get a druid with that spell. In the interim /use Faerie Fire (Feral) will work in english clients but not international.

commented

Just an update - my Druid is now 15 - won't be too long before I can fix this

commented

I'm now at 19 - only 11 levels to go. I was hoping it would be available at 18 with Faerie Fire but it appears it is a 21 point talent.

commented

The problem seems to be that you are assuming (Name) = Rank.. This allows for a second (Name)(Name) in this case. You will need to recurse from the back, so the last (Name) will always be the rank

If you want I can write up a fix and post it. Let me know

commented
commented

The fix I applied to mine was on line 576 of translator.lua

if(s) and not string.gsub(spellID, "Feral", "") then

That allows it to go in without issue and seems to be testing working for me. I also commented out the line 581
--GSE.PrintDebugMessage("rank:" .. rank .. " " .. string.match(rank, "%d+"), "Translator")

As this was giving an error anyway.

commented

Although in retrospect removing the line in 581 doesnt create an issue with the line 576 fix. So.. /shrug :) Do with this what you want..

commented

Finally got to 30 to be able to test this and verify it.

commented

I believe this is also what's happening with Polymorph(Pig) and Polymorph(Turtle).