BoT Custom Code
Wasn't really sure which forum to post this, but it is bot code so put it here.
I don't really have much free time atm which is why I haven't been posting. However, my son and I have been messing around in the game and something that has been bugging the hell out of me is raids with many adds. The chanter bot's current AI is spotty IMO so I threw this code together as a band-aid until I can get in there and get dirty. Thought I'd post it, though, as it is handy to have anyway and thought someone might want to use it. It adds the #bot aoemez command Code:
// AoE Mez be careful with this code :) there are no checks in it. unsure how it will work if cast on players or in an area with friendly npcs. |
Here is an update. Yea yea. I can't help myself. ;)
Anyway... I added a code to check if there is a target cause that was causing a crash and I also made it where the chanter will stop casting and cast AoE mez because if you are telling the chanter to cast this spell then you want it now or people will probably die. Code:
// AoE Mez |
Part 2 - This code is to help patch the lack of a CH rotation during raids. This code is incomplete in that it is only for a level 70 character for the time being. I wrote it to test the code. I run a 3 group level 70 raid set up.
Group 1: Myself - Barbarian Warrior Cleric Enchanter Bard Monk Rogue Group 2: Shadowknight Shaman Druid Cleric Ranger Beastlord Group 3: Paladin Enchanter Magician Necromancer Wizard Wizard I am not to keen on running with more than 3 groups and that is why I upped the level cap to 70 (which also allows for the GoD AAs). Anyway, this is the code. Adds the #bot healme <healer name> command Code:
// Heal Command - patch for heal rotation I will be adding other spells for lower levels soonish Criimson EDIT: To test I just used these two codes...the aoemez and healme to run the Bertox event and did it successfully. :) |
Something I also didn't really like when playing with my bots.
If I want them to change target while engaged I have to command them to guard then attack. Not efficient at all IMO. If you add the line botGroupMember->WipeHateList(); in the function: void Bot::BotGroupOrderAttack(Group* group, Mob* target, Client* client) like this: Code:
if(botGroupMember->GetBotOwnerCharacterID() == client->CharacterID()) { |
Quote:
|
All times are GMT -4. The time now is 05:24 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.