Example #1
0
def dragoncraft_dragoncurse(line, time, backrefs):
	unknown = 3
	for line in input.buffer:
		if "lays the ancient Dragoncurse upon you." in line:
			pass
		elif "aura of weapons rebounding disappears." in line:
			pass
		elif line == "Your hearing is suddenly restored.":
			unknown -= 1
			# we'd get it on the prompt
		elif line == "A prickly, stinging sensation spreads through your body.":
			if player.defences['deaf'] == 0:
				player.afflictions['sensitivity'] = True
				unknown -= 1
		else:
			player.afflictions['hypochondria'] = True
			unknown -= 1

	for x in range(unknown):
		cures.unknown_affliction_hit()
Example #2
0
def unknown_affliction(line, time, backrefs):
	cures.unknown_affliction_hit()
Example #3
0
def subterfuge_loyals_loki(line, time, backrefs):
	if len(input.buffer) == 2:
		cures.unknown_affliction_hit()