Really weird bug!
Really weird bug!
I was in de arnise keep on the second floor. I had just crowded the Yuan Ti mage and was about to start pounding when I the Yuan Ti fired a sequencer of strenght, improved invisibilty and haste. This in itself is strange cause I have never seen him do it before but even weirder is the fact that he fired it at anomen!!! Has that ever happened to any of you guys?
You can't handle the truth!
- The fallen one
- Posts: 326
- Joined: Wed Jan 10, 2001 11:00 pm
- Location: Edmonton,Alberta,Canada
- Contact:
Hehe that is funny.Originally posted by craig:
<STRONG>One of my pcs once cast cure poison on a troll</STRONG>
@ Bruce, that mage runs the script MAGE12D, heres the lines that cause this behavior:
IF
See(NearestEnemyOf(Myself))
See(NearestMyGroupOfType)
!Dead("Myself")
Global("SpellSequencer","LOCALS",0)
THEN
RESPONSE #100
DisplayString(LastSeenBy(Myself),'Spell Sequencer - Fired')
DisplayString(LastSeenBy(Myself),'Spell Sequencer - Haste')
ReallyForceSpell(LastSeenBy(Myself),WIZARD_HASTE)
DisplayString(LastSeenBy(Myself),'Spell Sequencer - Improved Invisibility')
ReallyForceSpell(LastSeenBy(Myself),WIZARD_IMPROVED_INVISIBILITY)
DisplayString(LastSeenBy(Myself),'Spell Sequencer - Strength')
ReallyForceSpell(LastSeenBy(Myself),WIZARD_STRENGTH)
SetGlobal("SpellSequencer","LOCALS",1)
END
The problem is this: the last seen by should point to this : See(NearestMyGroupOfType), meaning another member of the Yuanti.
However since his last seen by was anomen and the conditional exectuted, it means Anomen is considered a member of the same group as the yuanti...I had problems with the Trigger InMyGroup(Object), and consider that trigger broken. That trigger's function appears to be about the same as NearestMyGroupOfType, thus that trigger may well be broken too, since I dont think Anomen is a class 'LongSword', race 'Yuanti", Aligned 'Chaotic Evil' with a gender of Neither like the yuanti is (KPSHAM.cre if you want to see for yourself). Also the area file for that area is AR1303.are.
Wizards Of Eregion Expansion Team Presents:
[url="http://www24.brinkster.com/manveru"]Dagor Laureland[/url]
[url="http://groups.yahoo.com/group/IEEAIS"]Infinity Engine Enemy AI Scriptors Council[/url]
[url="http://www24.brinkster.com/manveru"]Dagor Laureland[/url]
[url="http://groups.yahoo.com/group/IEEAIS"]Infinity Engine Enemy AI Scriptors Council[/url]