>>228
float torchLuck = 0
foreach 全ての種類のトーチ {
 if 範囲内に存在する {
  If positive score == 1
   torchLuck += 0.2
  If 0 < positive score < 1
   torchLuck += 0.1
  If 0 < negative score < 1
   torchLuck -= 0.1
  If 1 ? negative score < 2
   torchLuck -= 0.2
  If negative score == 2
   torchLuck -= 0.3
 }
}
If torchLuck < 0
 torchLuck = 0