View Single Post
  #510  
Old 05-08-2008, 05:32 PM
Aramid
Discordant
 
Join Date: May 2006
Posts: 356
Default

Quote:
Originally Posted by Congdar View Post
There is a place in the bot code that puts the pet spell in slot 0. If you did the same location you problably wouldn't notice the overwrite, or you could rem out the code in mobai.cpp and that might do it.
By commenting out the code in MobAI.cpp, fixed my problem of loading the pet spell twice. Thanks for the information.

I first tried putting the pet spell as priority 255 and I still ended up with a pet spell in slot 0 and slot 1 where as when the priority was just 1 it loaded in slot 0 and slot 5. Is there something specfic to make a spell load in slot 0?
__________________
Random Segments of Code....