int hp = ((level ** 1.4)* 10) * 1.08;
float c = (0.9 * hp) / (hp * 1000);
if (!(outfits_cached && equip_cashed_outfit("Gauntlet")))
{
maximize("maximize " + c + " da, 1 hp" + maximize_familiar, false);
}
int hp = ((level ** 1.4)* 10) * 1.08;
if (!(outfits_cached && equip_cashed_outfit("Gauntlet"))) {
maximize("maximize " + (0.0009*hp) + " da, 1 hp" + maximize_familiar, false);
}
Yes, but all of that calculation for c can be reduced to a constant 0.0009, so as you've written it you don't need those first two lines. However, that should be a factor of hp, so just this:
PHP:int hp = ((level ** 1.4)* 10) * 1.08; if (!(outfits_cached && equip_cashed_outfit("Gauntlet"))) { maximize("maximize " + (0.0009*hp) + " da, 1 hp" + maximize_familiar, false); }
Well, that number is just your step 1, I haven't actually tried it. Due to the square root nature of DA, each point is worth more than that until some point, and less than that above. 0.0009 is just the average for 1000 DA (but that's probably the optimal value anyway, once you get to depths where it matters).Zarqon said:I'll plug your number in for next run.
I *think* the gauntlet actually responds to DA above 1000. OR maybe that's just the too legit hammertime?Doesn't DA have a max of 1000? as such, it should probably get a (9*hp) max immediately following it...
if (!(outfits_cached && equip_cashed_outfit("Gauntlet")))
{
maximize("maximize " + (0.0009*hp) + " da, 1 hp" + maximize_familiar, false);
}
if (!(outfits_cached && equip_cashed_outfit("Gauntlet")))
{
maximize((0.0009*hp) + " da, 1 hp" + maximize_familiar, false);
}
OK I love these scripts, and this is the first time I have ran into this problem, (thank you Crimbo for scaling monsters) I try and run the script and get
Current character level (50) >= autoBasement_break_on_level (30), quitting
Even after going into the script and changing the break on level number to something like (99).
Help?
That's a zlib variable. You can't change those by editing the script. You have to invoke some arcane zlib incantation, which I've never been able to master, so you'll have to look elsewhere for actual guidance.