I'd just like to thank Harry for writing this script, its extremely useful!
I'd also like to thank all those who've helped make it possible, including hola, veracity, et al.
I have encountered a rather strange issue, though. Well, its not really a critical problem, but it appears to be a bug. (I'm doing casual ascensions, so a misoptimization of a few meat is trivial, but for someone in hardcore, with less resources, it could be the difference between winning and losing a battle.)
FightOptimizer strategy: Entangling Noodles, Shieldbutt (95 meat)
Round 1: izchak casts ENTANGLING NOODLES!
Round 1: skeletal sommelier takes 132 damage.
You did 162 damage with your Entangling Noodles. (p=0,t=162)
FightOptimizer adjusted strategy: Minor Ray of Something, Shieldbutt (20 meat)
Round 2: izchak casts MINOR RAY OF SOMETHING!
Round 2: skeletal sommelier takes 88 damage.
You did 118 damage with your Minor Ray of Something. (p=33,t=280)
FightOptimizer adjusted strategy: Minor Ray of Something (15 meat)
Round 3: izchak casts MINOR RAY OF SOMETHING!
Round 3: skeletal sommelier takes 177 damage.
You gain 116 Meat
You acquire an item: dusty bottle of Merlot
You acquire an item: dusty bottle of Marsala
You acquire an item: dusty bottle of Muscat
You acquire an item: disintegrating cork
You gain 21 Strongness
You gain 37 Magicalness
You gain 10 Cheek
You did 207 damage with your Minor Ray of Something. (p=33,t=487)
I've emboldened the relevant parts, the reported damage from mafia, and the reported damage from FO. In most combats, FO appears to be under the impression that I'm doing about 30 damage more than I actually am.
(FWIW: I'm using mafia build 4539)
Oh, and the 132 damage from my entangling noodles is correct, its my wizard attacking with his built in attack, AND the plastic pumpkins bucket attack, hitting for perfect elemental damage against a sommeliers hot damage weakness.
I can provide more detailed logs, if you desire.
It's possible that my new wizard familiar is causing some of these issues, although it isn't immediately obvious how or why, mafia is getting the accurate count of damage, even factoring in the damage done by my wizards attacks AND the damage done with my pumpkin bucket. From where I'm standing, it looks like FO is adding an extra 30 damage, although I dont know where.
I also have a suggestion or two, although I realize implementing them is potentially tricky...
[li]Spheres and sauceror spells. These reduce running costs significantly, and in many instances, make sauceror spells cheaper than the alternatives (butts), especially as a sauceror.[/li]
[li]Sauceror spell combos, especially wave of sauce. If (somehow) we KNOW that the next spell will be of the right element, and a wave of sauce wont one-shot a monster, its worth using a wave combo, since you usually come out with more MP than you came in with.[/li]
[li]Delevel spading with the wizard familiar. Is it possible to spade out the wizards delevelling with this script, with the appropriate AUTOSPADE_AGGRESSIVE settings set, known ML, and already spaded monsters?[br]Otherwise, tracking down the exact amount of delevelling going on will be rather tricky...[/li]
Oh, and a final BTW, I made this small modification to my FO, I found it useful:
Code:
int[item] plink_damage;
plink_damage[$item[spices]] = 1;
plink_damage[$item[turtle totem]] = 1;
plink_damage[$item[seal tooth]] = 1;
plink_damage[$item[spectre scepter]] = 4;
foreach i in plink_damage {
if (item_amount(i) > 1) {
if(plink == $item[none]) {
plink = i; plink2 = i;
} else if( plink_damage[i] > plink_damage[plink]) {
plink = i; plink2 = i;
}
} else if (item_amount(i) > 0) {
if (plink == $item[none])
plink = i;
else
plink2 = i;
}
}
The Spectre scepter does more than 4 damage when it does damage, but between 4 different attacks, with 2 of them doing damage, I approximated 4 to being close enough.
Ideally, I'd like to add the toy mercenary in there, but I don't know how to add to the current meat cost of the battle, since the mercenary takes a known amount of meat per use...