Nemesis quest script

slyz

Developer
Being able to 'bypass' the horrible Accordion Thief Nemesis quest is easily me new favorite thing about Mafia. LOVE!!!
Writing the code to do the Barracks optimally was a lot of fun! It's the part of the script that I'm the most proud of.
 

Crowther

Active member
Writing the code to do the Barracks optimally was a lot of fun! It's the part of the script that I'm the most proud of.
You should be. I run the script thinking, "There's no way this will use the Barracks clues and such, but I'm willing to waste a few turns to save my time." Then, wow, it did it right.
 
That's only 3000 Karma. Just a drop in the bucket.

Lucky ;)

Trying to run this script and getting this :> call scripts/nemesis.ash

Bad location value: "Giant's Castle (top floor )" (nemesis.ash, line 33)

I am already to the part where I need to go to the poop deck, could that be my problem?
 

Crowther

Active member
Lucky ;)

Trying to run this script and getting this :> call scripts/nemesis.ash

Bad location value: "Giant's Castle (top floor )" (nemesis.ash, line 33)

I am already to the part where I need to go to the poop deck, could that be my problem?
The 90 new skills from the revamp should burn my karma down.

That's due to a mafia update. The correct name is now "The Castle in the Clouds in the Sky (Top Floor)".
 
The 90 new skills from the revamp should burn my karma down.

I knew there was a reason I was banking karma...and it wasn't just to do ascensions to do the sea monkee quest a ton of times. ;)

I still use this for the instant karmas. I've been saving them up because I may want to use them for lots of turns sometime, since karma's pretty easy to get through ascensions.

It saves me a ton of time trying to remember exactly what steps I need to do for each of the different classes, so I'm grateful for it. :)
 

Bale

Minion
The 90 new skills from the revamp should burn my karma down.

Yeah, I hear you. Once all the revamps are done and I buy all the new skills I'll only have a few thousand karma left. It'll be nice! All my Instant Karma are intended as a source of turngen.
 

Winterbay

Active member
If I go for HC-perming skills at once I don't think my Karma will be enough. It probably would've been were it not for Dreadsylvania meaning I've not done a single ascension since the dungeon came out. Started a KOLHS one the other day to get a new class into Dread and to get one more class in there at least :) (and I'm not very fond of KOLHS, for me the changes were a bit too confusing for it to be fun).
 
I haven't done the class ascension challenge yet for the same reason...too much thinking, not enough BASH SMASH BOOM!

You could SC perm the skills, and then HC perm them later. That'd save half the karma right there.
 
It looks like this script doesn't use my CCS completely. I looked through the script and it looks like it does auto attack in the fun house, the nemesis cave, and a few other places.

I just got beaten up by a box of crafty dinner, because the script was only using attack and I didn't have elemental weapon damage.

Code:
[1172] Nemesis Cave
Encounter: Box of Crafty Dinner
Strategy: attack with weapon
Round 0: chef_rannos wins initiative!
Round 1: chef_rannos executes a macro!
Round 1: chef_rannos attacks!
Round 2: box of crafty dinner takes 1 damage.
You lose 43 hit points
Round 2: chef_rannos attacks!
You lose 9 hit points
You lose 43 hit points
Round 3: chef_rannos attacks!
Round 4: box of crafty dinner takes 1 damage.
You lose 45 hit points
Round 4: chef_rannos attacks!
Round 5: box of crafty dinner takes 1 damage.
You lose 46 hit points
Round 5: chef_rannos attacks!
Round 6: box of crafty dinner takes 1 damage.
You lose 45 hit points
Round 6: chef_rannos attacks!
Round 7: box of crafty dinner takes 1 damage.
Round 7: Cry Baby rakes your enemy over the coals for 10 damage.
Round 7: box of crafty dinner takes 10 damage.
You lose 40 hit points
Round 7: chef_rannos attacks!
Round 8: box of crafty dinner takes 1 damage.
You lose 41 hit points
Round 8: chef_rannos attacks!
Round 9: box of crafty dinner takes 1 damage.
Round 9: Cry Baby rakes your enemy over the coals for 12 damage.
Round 9: box of crafty dinner takes 12 damage.
You lose 41 hit points
Round 9: chef_rannos attacks!
Round 10: box of crafty dinner takes 1 damage.
You lose 45 hit points
Round 10: chef_rannos attacks!
Round 11: box of crafty dinner takes 26 damage.
You lose 45 hit points
Round 11: chef_rannos attacks!
Round 12: box of crafty dinner takes 1 damage.
Round 12: Cry Baby rakes your enemy over the coals for 10 damage.
Round 12: box of crafty dinner takes 10 damage.
You lose 44 hit points
Round 12: chef_rannos attacks!
Round 13: box of crafty dinner takes 1 damage.
You lose 43 hit points
Round 13: chef_rannos attacks!
Round 14: box of crafty dinner takes 1 damage.
You lose 46 hit points
Round 14: chef_rannos attacks!
Round 15: box of crafty dinner takes 1 damage.
Round 15: Cry Baby rakes your enemy over the coals for 11 damage.
Round 15: box of crafty dinner takes 11 damage.
You lose 44 hit points
Round 15: chef_rannos attacks!
Round 16: box of crafty dinner takes 26 damage.
Round 16: Cry Baby rakes your enemy over the coals for 12 damage.
Round 16: box of crafty dinner takes 12 damage.
You lose 45 hit points
Round 16: chef_rannos attacks!
Round 17: box of crafty dinner takes 1 damage.
Round 17: chef_rannos attacks!
Round 18: box of crafty dinner takes 1 damage.
You lose 45 hit points
Round 18: chef_rannos attacks!
Round 19: box of crafty dinner takes 1 damage.
You lose 41 hit points
Round 19: chef_rannos attacks!
Round 20: box of crafty dinner takes 1 damage.
Round 20: Cry Baby rakes your enemy over the coals for 10 damage.
Round 20: box of crafty dinner takes 10 damage.
You lose 46 hit points
Round 20: chef_rannos attacks!
Round 21: box of crafty dinner takes 1 damage.
You lose 42 hit points
Round 21: chef_rannos attacks!
Round 22: box of crafty dinner takes 1 damage.
You lose 41 hit points
Round 22: chef_rannos attacks!
Round 23: box of crafty dinner takes 1 damage.
You lose 44 hit points
Round 23: chef_rannos attacks!
Round 24: box of crafty dinner takes 1 damage.
You lose 41 hit points
Round 24: chef_rannos attacks!
Round 25: box of crafty dinner takes 1 damage.
Round 25: Cry Baby rakes your enemy over the coals for 12 damage.
Round 25: box of crafty dinner takes 12 damage.
You lose 44 hit points
Round 25: chef_rannos attacks!
Round 26: box of crafty dinner takes 1 damage.
Round 26: Cry Baby rakes your enemy over the coals for 11 damage.
Round 26: box of crafty dinner takes 11 damage.
You lose 44 hit points
Round 26: chef_rannos attacks!
Round 27: box of crafty dinner takes 26 damage.
You lose 46 hit points
Round 27: chef_rannos attacks!
Round 28: box of crafty dinner takes 26 damage.
You lose 45 hit points
Round 28: chef_rannos attacks!
Round 29: box of crafty dinner takes 1 damage.
Round 29: Cry Baby rakes your enemy over the coals for 10 damage.
Round 29: box of crafty dinner takes 10 damage.
You lose 41 hit points
Round 29: chef_rannos attacks!
Round 30: box of crafty dinner takes 1 damage.
You lose 45 hit points
Round 30: chef_rannos attacks!
Round 31: box of crafty dinner takes 1 damage.
You lose 45 hit points

Health fell below 0. Auto-abort triggered.


Normally attack with weapon would be fine for a level 18 TT in the nemesis cave, but not on days where there are potentially scaling monsters you could run into. ;)

Could we have an option to use a CCS more or maybe import WHAM to do the non-special needed combats? I'm not 100% sure but WHAM may even the volcano combats properly...I've only done them manually or with this script so I'm not certain.

It would mean a couple more dependencies, but it might make the script more manageable if you don't have to worry as much about combat.
 

slyz

Developer
The script does manage combat itself in a few places. The nemesis cave is not one of them, so it is your own combat settings that you need to check.

EDIT: ha, I missed the line that set the combat action to "attack with weapon". I'll remove those, sorry about my first reaction.
 
Top