Quote from: Salk on April 05, 2012, 03:18:38 PMThis update is really interesting.
Ogres are some of my favourite monsters.... ^_^ But when you write that scripts are still a mess I get a bit worried since a good AI mod must have scripts working very well. Am I wrong?






// Elemental
[monster=race(ELEMENTAL),walk]
[generate]// Lesser Basilisk
[monster=race(BASILISK),walk]
[section=beforeCombat]
[reallyForceSpell=Petrification]
[generate]// Death Knight
[monster=class(DEATHKNIGHT),smart]
[section=beforeTracking]
[reallyForceSpell=Death Knight Spell Turning]
[action=timer(ja#detect,24),forceSpell(Detect Invisibility);requireSelf=nodisablecheck,nomem]
[section=beforeCombat]
[reallyForceSpell=Demon Knight Fear]
[action=forceSpell(WIZARD_TRUE_DISPEL_MAGIC,remove)]
[action=forceSpell(DEATHKNIGHT_FIREBALL,remove)]
[action=forceSpell(WIZARD_POWER_WORD_KILL),remove(WIZARD_POWER_WORD_KILL,WIZARD_POWER_WORD_STUN,WIZARD_POWER_WORD_BLIND);require=random(50)]
[action=forceSpell(WIZARD_POWER_WORD_STUN),remove(WIZARD_POWER_WORD_KILL,WIZARD_POWER_WORD_STUN,WIZARD_POWER_WORD_BLIND);require=random(60)]
[action=forceSpell(WIZARD_POWER_WORD_BLIND),remove(WIZARD_POWER_WORD_KILL,WIZARD_POWER_WORD_STUN,WIZARD_POWER_WORD_BLIND);require=random(20)]
[action=forceSpell(Symbol of Pain),remove(Symbol of Pain,WIZARD_SYMBOL_FEAR);require=random(75)]
[action=forceSpell(WIZARD_SYMBOL_FEAR),remove(PAIN,WIZARD_SYMBOL_FEAR);require=random(75)]
[action=forceSpell(Wall of Ice)]
[generate]