game/_incl_data/class/magic/align3.php

16 lines
456 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` = 3 WHERE `id` = "'.$u->info['id'].'" LIMIT 1');
$u->error = 'Вас наградили Темной Склонностью';
}
?>