if i have the code:
attRoll = 34
hit = False
dmg = 1
attSequence = [attRoll, hit, dmg]
print attSequence[dmg]
it prints the value of hit (False) and not dmg (1), i can work around this by entering:
print attSequence[dmg+1]
my questions:
-why doesn't it print the value of dmg?
-is there a clean way (without the +1) to retrieve the value of hit?
thanks!