Aller au contenu

Photo

Looking for blindness/darkvision fix script


  • Veuillez vous connecter pour répondre
2 réponses à ce sujet

#1
Shadooow

Shadooow
  • Members
  • 4 470 messages

This used to be on PvP arenas, mine included, but I cant remember now how that worked.

 

Since to get bugged this way require certain circumstances which I cant reproduce I cant test it.

 

I think it was just apply new blindness/darkvision and remove it, but Im not sure, can someone post the script for this?



#2
WhiZard

WhiZard
  • Members
  • 1 204 messages

The issue that I know of is that if the effect has a spell ID then GetHasSpellEffect() will ring true, and the visuals of blindness will be applied, but no effect will be found looping through GetFirst/NextEffect().  This can be remedied by applying either ultravision or trueseeing to the target, which will remove whatever was left-over from the effect.  The circumstance that typically causes this problem is losing ultravision/trueseeing when the effect is still present.



#3
Shadooow

Shadooow
  • Members
  • 4 470 messages

The issue that I know of is that if the effect has a spell ID then GetHasSpellEffect() will ring true, and the visuals of blindness will be applied, but no effect will be found looping through GetFirst/NextEffect().  This can be remedied by applying either ultravision or trueseeing to the target, which will remove whatever was left-over from the effect.  The circumstance that typically causes this problem is losing ultravision/trueseeing when the effect is still present.

ok thanks for info