game/_incl_data/class/Magic/align7.php
2023-08-11 18:28:54 +03:00

16 lines
466 B
PHP
Raw 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.

<?php
if(!defined('GAME'))
{
die();
}
if( $u->info['clan'] > 0 ) {
$u->error = 'Вы находитесь в клане...';
}elseif( $u->info['align'] != 0 ) {
$u->error = 'У вас уже есть склонность';
}elseif( $itm['id'] > 0 ) {
$u->deleteItem($itm['id']);
mysql_query('UPDATE `users` SET `align` = 7 WHERE `id` = "'.$u->info['id'].'" LIMIT 1');
$u->error = 'Вас наградили Нейтральной Склонностью';
}
?>