game/_incl_data/class/priem/165.php
2022-06-07 00:30:34 +03:00

33 lines
867 B
PHP

<?
if(!defined('GAME')) {
die();
}
/*
Ïðèåì: Ñêðûòîå ïëàìÿ
*/
$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,
'<font color^^^^#'.$prv['color2'].'>Ñêðûòîå Ïëàìÿ</font>',
$prv['text2'],
($btl->hodID + 1)
);
//Îòíèìàåì òàêòèêè
$this->mintr($pl);
}
}else{
$cup = true;
echo '<font color=red><b>Äëÿ èñïîëüçîâàíèÿ äàííîãî ïðèåìà óðîâåíü Âàøåãî çäîðîâüÿ äîëæåí áûòü íèæå 33%</b></font>';
}
unset($pvr);
?>