2022-06-06 21:30:34 +00:00
|
|
|
<?
|
|
|
|
if(!defined('GAME')) {
|
|
|
|
die();
|
|
|
|
}
|
|
|
|
/*
|
2023-01-10 16:29:32 +00:00
|
|
|
Прием: Скрытое пламя
|
2022-06-06 21:30:34 +00:00
|
|
|
*/
|
|
|
|
$pvr = array();
|
|
|
|
|
|
|
|
//
|
|
|
|
if( $btl->stats[$btl->uids[$u->info['id']]]['hpNow'] < round($btl->stats[$btl->uids[$u->info['id']]]['hpAll']/100*34) ) {
|
|
|
|
$prv['upd'] = $this->rezadEff($u->info['id'],'wis_fire');
|
|
|
|
if( $prv['upd'] == false ) {
|
|
|
|
$cup = true;
|
|
|
|
}else{
|
|
|
|
$prv['color2'] = '000000';
|
|
|
|
$prv['text'] = $btl->addlt(1 , 21 , $btl->users[$btl->uids[$u->info['id']]]['sex'] , NULL);
|
|
|
|
$prv['text2'] = '{tm1} '.$prv['text'].'.';
|
|
|
|
$btl->priemAddLog( $id, 1, 2, $u->info['id'], 0,
|
2023-01-10 16:29:32 +00:00
|
|
|
'<font color^^^^#'.$prv['color2'].'>Скрытое Пламя</font>',
|
2022-06-06 21:30:34 +00:00
|
|
|
$prv['text2'],
|
|
|
|
($btl->hodID + 1)
|
|
|
|
);
|
2023-01-10 16:29:32 +00:00
|
|
|
//Отнимаем тактики
|
2022-06-06 21:30:34 +00:00
|
|
|
$this->mintr($pl);
|
|
|
|
}
|
|
|
|
}else{
|
|
|
|
$cup = true;
|
2023-01-10 16:29:32 +00:00
|
|
|
echo '<font color=red><b>Для использования данного приема уровень Вашего здоровья должен быть ниже 33%</b></font>';
|
2022-06-06 21:30:34 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
unset($pvr);
|
|
|
|
?>
|