- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
$compareCost = 0;
$countGacha = 0;
for($i=0; $i<10; ++$i): 
    $compareCost += $this->freeGacha->getCost();
    if( $this->player->getSocialPoint() > $compareCost )        continue;
    else break;
    $countGacha = $i+1;
endfor;
 Follow us!
 Follow us!
Не любите транслит? А на корейском языке?
> .. style devices that sell random objects in their shops, called 'Gacha' / wiki
купить чачи
// Счастливой отладки, суки!!!