Browse Source

Bugfix...

Dydzio 7 năm trước cách đây
mục cha
commit
f906d98fe5
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      AI/VCAI/Fuzzy.cpp

+ 1 - 1
AI/VCAI/Fuzzy.cpp

@@ -490,7 +490,7 @@ void FuzzyHelper::initWanderTarget()
 
 		wanderTarget.visitGain->addTerm(new fl::Ramp("LOW", 5, 0)); 
 		wanderTarget.visitGain->addTerm(new fl::Triangle("MEDIUM", 4, 6));
-		wanderTarget.visitGain->addTerm(new fl::Ramp("LOW", 5, 10));
+		wanderTarget.visitGain->addTerm(new fl::Ramp("HIGH", 5, 10));
 		wanderTarget.visitGain->setRange(0, 10);
 
 		wanderTarget.addRule("if distance is LONG and objectValue is HIGH then visitGain is MEDIUM");