More optimized Smut Orc Camp#284
More optimized Smut Orc Camp#284Phate4569 wants to merge 16 commits intosoolar:masterfrom Phate4569:Smut-Orc-Optimization
Conversation
…thout having the most effective skills.
…rue (avoids carryover from Smut Orc)
…rn off the +ML we are running rather than letting the effects time out.
jaspercb
left a comment
There was a problem hiding this comment.
I'm confused why the do ML/don't do ML logic is in postsool rather than presool (although the doML logic was there before you showed up :) ). In general I think this is promising but needs a little more polish. Comments attached.
| else if(canUse($skill[Northern Explosion])) | ||
| { | ||
| return useSkill($skill[Northern Explosion]); | ||
| } |
There was a problem hiding this comment.
log a "oh no, we didn't have anything to use" message in red here please
There was a problem hiding this comment.
Ah Yes, that is better for Debugging. Added.
…ow in postsool Changed - Added delay counter to doML when removing Asdon Driving Intimidatingly Changed - Converted sl_useSpellsInOrcCamp from property to skill Changed - Added alert message when we can no tuse our preferred skills
…e Unexpectedly. Added - If sl_aggressiveBlechHouse is set true (default false) we will choose the option we are buffed for, otherwise pause with message alerting the user.
|
Closes #217 |
soolar
left a comment
There was a problem hiding this comment.
Sorry for being more than a little slow to deliver feedback!
RELEASE/scripts/postsool.ash
Outdated
| } | ||
| if(0 < have_effect($effect[Drescher\'s Annoying Noise])) | ||
| { | ||
| uneffect(Drescher\'s Annoying Noise); |
There was a problem hiding this comment.
It's not worth using a SGEEA to uneffect this or anything after it here imo. Drinking Recklessly and Ur-Kel's make sense since they're free to uneffect, but the other stuff doesn't.
There was a problem hiding this comment.
I don't know if I agree, especially if the player does not have Asdon Martin.
Smut Orcs have a base 69 HP.
+ML adds +1 HP per level, subtracts 1 per negative level.
Blech House manifests when 15 Orc worth of damage is done, capped at 5x per kill.
So without buffs you need to do:
2x = 138
3x = 207
4x = 276
5x = 345
Letting both of these ride, no Asdon (HP=89):
2x = 178
3x = 267
4x = 356
5x = 445
Dropping these AND having the Asdon Active (HP=44):
2x = 88
3x = 132
4x = 176
5x = 220
Without knowing exactly what each player has for equips and permed from the list I can't quantify this into turn savings, but by eliminating those (if we can) it makes it more low-IOTM and low-skill friendly IMO, and still benefits high-IOTM and high-PERM players, especially running in a non-MP friendly path.
Would maybe "sl_aggressiveML = false" on the relay be better and let the user decide?
There was a problem hiding this comment.
Actually maybe you're right, but it's still not as important as being able to uneffect on the trail when needed. It's okay for people swimming in SGEEAs or without access to Transcendent Olfaction though (either because they don't have it or they're on a path without normal skill access), so how about with this conditional:
if(!sl_have_skill($skill[Transcendent Olfaction]) || item_amount($item[soft green echo eyedrop antidote]) > 5)
around the block with uneffecting the things that take sgeeas?
| { | ||
| return useSkill($skill[Stuffed Mortar Shell]); | ||
| } | ||
| else if(canUse($skill[Saucegeyser])) |
There was a problem hiding this comment.
Needs to be canUse($skill[Saucegeyser], false) because Saucegeyser can be used multiple times in one combat.
There was a problem hiding this comment.
Done, on all counts.
I'm not to familiar with this, what does the ", false" signify?
There was a problem hiding this comment.
useSkill and canUse accept an optional boolean that defaults to true, which basically says "this skill can only be used once per combat"
RELEASE/scripts/postsool.ash
Outdated
| // Catch when we leave Smut Orc | ||
| if(0 < have_effect($effect[Driving Intimidatingly])) | ||
| // Catch when we leave Smut Orc, allow for being "side tracked" buy delay burning | ||
| if((0 < have_effect($effect[Driving Intimidatingly])) && (debuffAsdonDelay > 1)) |
There was a problem hiding this comment.
I don't think this will ever actually be anything but 0 since it's not persistent between runs of of postsool.
There was a problem hiding this comment.
Hmm, that is a problem. I was trying to make it so that the variable would be persistent. If I set_property then it gets overwritten each time sl_ascend is rerun correct? So if the script stops (ie. Blech House) and then immediately goes into a delay-turn due to Kramco or Vote, it will debuff.
RELEASE/scripts/sl_ascend.ash
Outdated
| else | ||
| { | ||
| print("If we encounter Blech House when we are not expecting it we will stop.", "blue"); | ||
| print("Currently setup for Myst/Spell Damage, option 2: Blast it down with a spell", "red"); |
There was a problem hiding this comment.
This should probably be blue too. Although I'm not sure if we really need to print anything here at all?
There was a problem hiding this comment.
In case Blech House does happen they know what option is spec'd so they can manually choose for maximum effect.
| buffMaintain($effect[Song of Sauce], 150, 1, 1); | ||
|
|
||
| if(get_property("sl_aggressiveBlechHouse").to_boolean()) | ||
| if(get_property("sl_beta_test").to_boolean()) |
There was a problem hiding this comment.
Eh, I'd rather this be separate from beta test. I still think the better behavior is stopping when we encounter blech house and aren't expecting it, personally, since that means we might actually get reports of the issue instead of it going unnoticed.
There was a problem hiding this comment.
So add back in "sl_aggressiveBlechHouse" or make it always stop regardless of mode? I'd vote for the former personally?
There was a problem hiding this comment.
Eh I guess I'm fine with either of those, although I'd kind of prefer to avoid cluttering the preferences. But it's probably worth having a preference in this case, I guess?
Added - Optimization for Smut Orc quest. In testing saved 10 turns without having the most effective skills.
Essentially a better attempt at "Brute Forcing" the Quest. Instead of relying on every 15th adv we try to play to our strengths in every combat and rely on getting the Non-Com more frequently.
I left in the every 15th non-com prep because it is more beneficial to newblets without lots of perms or shinies, an area that my method doesn't cover well. I figured this would be a good middle ground, and wouldn't be too detrimental to people with the aforementioned benefits.