thats exactly why bot spells should be in DB , in a structure similar to npc spells, so you don't have to mess with the source every time you need to tune up a spell =)
so instead of having a hard-coded AI for bot spell casting, the AI should be universal to be able to take ANY spell as input by type, and act accordingly - universal for both npcs and bots.
yeah i know its not easy, but its a direction worth investing in.
|