m-byte918 / MultiOgarII

A continued version of the original MultiOgar, an open source Ogar server implementation written with Node.js.
Apache License 2.0
126 stars 131 forks source link

making cells under a specific size instant recombine #1575

Closed M1stHub closed 2 years ago

M1stHub commented 3 years ago

not really a issue more of question because im trying to make so cells under 50 cell size instant recombine and i haven't been able to figure out myself so if anyone knows it would help out so much

Phoenix3214 commented 2 years ago

You can make a flag variable????? So the condition is if cell size <= 50 then instant recombine????

Phoenix3214 commented 2 years ago

idfk remember how to code it

Tombez commented 2 years ago

After this line in Server.js, add if (cell._mass < 50) time = 0;