Exemple #1
0
	def determineRange():
		commandRange = generic.rangeFactors.standard()
		
		# How far from caster spell command can be target meteor's center
		reach = generic.extentInfluence.polynomial(2, 2)
		commandRange['range'] = shapes.diamond(reach)
		
		# How large the meteor is
		length = generic.extentInfluence.polynomial(1, 1)
		commandRange['aoe'] = shapes.diamond(length)
		
		generic.range.free(commandRange)
Exemple #2
0
	def determineRange():
		commandRange = generic.rangeFactors.standard()
		
		# How far from user center of aoe can be
		reach = extentInfluence.polynomial(2, 2)
		commandRange['range'] = shapes.diamond(reach, 1)
		
		# How large the meteor is
		length = generic.extentInfluence.polynomial(1, 1)
		commandRange['aoe'] = shapes.diamond(length, 1)

		# Center of diamond is where user moves to
		commandRange['specialSpaces'] = shapes.single()
		
		generic.range.free(commandRange)
Exemple #3
0
	def determineRange():
		commandRange = generic.rangeFactors.standard()

		reach = generic.extentInfluence.polynomial(1, 1)
		commandRange['range'] = shapes.diamond(reach, 1)

		generic.range.free(commandRange)
Exemple #4
0
	def determineRange():
		commandRange = generic.rangeFactors.standard()

		commandRange['range'] = shapes.diamond(3, 1)
		commandRange['specialSpaces'] = shapes.single()

		generic.range.free(commandRange)
Exemple #5
0
	def determineRange():
		commandRange = generic.rangeFactors.standard()

		# Max distance to target
		distance = generic.extentInfluence.polynomial(1, 1)
		commandRange['range'] = shapes.diamond(distance, 1)

		generic.range.free(commandRange)
def lightning():
	return {'okDz' : {'max' : 10.0, 'min' : -10.0}, # {'max' : 10, 'min' : -10},
			'range' : shapes.diamond(2, 1),
			'aoe' : shapes.single(),
			'specialSpaces' : []}
def bow():
	return {'okDz' : {'max' : 10.0, 'min' : -10.0}, # {'max' : 1.2, 'min' : -1.2},
			'range' : shapes.diamond(5, 1),
			'aoe' : shapes.single(),
			'specialSpaces' : []}
Exemple #8
0
	def determineRange():
		commandRange = generic.rangeFactors.standard()

		commandRange['range'] = shapes.diamond(1)

		generic.range.free(commandRange)