Пример #1
0
def Heal(slot):
	for i in xrange(5, 256):
		if g.b.prop[i].health > 0:
			break;
	if g.b.prop[i].health > 0:
		s = comb(i)
		s.num(slot)
		s.left('inc')
Пример #2
0
def Revive(slot):
	for i in xrange(5, 256):
		if g.b.prop[i].health > 0:
			break;
	if g.b.prop[i].health > 0:
		s = comb(i)
		s.num(slot)
		s.left('revive')
Пример #3
0
			Revive(s)

def Heal(slot):
	for i in xrange(5, 256):
		if g.b.prop[i].health > 0:
			break;
	if g.b.prop[i].health > 0:
		s = comb(i)
		s.num(slot)
		s.left('inc')

# help spell
# loop K(zero) help(zero)(zero) K(8192)

# slot 1 = 8192
s1 = comb(1)
s1.num(8192)

# slot 2 = 16384
# for future use in attack
s2 = comb(2)
s2.zero()
s2.left('succ')
s2.left('get')
s2.left('dbl')

# slot 1 = K(8192)
s1.k()

# slot 0 = help(zero)(zero)
s0 = comb(0)
Пример #4
0
#!/usr/bin/env python

from comb import *

c=comb(3)
c.sk()
c.sk()
c.consume(6)
c.sk()