Page 1 of 1

Spell effect icon fix

PostPosted: Sat Jul 12, 2014 2:41 pm
by Dinberg
Hi, this is a long standing bug:

In GameSpellEffect
Code: Select all
public ushort Icon { get { if (m_handler != null && m_handler.Spell != null) return m_handler.Spell.ClientEffect; else return 0; } }
should return m_handler.Spell.Icon, not Spell.ClientEffect.

Re: Spell effect icon fix

PostPosted: Sat Jul 12, 2014 2:42 pm
by Dinberg
(Or, if you don't like this fix, can we at least have it a virtual ushort so I can override as I please?)

Re: Spell effect icon fix

PostPosted: Sat Jul 12, 2014 3:57 pm
by Graveen
YW, fixed in ahem, soon, still committing (i realise i had 6 months + commit pending on my computer working copy :p)

Re: Spell effect icon fix

PostPosted: Sat Jul 12, 2014 4:32 pm
by Dinberg
Did you make it virtual aswell? :D

Re: Spell effect icon fix

PostPosted: Sat Jul 12, 2014 5:07 pm
by Dinberg
Could we also have DelveInfo as virtual for GameSpellEffect please? Thanks!

Re: Spell effect icon fix

PostPosted: Sat Jul 12, 2014 5:34 pm
by Graveen
As you want, but i think you still have commit rights, if you feel easier. :)

Re: Spell effect icon fix

PostPosted: Sat Jul 12, 2014 5:44 pm
by Dinberg
I dont think I do! (Didn't last time I checked)

Re: Spell effect icon fix

PostPosted: Sat Jul 12, 2014 7:13 pm
by Graveen
i would merit to be whipped with fresh stinging neetles if i dared to remove you. I mean, you gained lifetime commit rights !

Re: Spell effect icon fix

PostPosted: Sat Jul 12, 2014 8:08 pm
by Dinberg
:) Graveen come on irc, lets chat! I'm in dolserver

Re: Spell effect icon fix

PostPosted: Sat Jul 12, 2014 11:38 pm
by Dinberg
Also, the void Overwrite in GameSpellEffect could be virtual

Re: Spell effect icon fix

PostPosted: Thu Jul 24, 2014 1:02 pm
by stephenxpimentel
hmm that explains why I was always annoyed that I couldn't change the icon... explains a lot, just assumed the client wouldn't read it as 2 different #s, glad I was wrong

:)

Re: Spell effect icon fix

PostPosted: Wed Apr 20, 2016 7:29 am
by doluser
a stupid question from a noob: where should i place this text? :(

Re: Spell effect icon fix

PostPosted: Tue Apr 26, 2016 7:58 pm
by Dinberg
Did this not get added to core? I guess I could raise a pull request