Jump to content

Custom script error during compiling :S


Recommended Posts

Posted

Heey , i have a problem , when i compile the newest core i get a error .

It is about my custom script .

This is error : invalid conversion from 'int' to 'SpellEffectIndex' at line 938

I have on line 938 this script:

if(!pPlayer->HasAura(SPELL_ID_PASSIVE_RESURRECTION_SICKNESS,0))

Never failed before , i think something is changed in mangos definitions?

Posted

Thx for VERY VERY fast reply :)

BTw , you have made a typo :)

if(!pPlayer->HasAura(SPELL_ID_PASSIVE_RESURRECTION_SICKNESS,EF FECT_INDEX_0))

Should be

if(!pPlayer->HasAura(SPELL_ID_PASSIVE_RESURRECTION_SICKNESS,EFFECT_INDEX_0))

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use