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

GetSpellInfo Deprecrated in The War Within expansion #160

Closed
ryulinho opened this issue Jul 20, 2024 · 0 comments
Closed

GetSpellInfo Deprecrated in The War Within expansion #160

ryulinho opened this issue Jul 20, 2024 · 0 comments

Comments

@ryulinho
Copy link

ryulinho commented Jul 20, 2024

GetSpellInfo was replaced with C_Spell.GetSpellInfo

It returns information differently - here is an example for Divine Shield.

/dump GellSpellInfo(642)
Dump: value=GetSpellInfo(642)
[1]="Divine Shield",
[3]=524354,
[4]=0,
[5]=0,
[6]=0,
[7]=642,
[8]=524354

/dump C_Spell.GetSpellInfo(642)
Dump: value=C_Spell.GetSpellInfo(642)
[1]={
castTime=0,
name="Divine Shield",
minRange=0,
originalIconID=524354,
icondID=524354,
maxRange=0,
spellID=642
}

@ryulinho ryulinho changed the title GetSpellInfo Deprecrated GetSpellInfo Deprecrated in The War Within expansion Jul 20, 2024
Rainrider added a commit that referenced this issue Jul 21, 2024
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

1 participant