Nestor

Mon petit bot Discord
Log | Files | Refs

commit 9953efc624fc3c3ded644d41a55c2d8cc5939187
parent 4aa28eee4b0b2fbd4cff155250486481f8f7322f
Author: Doshirae <doshirae@mailfence.com>
Date:   Fri,  5 May 2017 12:18:10 +0200

Ok now it works

Diffstat:
dd.rb | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dd.rb b/dd.rb @@ -116,7 +116,7 @@ class Main def temps(jaugeVoulue) bonusParFrottement = @objet.efficacite + @drago.bonus(objet.resistance) bonusParMinute = bonusParFrottement * @frequence - differenceNiveaux = (@drago.nivCourantJauge - jaugeVoulue).abs + differenceNiveaux = (@drago.nivCourantJauge - jaugeVoulue.to_i).abs tempsMinute = (differenceNiveaux / bonusParMinute).round tempsSeconde = tempsMinute*60