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
[3.3.5] Item - Robes of Insight #14734
Comments
Because the 18820 is not removed when the first spell is casted. |
sth like: class spell_item_insight : public SpellScriptLoader
{
public:
spell_item_insight() : SpellScriptLoader("spell_item_insight") { }
class spell_item_insight_AuraScript : public AuraScript
{
PrepareAuraScript(spell_item_insight_AuraScript);
void HandleProc(ProcEventInfo& /*eventInfo*/)
{
GetTarget()->RemoveAura(GetSpellInfo()->Id);
}
void Register()
{
OnProc += AuraProcFn(spell_item_insight_AuraScript::HandleProc);
}
};
AuraScript* GetAuraScript() const
{
return new spell_item_insight_AuraScript();
}
}; |
i think it is better to change proccharges in spellinfo like it is done for similar spells |
we are closing tickets now? i mean if the 'fix' from the pr would not be correct and devs would close the pr, the original issue would be lost :/ |
Oh, I didn't see that this was PR. Sorry :) |
The item Robes of Insight
http://www.wowhead.com/item=940/robes-of-insight
It's supposed to reduce mana cost for the next spell only, seems to reduce mana cost by 500 for all spells cast within 10 seconds.
DB 335.58
rev 8572eea 2015-05-17
The text was updated successfully, but these errors were encountered: