Commits

"Sam...@sambull.org>"  committed 0cd8ea5

Reversed colour ratio so potion renders the correct colours again.

  • Participants
  • Parent commits 6f97efb

Comments (0)

Files changed (1)

File alchemymadness/potion.py

         """
         self.chems += 1
         n = ((self.chems-1) / float(self.chems))
-        self.mix_color(col, n)
+        self.mix_color(col, 1-n)
 #        self.target_col = (self.color[0] * n, self.color[1] * n, self.color[2] * n)
 #        self.target_col = (self.target_col[0] + col[0]/float(self.chems),
 #                           self.target_col[1] + col[1]/float(self.chems),