Compare commits
No commits in common. "master" and "1.6.3" have entirely different histories.
@ -8,7 +8,7 @@
|
||||
}
|
||||
],
|
||||
"require": {
|
||||
"catfan/medoo": "1.1.3",
|
||||
"catfan/medoo": "dev-master",
|
||||
"anthonymartin/geo-location": "^1.0"
|
||||
}
|
||||
}
|
||||
|
@ -24,12 +24,10 @@ $gameinfo['owneruuid'] = "";
|
||||
// calculate artifact score
|
||||
$gameinfo['artifact'] = 0;
|
||||
|
||||
if ($gameinfo['currentlife'] > 100) {
|
||||
$templife = $gameinfo['currentlife'];
|
||||
while ($templife > 100) {
|
||||
$gameinfo['artifact'] ++;
|
||||
$templife -= 75;
|
||||
}
|
||||
$templife = $gameinfo['currentlife'];
|
||||
while ($templife > 100) {
|
||||
$gameinfo['artifact']++;
|
||||
$templife -= 75;
|
||||
}
|
||||
|
||||
$data['stats'] = $gameinfo;
|
||||
|
Reference in New Issue
Block a user