Оптимизация.
This commit is contained in:
parent
82e48d473b
commit
707d6c5c99
File diff suppressed because it is too large
Load Diff
@ -15,7 +15,7 @@ $pvr['vladenie'] = 1;
|
|||||||
$pvr['bron'] = array( 0 , 0 );
|
$pvr['bron'] = array( 0 , 0 );
|
||||||
$pvr['power'] = 1;
|
$pvr['power'] = 1;
|
||||||
|
|
||||||
$pvr['yron'] = $btl->yronGetrazmen($pvr['uid1'],$pvr['uid2'],3,rand(1,5),true);
|
$pvr['yron'] = $btl->yronGetrazmen($pvr['uid1'],$pvr['uid2'],3);
|
||||||
|
|
||||||
$pvr['hp'] = floor(1+rand($pvr['yron']['y'],$pvr['yron']['m_y']));
|
$pvr['hp'] = floor(1+rand($pvr['yron']['y'],$pvr['yron']['m_y']));
|
||||||
$pvr['hp'] = round($pvr['hp']*0.40);
|
$pvr['hp'] = round($pvr['hp']*0.40);
|
||||||
|
@ -308,9 +308,17 @@ if ($pl['id'] == 189) {
|
|||||||
} elseif ($pl['id'] == 271) {
|
} elseif ($pl['id'] == 271) {
|
||||||
//прием Прорыв 1\3 урона оружием
|
//прием Прорыв 1\3 урона оружием
|
||||||
$tp_atk = $btl->weaponTx($btl->stats[$btl->uids[$u->info['id']]]['items'][$btl->stats[$btl->uids[$u->info['id']]]['wp3id']]);
|
$tp_atk = $btl->weaponTx($btl->stats[$btl->uids[$u->info['id']]]['items'][$btl->stats[$btl->uids[$u->info['id']]]['wp3id']]);
|
||||||
//$tp_atk = 0;
|
|
||||||
$yi_atk = $btl->weaponAt22($btl->stats[$btl->uids[$u->info['id']]]['items'][$btl->stats[$btl->uids[$u->info['id']]]['wp3id']], $btl->stats[$btl->uids[$u->info['id']]], $tp_atk);
|
$yi_atk = $btl->weaponAt22($btl->stats[$btl->uids[$u->info['id']]]['items'][$btl->stats[$btl->uids[$u->info['id']]]['wp3id']], $btl->stats[$btl->uids[$u->info['id']]], $tp_atk);
|
||||||
$hpmin = $btl->yrn($btl->stats[$btl->uids[$u->info['id']]], $btl->stats[$btl->uids[$u->info['enemy']]], $btl->users[$btl->uids[$u->info['id']]], $btl->users[$btl->uids[$u->info['enemy']]], $btl->stats[$btl->uids[$u->info['id']]]['lvl'], $btl->stats[$btl->uids[$u->info['enemy']]]['lvl'], $tp_atk, $yi_atk[0], $yi_atk[1], 0, 0, 0, 0, $btl->stats[$btl->uids[$u->info['id']]]['m3'], 0, 0, 0);
|
|
||||||
|
$hpmin = $btl->yrn(
|
||||||
|
$btl->stats[$btl->uids[$u->info['id']]],
|
||||||
|
$btl->stats[$btl->uids[$u->info['enemy']]],
|
||||||
|
$btl->users[$btl->uids[$u->info['id']]],
|
||||||
|
$btl->users[$btl->uids[$u->info['enemy']]],
|
||||||
|
$tp_atk
|
||||||
|
);
|
||||||
|
|
||||||
$hpmin = rand($hpmin['min'], $hpmin['max']);
|
$hpmin = rand($hpmin['min'], $hpmin['max']);
|
||||||
} elseif ($pl['id'] == 212) {
|
} elseif ($pl['id'] == 212) {
|
||||||
//Ограниченный маневр
|
//Ограниченный маневр
|
||||||
|
Loading…
Reference in New Issue
Block a user