- Joined
- Dec 12, 2007
- Messages
- 3,956
- Reaction score
- 49
- Points
- 38
Took longer than I expected and the solution isnt ideal, but it works.
20140710
-Fixed a CTD issue from last version
-Fixed spell validation to only allow the correct spell types to attempt. ie, undead on undead mobs, summoned on contructs/summoned/elementals, plants on plant, etc.
-Added: Bot.Body <-- lets you know the last stored body type for primary mob. Body types can change during fight and mess spells up.
-Added Turn Undead and Turn Summoned to nukes.
-Charmed pets no longer are factored in to Bot.MinPetHP and should not attempt to be healed. Heals/buffs werent landing on my charm pets so I changed it.
-Added yet another snare check so it hopefully doesnt try to snare corpses. The target must have more than 0% hp to attempt snare.
Also, Fry found what was crashing mq2netheal and that should be updated next compile too. Hurray for less CTDs!
I just ran through a mission and it all worked fine. I hardcoded in constructs, summoned creatures, and elementals for "summoned" target type spells. I think that is all, but if anyone finds a summoned creature that I missed, just target it and type /echo ${Target.BodyType} and tell me what number it is and I can add it in.
EDIT: Tweaked a little, added Bot.ValidDetSpell[spell name/id] to see if you should be ok to cast a spell on your target. I dont know that line of sight is right though.
Build 7/10/2014 6:16:16 PM.
20140710
-Fixed a CTD issue from last version
-Fixed spell validation to only allow the correct spell types to attempt. ie, undead on undead mobs, summoned on contructs/summoned/elementals, plants on plant, etc.
-Added: Bot.Body <-- lets you know the last stored body type for primary mob. Body types can change during fight and mess spells up.
-Added Turn Undead and Turn Summoned to nukes.
-Charmed pets no longer are factored in to Bot.MinPetHP and should not attempt to be healed. Heals/buffs werent landing on my charm pets so I changed it.
-Added yet another snare check so it hopefully doesnt try to snare corpses. The target must have more than 0% hp to attempt snare.
Also, Fry found what was crashing mq2netheal and that should be updated next compile too. Hurray for less CTDs!
I just ran through a mission and it all worked fine. I hardcoded in constructs, summoned creatures, and elementals for "summoned" target type spells. I think that is all, but if anyone finds a summoned creature that I missed, just target it and type /echo ${Target.BodyType} and tell me what number it is and I can add it in.
EDIT: Tweaked a little, added Bot.ValidDetSpell[spell name/id] to see if you should be ok to cast a spell on your target. I dont know that line of sight is right though.
Build 7/10/2014 6:16:16 PM.
Last edited: