Ejemplo n.º 1
0
 def latexMonsterBlock(self, doc):
     doc.append("HP Rolls: " + " - ".join(map(str, self.HealthVariance)))
     doc.append(lbr())
     doc.append("Base Size: %3d \t Size Table: %3d" %
                (int(self.BaseSize), self.SizeTable))
     doc.append(lbr())
     doc.append(
         "Attack: %3d%% \t Player Damage Bonus: %3d%% \t Spawn Type: %2d" %
         (int(self.Attack), int(
             self.PlayerDamageMultiplier), int(self.SpawnType)))
     doc.append(lbr())
Ejemplo n.º 2
0
 def latex(self, doc):
     with doc.create(
             Chapter(str(self.name) + " (%d*)" % self.mib.Header.starRating,
                     label=str(self.name).replace("&", ""))):
         doc.append("Quest File: " + str(self.path.stem))
         doc.append(lbr())
         self.mib.latex(doc)
Ejemplo n.º 3
0
 def latex(self, doc):
     [(doc.append(line), doc.append(lbr()))
      for line in self.strHeader().split('\n')]
     with doc.create(Section("Single Player Monster Stats")):
         [
             Monster.applyModifiers(self.Diff.spMod()).latex(doc)
             for Monster in self.Monsters if Monster
         ]
     with doc.create(Section("Multiplayer Monster Stats")):
         [
             Monster.applyModifiers(self.Diff.mpMod(
                 self.Tail.mpDiff)).latex(doc) for Monster in self.Monsters
             if Monster
         ]
     with doc.create(Section("Quest Rewards")):
         [
             self.REM[rem].latex(doc) for rem in self.Objective.REMID
             if rem != 0
         ]