Enkidu Posted August 13, 2011 Posted August 13, 2011 I've been planning to get back to BG and have been studying the Ease-of-use AI party script to tweak it a little bit to suit my style so here's what I propose: fighter/mages should not cast their melf's meteors automatically; I memorize it for special occasions and don't want it cast immediately after resting: !Class(Myself,FIGHTER_MAGE) !Class(Myself,FIGHTER_MAGE_THIEF) !Class(Myself,FIGHTER_MAGE_CLERIC) Any chance of automating the use of Erinne sling after resting like the belt of fortitude and cloak of the stars? idle thieves should try to look for traps with, for example, something like this:IF CombatCounter(0) !Detect(NearestEnemyOf(Myself)) ActionListEmpty() CheckStatGT(Myself,40,TRAPS) !ModalState(DETECTTRAPS) !ModalState(STEALTH) !StateCheck(Myself,STATE_INVISIBLE) Global("DMWWNoMelee","LOCALS",1) THEN RESPONSE #100 FindTraps() END Also, I found that in every block where there's a see() condition, it is duplicated: IF ActionListEmpty() CombatCounter(0) !Global("DMWWBuff","LOCALS",0) !Detect(NearestEnemyOf(Myself)) !CheckStatGT(Myself,0,SPELLFAILUREPRIEST) HaveSpell(CLERIC_IRONSKIN) [b] See(Myself)[/b] [b] See(Myself)[/b] CheckStat(Myself,0,STONESKINS) THEN RESPONSE #100 ApplySpellRES("wesalac",Myself) // Improved Alacrity Spell(Myself,CLERIC_IRONSKIN) END Do others have this in their script as well or did something glitch in my installation?
Ardanis Posted August 13, 2011 Posted August 13, 2011 Also, I found that in every block where there's a see() condition, it is duplicated:This is expected when compiling SSL script. The response block contains two Cast() actions, and SSL's definition for this action is to check for target's visibility.
Guest i30817 Posted September 12, 2011 Posted September 12, 2011 I'd like to add a few spells to the pre-cast buffs section. If i edit the ssl file and reinstall with weidu, the file will be compiled and things will start do work? Or must i compile it manually (and how?) And sorry if this is a noob question, but there are two files almost identical. A ssl and a bcs Which one to edit?
Guest i30817 Posted September 12, 2011 Posted September 12, 2011 What are the ids names of the spells?
Recommended Posts
Archived
This topic is now archived and is closed to further replies.