Skip to content

Wizard Doesn't Do Tactics

Dragonfolk2000Dragonfolk2000 Member Posts: 386
edited October 13 in Builders - Scripting
I've got a wererat with levels in wizard. The desired tactic is to cast all two defensive spells (Shield and Endure Elements), cast offensive spells on the nearest PC, then run into melee to fight. They're a wererat so their DR helps a bit with that last part. But what they end up doing is casting Daze and then running into combat. I can't figure out how to change or alter the existing behavior to do what I'm trying to do. I think it's in the OnSpawn script but I'm having trouble understanding how to make it do what I want it to. Does anybody know?

Comments

  • ForSeriousForSerious Member Posts: 457
    It might not be what you want, but the closest I got was the insta-buff on spawn flag:
    SetSpawnInCondition(NW_FLAG_FAST_BUFF_ENEMY);

    The last time I looked into modifying the combat AI, I was amazed at how convoluted it is. I still want to figure it out, but it keeps getting pushed back.
Sign In or Register to comment.