Beispiel #1
0
def occultism_chaosrays(line, time, backrefs):
	colors = backrefs[0]
	colors = colors.split(',')
	if len(colors) == 1:
		colors = colors[0].split(' and ')
	for color in colors:
		color = color.replace('and', '')
		color = color.strip()
		if color == 'orange':
			cures.affliction('paralysis')
		elif color == 'indigo':
			cures.affliction('stupidity')
		elif color == 'violet':
			if player.defences['speed'] == 1:
				defences.undef('speed')
			else:
				cures.affliction('aeon')
Beispiel #2
0
def puppetry_strip(line, time, backrefs):
	defence = player.def_names[backrefs[0]]
	defences.undef(defence)
Beispiel #3
0
Datei: misc.py Projekt: AKJ/sage
def pear_function(line, time, backrefs):
	if "You choke" in line:
		player.keepup['pear'] = True
	else:
		player.keepup['pear'] = False
	defences.undef('pear')
Beispiel #4
0
def dragoncraft_breathstrip(line, time, backrefs):
	def1 = backrefs[4]
	def2 = backrefs[5]
	defences.undef(player.def_names[def1])
	defences.undef(player.def_names[def2])
Beispiel #5
0
def erode(line, time, backrefs):
	core.disable_trigger('elementalism_erode', 'elementalism')
	core.disable_trigger('elementalism_lightning', 'elementalism')
	defence = player.def_names[backrefs[0]]
	defences.undef(defence)
Beispiel #6
0
def woodlore_lemming_strip(line, time, backrefs):
	defence = player.def_names[backrefs[0]]
	defences.undef(defence)
Beispiel #7
0
def undef_breathing(line, time, backrefs):
	defences.undef('breathing', False)
Beispiel #8
0
def undef(defence):
	defences.undef(defence)
Beispiel #9
0
def chivalry_raze_speed(line, time, backrefs):
	defences.undef('speed')
	player.defences['rebounding'] = 0
Beispiel #10
0
def falcon_strip(line, time, backrefs):
	core.disable_trigger('chivalry_falcon_strip', 'chivalry')
	if backrefs[0] in player.def_names.keys():
		defence = player.def_names[backrefs[0]]
		defences.undef(defence)
Beispiel #11
0
def voicecraft_strip(line, time, backrefs):
	defence = player.def_names[backrefs[1]]
	defences.undef(defence)
Beispiel #12
0
def subterfuge_flay_sileris(line, time, backrefs):
	if player.waiting_for_sileris == 1:
		player.multi_flay = True
	defences.undef('sileris')