battles/underground/objects/621/1.php
2018-01-28 18:40:49 +02:00

13 lines
520 B
PHP
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.

<?
if($tx*2 == 0 && $ty*2 == 22 && $floor == 1) {
gotoxy(10, 8, 2, "Вы успешно спустились на 2 этаж ...");
}
if($tx*2 == 22 && $ty*2 == 8 && $floor == 1 || $tx*2 == 22 && $ty*2 == 16 && $floor == 1 || $tx*2 == 22 && $ty*2 == 2 && $floor == 1 || $tx*2 == 2 && $ty*2 == 18 && $floor == 1 || $tx*2 == 2 && $ty*2 == 10 && $floor == 1) {
if(usagesleft($tx, $ty)) {
$report = itemtofloor(1124, 0, 0, 0);
takeusage($tx, $ty);
} else {
$report = 'Вас опередили ...';
}
}