Files

25 lines
823 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# MercanRey2.js — habitSentence() (satır 538)
[← MercanRey2.js](index.md) · [← Master](../../wiki.md)
```javascript
function habitSentence(state)
{
var habits = [];
if (state.gm3Samples > 0) habits.push("gm3/yok olma penceresi kullaniyor");
if (state.flyingSamples > 0) habits.push("ucusla aci degistiriyor");
if (state.sprintSamples > state.samples / 2) habits.push("hizli baski kuruyor");
if (state.sneakSamples > 0) habits.push("saklanarak pusu deniyor");
if (state.maxSpeed < 0.05) habits.push("yerinde bekleyip tepki okuyor");
if (state.lowHpSamples > 0) habits.push("can dusunce geri cekiliyor");
if (habits.length === 0)
{
habits.push("once ortam okuyor, sonra item/guc penceresi ariyor");
}
return habits.join(", ");
}
```