Salutations friends,
I'm running two modbot enchanters and am running into issues with them overwriting one another's mez spells. I made a solid attempt to nip this in the bud using preconditions, however they're still doing it.
Group of level 50-55 monsters approach.
Enchanters start going crazy mezzing mobs.
Enchanter A mezzes Mob 1 at 0 seconds with a 48 second mez spell
Enchanter B then mezzes mob 1 at 12 seconds with a 48 second mez spell (overwrite!)
Here's the logic breakdown of what I wrote as a precondition:
For Enthrall (Mob Level <=55), I only want to mez the mob if it is under level 55, and either (target is mezzed + target's mez duration <= 6 seconds) or (target is not mezzed)
Here's my full Mez Debuff config that does not work properly:
Does anyone have any idea how to prevent this if the preconditions are failboating?
Many thanks!
I'm running two modbot enchanters and am running into issues with them overwriting one another's mez spells. I made a solid attempt to nip this in the bud using preconditions, however they're still doing it.
Group of level 50-55 monsters approach.
Enchanters start going crazy mezzing mobs.
Enchanter A mezzes Mob 1 at 0 seconds with a 48 second mez spell
Enchanter B then mezzes mob 1 at 12 seconds with a 48 second mez spell (overwrite!)
Here's the logic breakdown of what I wrote as a precondition:
For Enthrall (Mob Level <=55), I only want to mez the mob if it is under level 55, and either (target is mezzed + target's mez duration <= 6 seconds) or (target is not mezzed)
INI:
/if ({Target.Level} <= 55 &&
(
(
{Target.Mezzed.ID} && {Target.Mezzed.Duration.TotalSeconds} <=6 ) ||
!{Target.Mezzed.ID}
)
)
/return TRUE
Here's my full Mez Debuff config that does not work properly:
INI:
[AdvDebuff]
ADCount=8
ADNewFormat=1
ADMobMax=80
ADCheckTime=0
ADAggroOnly=1
ADHold=1|1|12| 1=on 0=off|Debuff spell #|Time to wait for debuff|
ADCoolDown1=
ADCoolDown2=
ADCoolDown3=
ADCoolDown4=
ADCoolDown5=
[AD1]
Gem=5
Spell=Mesmerization
SpellFoci=
DurMod=0
SpellAlias=aemez
Announce=[+r+]AE Mez[+x+] <<[+y+] %t [+x+]>> with[+g+] %s [+x+]
SpellMinMana=1
SpellRecast=3
SpellCastonResist=tash
SpellDelay=0
TarCnt=1
TarType=12
TarBegHP=100
TarEndHP=5
IfSpellImmune=
UseHoTT=0
PreCondition=/if ({Target.Level}<=55&&{SpawnCount[range 1 55 npc radius 30 loc {Target.X} {Target.Y} {Target.Z}]}>=3&&(({Target.Mezzed.ID}&&{Target.Mezzed.Duration.TotalSeconds}<=6)||!{Target.Mezzed.ID})) /return TRUE
[AD2]
Gem=4
Spell=Rapture
SpellFoci=
DurMod=0
SpellAlias=mez
Announce=/bc [+r+]Mezzed[+x+] <<[+y+] %t [+x+]>> with[+g+] %s [+x+]
SpellMinMana=0
SpellRecast=0|0
SpellCastonResist=tash
SpellDelay=0
TarCnt=1
TarType=12
TarBegHP=100
TarEndHP=5
IfSpellImmune=
UseHoTT=0
PreCondition=/if ({Target.Level}>=58&&{Target.Level}<=61&&(({Target.Mezzed.ID}&&{Target.Mezzed.Duration.TotalSeconds}<=6)||!{Target.Mezzed.ID})) /return TRUE
[AD3]
Gem=3
Spell=Glamour of Kintaz
SpellFoci=
DurMod=0
SpellAlias=mez
Announce=/bc [+r+]Mezzed[+x+] <<[+y+] %t [+x+]>> with[+g+] %s [+x+]
SpellMinMana=0
SpellRecast=0|0
SpellCastonResist=tash
SpellDelay=0
TarCnt=1
TarType=12
TarBegHP=100
TarEndHP=5
IfSpellImmune=
UseHoTT=0
PreCondition=/if ({Target.Level}>=56&&{Target.Level}<=57&&(({Target.Mezzed.ID}&&{Target.Mezzed.Duration.TotalSeconds}<=6)||!{Target.Mezzed.ID})) /return TRUE
[AD4]
Gem=2
Spell=Enthrall
SpellFoci=
DurMod=0
SpellAlias=mez
Announce=/bc [+r+]Mezzed[+x+] <<[+y+] %t [+x+]>> with[+g+] %s [+x+]
SpellMinMana=0
SpellRecast=0|0
SpellCastonResist=tash
SpellDelay=0
TarCnt=1
TarType=12
TarBegHP=100
TarEndHP=5
IfSpellImmune=
UseHoTT=0
PreCondition=/if ({Target.Level}<=55&&(({Target.Mezzed.ID}&&{Target.Mezzed.Duration.TotalSeconds}<=6)||!{Target.Mezzed.ID})) /return TRUE
Does anyone have any idea how to prevent this if the preconditions are failboating?
Many thanks!

