Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AfterCast not working on Classic Era #295

Open
svenbledt opened this issue Nov 28, 2024 · 1 comment
Open

AfterCast not working on Classic Era #295

svenbledt opened this issue Nov 28, 2024 · 1 comment

Comments

@svenbledt
Copy link

First of all, arg2 is spell GUID wich is actualy not a option i think that ppl enter the spellguid,

arg3 wich should then be spellid is fine for me but the event does just nothing and i think it doesnt work at all on Classic Era.

Pls fix this its needed for warriors and would be highly appreciated.

@DedodedoMinion
Copy link

Yeah I had this issue as well, you can do a workaround for it by defining the args at the top as they aren't passed in the loadstring

local arg1,arg2,arg3 = ...

this will make arg3 the spellID

here's an example that I use to equip my stealth detction set when casting track hidden

local arg1,arg2,arg3 = ...
local spell = 19885
local set = "Stealth Detect"
if arg1=="player" and arg3==spell then
  EquipSet(set)
end

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants