Check For SpellEffect Fix
I ran into this issue primarily with Levitate. If anyone can think of another effect that this might be useful for it should be a reasonably simple implementation.
Basically, lets say you cast Flight of Eagles and then a Bard uses Selo's Song of Travel (Invis/Levi/Movement song). As soon as EITHER buff fades, you lose levi, even though you still have the other buff supposedly giving you levi. This is my fix. {mob.h} insert anywhere Code:
bool AffectedExcludingSlot(int slot, int effect); append Code:
bool Mob::AffectedExcludingSlot(int slot, int effect) find Code:
case SE_Levitate: Code:
case SE_Levitate: |
This works perfectly for the caster, but any group member that also recieved the buffs will still fall when one of the spells wears off.
|
Hmmm, nevermind on that. It's working for both caster and group members now without me changing a thing. I've even recreated the situation where it didn't work and seems to be fine. It might have been lag, my test machine is under heavy load, atm.
|
All times are GMT -4. The time now is 06:44 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.