Well from the look of this code. It seems someone at one point thought to add the code. Maybe they went on to something else, but now that I know that CC isnt implimented I will work on that as it is important to me. I played a chanter for years and to see mine just Rune/DD/Buff/Debuff when they could be saving my ass bugs me. I play with the exp set at 0.25 and the death penalty unchanged...so even dying at level 10 sucks :P
Code:
case SpellType_Mez: {
if (tar->GetBodyType() != BT_Giant) {
if(!checked_los) {
if(!CheckLosFN(tar))
break; //cannot see target... we assume that no spell is going to work since we will only be casting detrimental spells in this call
checked_los = true;
}
botSpell = GetBestBotSpellForMez(this);
if(botSpell.SpellId == 0)
break;
Mob* addMob = GetFirstIncomingMobToMez(this, botSpell);
if(!addMob)
break;
if(!(!addMob->IsImmuneToSpell(botSpell.SpellId, this) && addMob->CanBuffStack(botSpell.SpellId, botLevel, true) >= 0))
break;
castedSpell = AIDoSpellCast(botSpell.SpellIndex, addMob, botSpell.ManaCost);
}
break;
}
default: {
break;
}
}
return castedSpell;
Is the code in botspellsai.cpp. I'll start with this code as a baseline and see if I can get it working.
Criimson
EDIT:
So I did some thinking of what ya mean by some more bot AI.
Im going to run some tests on my own server and add some tables to my DB based on each bot class that allow for player settings for their bots.
Using your hybrid classes as an example:
(table) Bot_Paladin
(column) Healing (column) Percentage
First column is on/off - setting whether the player wants their paladin healing at all
Second column sets the percentage at which the paladin will start to throw out heals if set to on
Myself, if grouped with a pally, wouldn't want him throwing any heals unless the MT hits < 20%
I was already considering adding something like this because I love the clericcode pfyon added but was going to change it to the cleric not casting DDs when they hit 75% and didnt want to have to recompile the code everytime I was tweaking the %.
EDIT EDIT:
Is the #bots irc channel dead?
Not seeing anyone in there