mirror of
https://github.com/Znote/ZnoteAAC.git
synced 2025-04-29 18:59:21 +02:00
parent
e056898f31
commit
ada8e470d8
@ -146,12 +146,12 @@ if (user_logged_in() && is_admin($user_data)) {
|
|||||||
$comment = strpos($rawLua[$i], '--');
|
$comment = strpos($rawLua[$i], '--');
|
||||||
if ($comment !== false)
|
if ($comment !== false)
|
||||||
$rawLua[$i] = substr($rawLua[$i], 0, $comment);
|
$rawLua[$i] = substr($rawLua[$i], 0, $comment);
|
||||||
$rawLua[$i] = trim($rawLua[$i]); // Remove uneccesary whitespace
|
$rawLua[$i] = trim($rawLua[$i]); // Remove unnecessary whitespace
|
||||||
// If for some reason the line is empty, ignore it. (Could be a "=" symbol inside an inline Lua comment that we sliced away)
|
// If for some reason the line is empty, ignore it. (Could be a "=" symbol inside an inline Lua comment that we sliced away)
|
||||||
if (!empty($rawLua[$i])) {
|
if (!empty($rawLua[$i])) {
|
||||||
// Built a relevant data array
|
// Built a relevant data array
|
||||||
$data = explode('=', $rawLua[$i]);
|
$data = explode('=', $rawLua[$i]);
|
||||||
// Remove uneccesary whitespace
|
// Remove unnecessary whitespace
|
||||||
$data[0] = trim($data[0]);
|
$data[0] = trim($data[0]);
|
||||||
$data[1] = trim($data[1]);
|
$data[1] = trim($data[1]);
|
||||||
// TFS 0.3/4 compatibility
|
// TFS 0.3/4 compatibility
|
||||||
@ -216,8 +216,8 @@ $stages = false;
|
|||||||
<table class="table tbl-hover">
|
<table class="table tbl-hover">
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr class="yellow">
|
<tr class="yellow">
|
||||||
<td>Minium level</td>
|
<td>Minimum level</td>
|
||||||
<td>Maximun level</td>
|
<td>Maximum level</td>
|
||||||
<td>Multiplier</td>
|
<td>Multiplier</td>
|
||||||
</tr>
|
</tr>
|
||||||
<?php foreach ($stagesData['stages'] as $stage): ?>
|
<?php foreach ($stagesData['stages'] as $stage): ?>
|
||||||
@ -316,7 +316,7 @@ $stages = false;
|
|||||||
|
|
||||||
<?php if ($luaConfig['experienceByKillingPlayers']): ?>
|
<?php if ($luaConfig['experienceByKillingPlayers']): ?>
|
||||||
<tr>
|
<tr>
|
||||||
<td>Experience gain kill treshhold:</td>
|
<td>Experience gain kill threshold:</td>
|
||||||
<td><?php echo $luaConfig['expFromPlayersLevelRange']; ?>% of your level</td>
|
<td><?php echo $luaConfig['expFromPlayersLevelRange']; ?>% of your level</td>
|
||||||
</tr>
|
</tr>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user