Сихронизация с актуальной версией.
This commit is contained in:
@@ -8,7 +8,9 @@ if(!defined('GAME')) {
|
||||
$pvr = array();
|
||||
//Äåéñòâèå ïðè êëèêå
|
||||
$pvr['hp'] = 58;
|
||||
$pvr['hp'] = $this->magatack( $u->info['id'], $this->ue['id'], $pvr['hp'], 'îãîíü', 1 );
|
||||
|
||||
$pvr['hp'] = $this->magatack($this->u->info['id'], $this->ue['id'], $pvr['hp'], 'îãîíü', 1 );
|
||||
|
||||
$pvr['promah_type'] = $pvr['hp'][3];
|
||||
$pvr['promah'] = $pvr['hp'][2];
|
||||
$pvr['krit'] = $pvr['hp'][1];
|
||||
@@ -18,11 +20,11 @@ $pvr = array();
|
||||
$pvr['hpAll'] = $btl->stats[$btl->uids[$this->ue['id']]]['hpAll'];
|
||||
|
||||
//Èñïîëüçóåì ïðîâåðêó íà óðîí ïðèåìîâ
|
||||
$pvr['hp'] = $btl->testYronPriem( $u->info['id'], $this->ue['id'], 21, $pvr['hp'], 5, true );
|
||||
$pvr['hp'] = $btl->testYronPriem( $this->u->info['id'], $this->ue['id'], 21, $pvr['hp'], 5, true );
|
||||
|
||||
$pvr['hpSee'] = '-'.$pvr['hp'];
|
||||
$pvr['hpNow'] -= $pvr['hp'];
|
||||
$btl->priemYronSave($u->info['id'],$this->ue['id'],$pvr['hp'],0);
|
||||
$btl->priemYronSave($this->u->info['id'],$this->ue['id'],$pvr['hp'],0);
|
||||
|
||||
if( $pvr['hpNow'] > $pvr['hpAll'] ) {
|
||||
$pvr['hpNow'] = $pvr['hpAll'];
|
||||
@@ -34,7 +36,7 @@ $pvr = array();
|
||||
|
||||
mysql_query('UPDATE `stats` SET `hpNow` = "'.$btl->stats[$btl->uids[$this->ue['id']]]['hpNow'].'" WHERE `id` = "'.$this->ue['id'].'" LIMIT 1');
|
||||
|
||||
$prv['text'] = $btl->addlt(1 , 19 , $btl->users[$btl->uids[$u->info['id']]]['sex'] , NULL);
|
||||
$prv['text'] = $btl->addlt(1 , 19 , $btl->users[$btl->uids[$this->u->info['id']]]['sex'] , NULL);
|
||||
|
||||
//Öâåò ïðèåìà
|
||||
if( $pvr['promah'] == false ) {
|
||||
@@ -56,14 +58,14 @@ $pvr = array();
|
||||
$prv['color'] = '909090';
|
||||
}
|
||||
|
||||
$this->mg2static_points( $this->ue['id'] , $btl->stats[$btl->uids[$u->info['id']]] );
|
||||
|
||||
|
||||
$prv['text2'] = '{tm1} '.$prv['text'].'. <font Color='.$prv['color'].'><b '.$btl->maginfoattack($u->info['id'],$this->ue['id'],1).'>'.$pvr['hpSee'].'</b></font> ['.$pvr['hpNow'].'/'.$pvr['hpAll'].']';
|
||||
$prv['text2'] = '{tm1} '.$prv['text'].'. <font Color='.$prv['color'].'><b '.$btl->maginfoattack($this->u->info['id'],$this->ue['id'],1).'>'.$pvr['hpSee'].'</b></font> ['.$pvr['hpNow'].'/'.$pvr['hpAll'].']';
|
||||
if( $pvr['promah_type'] == 2 ) {
|
||||
$prv['text'] = $btl->addlt(1 , 20 , $btl->users[$btl->uids[$u->info['id']]]['sex'] , NULL);
|
||||
$prv['text2'] = '{tm1} '.$prv['text'].'. <font Color='.$prv['color'].'><b '.$btl->maginfoattack($u->info['id'],$this->ue['id'],1).'>--</b></font> ['.$pvr['hpNow'].'/'.$pvr['hpAll'].']';
|
||||
$prv['text'] = $btl->addlt(1 , 20 , $btl->users[$btl->uids[$this->u->info['id']]]['sex'] , NULL);
|
||||
$prv['text2'] = '{tm1} '.$prv['text'].'. <font Color='.$prv['color'].'><b '.$btl->maginfoattack($this->u->info['id'],$this->ue['id'],1).'>--</b></font> ['.$pvr['hpNow'].'/'.$pvr['hpAll'].']';
|
||||
}
|
||||
$btl->priemAddLog( $id, 1, 2, $u->info['id'], $this->ue['id'],
|
||||
$btl->priemAddLog( $id, 1, 2, $this->u->info['id'], $this->ue['id'],
|
||||
'<font color^^^^#'.$prv['color2'].'>Èñïåïåëåíèå [8]</font>',
|
||||
$prv['text2'],
|
||||
($btl->hodID + 1)
|
||||
|
||||
Reference in New Issue
Block a user