예제 #1
0
파일: dragoncraft.py 프로젝트: AKJ/sage
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()
예제 #2
0
파일: cure_functions.py 프로젝트: AKJ/sage
def unknown_affliction(line, time, backrefs):
	cures.unknown_affliction_hit()
예제 #3
0
파일: subterfuge.py 프로젝트: AKJ/sage
def subterfuge_loyals_loki(line, time, backrefs):
	if len(input.buffer) == 2:
		cures.unknown_affliction_hit()