Please fix my BlackGuard script
domagoj_zg
Member Posts: 11
Hi!
Im trying to make simple BG script by which he would fire up all his special abilities and bash enemies. Having 5 BGs in custom party, this job is too tedious by clicking. When SA are wasted, I would simply rest them and begin again. This is a script and works bad, he fires Poison weapon , then linger couple of seconds, then does somethnig but its not good. Please experienced scripters educate me.
IF
ActionListEmpty()
See(NearestEnemyOf(Myself))
THEN
RESPONSE #100
AttackReevaluate(LastSeenBy(Myself),60)
END
IF
See(NearestEnemyOf(Myself))
Range(NearestEnemyOf(Myself),10)
!CheckSpellState(Myself,POISON_WEAPON)
THEN
RESPONSE #100
Spell(Myself,ASSASSIN_POISON)
END
IF
See(NearestEnemyOf(Myself))
Range(NearestEnemyOf(Myself),6)
THEN
RESPONSE #100
Spell(Myself,AURA_OF_DESPAIR)
END
IF
HPPercentLT(Myself,80)
HaveSpell(BLACKGUARD_ABSORB_HEALTH)
THEN
RESPONSE #100
Spell(LastSeenBy(Myself),BLACKGUARD_ABSORB_HEALTH)
END
Im trying to make simple BG script by which he would fire up all his special abilities and bash enemies. Having 5 BGs in custom party, this job is too tedious by clicking. When SA are wasted, I would simply rest them and begin again. This is a script and works bad, he fires Poison weapon , then linger couple of seconds, then does somethnig but its not good. Please experienced scripters educate me.
IF
ActionListEmpty()
See(NearestEnemyOf(Myself))
THEN
RESPONSE #100
AttackReevaluate(LastSeenBy(Myself),60)
END
IF
See(NearestEnemyOf(Myself))
Range(NearestEnemyOf(Myself),10)
!CheckSpellState(Myself,POISON_WEAPON)
THEN
RESPONSE #100
Spell(Myself,ASSASSIN_POISON)
END
IF
See(NearestEnemyOf(Myself))
Range(NearestEnemyOf(Myself),6)
THEN
RESPONSE #100
Spell(Myself,AURA_OF_DESPAIR)
END
IF
HPPercentLT(Myself,80)
HaveSpell(BLACKGUARD_ABSORB_HEALTH)
THEN
RESPONSE #100
Spell(LastSeenBy(Myself),BLACKGUARD_ABSORB_HEALTH)
END
0