1502 lines
64 KiB
PHP
1502 lines
64 KiB
PHP
|
<?
|
|||
|
if(!defined('GAME')) { die(); }
|
|||
|
|
|||
|
if($e['bm_a1'] == 'bot_priems1') {
|
|||
|
unset($pr_vars);
|
|||
|
$pr_use = 0;
|
|||
|
$pr_vars = array('hp_u1' => $this->users[$this->uids[$uid1]]['hpNow'], 'hp_u2' => $this->users[$this->uids[$uid2]]['hpNow']);
|
|||
|
|
|||
|
if ($this->users[$this->uids[$uid1]]['hpNow'] > 0){
|
|||
|
|
|||
|
###=======================<3D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ========================== ###
|
|||
|
if( $this->users[$this->uids[$uid1]]['bot_id'] == 499) {
|
|||
|
//<2F><><EFBFBD><EFBFBD>
|
|||
|
$pr_use = 1;
|
|||
|
|
|||
|
$pr_vars['priem_use'][0]['chance'] = 12;
|
|||
|
$pr_vars['priem_use'][0]['name'] = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|||
|
$pr_vars['priem_use'][0]['id'] = 351;
|
|||
|
$pr_vars['priem_use'][0]['on'] = $this->users[$this->uids[$uid2]];
|
|||
|
|
|||
|
$pr_vars['priem_team_f'][0]['chance'] = 10;
|
|||
|
$pr_vars['priem_team_f'][0]['name'] = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|||
|
$pr_vars['priem_team_f'][0]['x'] = 1;
|
|||
|
$pr_vars['priem_team_f'][0]['type'] = 6;
|
|||
|
$pr_vars['priem_team_f'][0]['hp'] = 0;
|
|||
|
$pr_vars['priem_team_f'][0]['hp_dmg'] = rand(900,1800);
|
|||
|
$pr_vars['priem_team_f'][0]['priem'] = 160;
|
|||
|
$pr_vars['priem_team_f'][0]['team'] = $this->users[$this->uids[$uid2]]['team'];
|
|||
|
$pr_vars['priem_team_f'][0]['on'] = $uid;
|
|||
|
$pr_vars['priem_team_f'][0]['nomf'] = 0;
|
|||
|
$pr_vars['priem_team_f'][0]['fiz'] = 1;
|
|||
|
$pr_vars['priem_team_f'][0]['krituet'] = false;
|
|||
|
|
|||
|
}
|
|||
|
elseif($this->users[$this->uids[$uid1]]['bot_id'] == 498) {
|
|||
|
### <20><><EFBFBD><EFBFBD>
|
|||
|
$pr_use = 1;
|
|||
|
|
|||
|
$pr_vars['priem_use'][0]['chance'] = 8;
|
|||
|
$pr_vars['priem_use'][0]['name'] = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|||
|
$pr_vars['priem_use'][0]['id'] = 189;
|
|||
|
$pr_vars['priem_use'][0]['on'] = $this->users[$this->uids[$uid2]];
|
|||
|
|
|||
|
$pr_vars['priem_team_f'][0]['chance'] = 10;
|
|||
|
$pr_vars['priem_team_f'][0]['name'] = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>';
|
|||
|
$pr_vars['priem_team_f'][0]['x'] = 1;
|
|||
|
$pr_vars['priem_team_f'][0]['type'] = 1;
|
|||
|
$pr_vars['priem_team_f'][0]['hp'] = 0;
|
|||
|
$pr_vars['priem_team_f'][0]['hp_dmg'] = rand(900,1800);
|
|||
|
$pr_vars['priem_team_f'][0]['priem'] = 160;
|
|||
|
$pr_vars['priem_team_f'][0]['team'] = $this->users[$this->uids[$uid2]]['team'];
|
|||
|
$pr_vars['priem_team_f'][0]['on'] = $uid;
|
|||
|
$pr_vars['priem_team_f'][0]['nomf'] = 0;
|
|||
|
$pr_vars['priem_team_f'][0]['fiz'] = 1;
|
|||
|
$pr_vars['priem_team_f'][0]['krituet'] = false;
|
|||
|
}
|
|||
|
elseif($this->users[$this->uids[$uid1]]['bot_id'] == 497) {
|
|||
|
### <20><><EFBFBD><EFBFBD>
|
|||
|
$pr_use = 1;
|
|||
|
|
|||
|
$pr_vars['priem_use'][0]['chance'] = 10;
|
|||
|
$pr_vars['priem_use'][0]['name'] = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|||
|
$pr_vars['priem_use'][0]['id'] = 189;
|
|||
|
$pr_vars['priem_use'][0]['on'] = $this->users[$this->uids[$uid2]];
|
|||
|
|
|||
|
$pr_vars['priem_team_f'][0]['chance'] = 7;
|
|||
|
$pr_vars['priem_team_f'][0]['name'] = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>';
|
|||
|
$pr_vars['priem_team_f'][0]['x'] = 1;
|
|||
|
$pr_vars['priem_team_f'][0]['type'] = 1;
|
|||
|
$pr_vars['priem_team_f'][0]['hp'] = 0;
|
|||
|
$pr_vars['priem_team_f'][0]['hp_dmg'] = rand(500,1000);
|
|||
|
$pr_vars['priem_team_f'][0]['priem'] = 160;
|
|||
|
$pr_vars['priem_team_f'][0]['team'] = $this->users[$this->uids[$uid2]]['team'];
|
|||
|
$pr_vars['priem_team_f'][0]['on'] = $uid;
|
|||
|
$pr_vars['priem_team_f'][0]['nomf'] = 0;
|
|||
|
$pr_vars['priem_team_f'][0]['fiz'] = 1;
|
|||
|
$pr_vars['priem_team_f'][0]['krituet'] = false;
|
|||
|
}
|
|||
|
elseif($this->users[$this->uids[$uid1]]['bot_id'] == 520) {
|
|||
|
### <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>
|
|||
|
$pr_use = 1;
|
|||
|
|
|||
|
$pr_vars['priem_use'][0]['chance'] = 20;
|
|||
|
$pr_vars['priem_use'][0]['name'] = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|||
|
$pr_vars['priem_use'][0]['id'] = 352;
|
|||
|
$pr_vars['priem_use'][0]['on'] = $this->users[$this->uids[$uid1]];
|
|||
|
}
|
|||
|
elseif($this->users[$this->uids[$uid1]]['bot_id'] == 522) {
|
|||
|
### <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
$pr_use = 1;
|
|||
|
|
|||
|
$pr_vars['priem_use'][0]['chance'] = 15;
|
|||
|
$pr_vars['priem_use'][0]['name'] = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD>';
|
|||
|
$pr_vars['priem_use'][0]['id'] = 353;
|
|||
|
$pr_vars['priem_use'][0]['on'] = $this->users[$this->uids[$uid1]];
|
|||
|
}
|
|||
|
elseif($this->users[$this->uids[$uid1]]['bot_id'] == 517) {
|
|||
|
### <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ( <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> 7 <20><><EFBFBD><EFBFBD><EFBFBD> )
|
|||
|
$pr_use = 1;
|
|||
|
if (rand(1,100)>90 && mt_rand(1,100)>50)
|
|||
|
{
|
|||
|
$pr_vars['priem_use_p']['kolvo'] = 7;
|
|||
|
$pr_vars['priem_use_p']['d_min'] = 150;
|
|||
|
$pr_vars['priem_use_p']['d_max'] = 250;
|
|||
|
}
|
|||
|
}
|
|||
|
elseif($this->users[$this->uids[$uid1]]['bot_id'] == 505) {
|
|||
|
### <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ( <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> 3 <20><><EFBFBD><EFBFBD> )
|
|||
|
$pr_use = 1;
|
|||
|
if (rand(1,100)>90 && mt_rand(1,100)>50)
|
|||
|
{
|
|||
|
$pr_vars['priem_use_p']['kolvo'] = 3;
|
|||
|
$pr_vars['priem_use_p']['d_min'] = 150;
|
|||
|
$pr_vars['priem_use_p']['d_max'] = 250;
|
|||
|
}
|
|||
|
}
|
|||
|
elseif($this->users[$this->uids[$uid1]]['bot_id'] == 509) {
|
|||
|
### <20><><EFBFBD><EFBFBD><EFBFBD> ( <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> 5 <20><><EFBFBD><EFBFBD><EFBFBD> )
|
|||
|
$pr_use = 1;
|
|||
|
if (rand(1,100)>90 && mt_rand(1,100)>50)
|
|||
|
{
|
|||
|
$pr_vars['priem_use_p']['kolvo'] = 5;
|
|||
|
$pr_vars['priem_use_p']['d_min'] = 150;
|
|||
|
$pr_vars['priem_use_p']['d_max'] = 250;
|
|||
|
}
|
|||
|
}
|
|||
|
elseif($this->users[$this->uids[$uid1]]['bot_id'] == 512) {
|
|||
|
### <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ( <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> 7 <20><><EFBFBD><EFBFBD><EFBFBD> )
|
|||
|
$pr_use = 1;
|
|||
|
if (rand(1,100)>90 && mt_rand(1,100)>50)
|
|||
|
{
|
|||
|
$pr_vars['priem_use_p']['kolvo'] = 7;
|
|||
|
$pr_vars['priem_use_p']['d_min'] = 150;
|
|||
|
$pr_vars['priem_use_p']['d_max'] = 250;
|
|||
|
}
|
|||
|
}
|
|||
|
elseif($this->users[$this->uids[$uid1]]['bot_id'] == 515) {
|
|||
|
### <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD>
|
|||
|
if (rand(1,100)>90 && mt_rand(1,100)>50)
|
|||
|
{
|
|||
|
$pr_vars['priem_use_e']['name'] = "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>";
|
|||
|
$pr_vars['priem_use_e']['uron'] = floor($this->stats[$this->uids[$uid2]]['hpAll']/5);
|
|||
|
}
|
|||
|
}
|
|||
|
###====================<3D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>=======================###
|
|||
|
|
|||
|
|
|||
|
###================================================================###
|
|||
|
|
|||
|
|
|||
|
###====================<3D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>================###
|
|||
|
elseif( $this->users[$this->uids[$uid1]]['bot_id'] == 287 || $this->users[$this->uids[$uid1]]['bot_id'] == 286) {
|
|||
|
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
$pr_use = 1;
|
|||
|
|
|||
|
$pr_vars['priem_use'][0]['chance'] = 10;
|
|||
|
$pr_vars['priem_use'][0]['name'] = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|||
|
$pr_vars['priem_use'][0]['id'] = 13;
|
|||
|
$pr_vars['priem_use'][0]['on'] = $this->users[$this->uids[$uid1]];
|
|||
|
|
|||
|
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
$pr_vars['priem_team_f'][0]['chance'] = 15;
|
|||
|
$pr_vars['priem_team_f'][0]['name'] = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|||
|
$pr_vars['priem_team_f'][0]['x'] = 1;
|
|||
|
$pr_vars['priem_team_f'][0]['type'] = 1;
|
|||
|
$pr_vars['priem_team_f'][0]['hp'] = 0;
|
|||
|
$pr_vars['priem_team_f'][0]['hp_dmg'] = rand(300,600);
|
|||
|
$pr_vars['priem_team_f'][0]['priem'] = 73;
|
|||
|
$pr_vars['priem_team_f'][0]['team'] = $this->users[$this->uids[$uid2]]['team'];
|
|||
|
$pr_vars['priem_team_f'][0]['on'] = $uid;
|
|||
|
$pr_vars['priem_team_f'][0]['nomf'] = 0;
|
|||
|
$pr_vars['priem_team_f'][0]['fiz'] = 0;
|
|||
|
$pr_vars['priem_team_f'][0]['krituet'] = true;
|
|||
|
}
|
|||
|
|
|||
|
elseif( $this->users[$this->uids[$uid1]]['bot_id'] == 283) {
|
|||
|
//<2F><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
$pr_use = 1;
|
|||
|
|
|||
|
$pr_vars['priem_use'][0]['chance'] = 15;
|
|||
|
$pr_vars['priem_use'][0]['name'] = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|||
|
$pr_vars['priem_use'][0]['id'] = 14;
|
|||
|
$pr_vars['priem_use'][0]['on'] = $this->users[$this->uids[$uid1]];
|
|||
|
|
|||
|
$pr_vars['priem_use'][1]['chance'] = 3;
|
|||
|
$pr_vars['priem_use'][1]['name'] = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|||
|
$pr_vars['priem_use'][1]['id'] = 13;
|
|||
|
$pr_vars['priem_use'][1]['on'] = $this->users[$this->uids[$uid1]];
|
|||
|
|
|||
|
$pr_vars['priem_use'][2]['chance'] = 10;
|
|||
|
$pr_vars['priem_use'][2]['name'] = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>';
|
|||
|
$pr_vars['priem_use'][2]['id'] = 235;
|
|||
|
$pr_vars['priem_use'][2]['on'] = $this->users[$this->uids[$uid1]];
|
|||
|
|
|||
|
if( rand(0,100) > 50 && rand(0,100) < 10 ) {
|
|||
|
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 8-12% <20><><EFBFBD><EFBFBD>
|
|||
|
$pr_vars['priem_regen2']['mp'] = floor($this->stats[$this->uids[$uid2]]['hpAll']/100*rand(8,12));
|
|||
|
$pr_vars['priem_regen2']['chance'] = 50;
|
|||
|
$pr_vars['priem_regen2']['name'] = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>';
|
|||
|
$this->stats[$this->uids[$uid2]]['mpNow'] -= $pr_vars['priem_regen2']['mp'];
|
|||
|
if( $this->stats[$this->uids[$uid2]]['mpNow'] < 0 ) {
|
|||
|
$this->stats[$this->uids[$uid2]]['mpNow'] = 0;
|
|||
|
}
|
|||
|
mysql_query('UPDATE `stats` SET `mpNow` = "'.$this->stats[$this->uids[$uid2]]['mpNow'].'" WHERE `id` = "'.$this->users[$this->uids[$uid2]]['id'].'" LIMIT 1');
|
|||
|
}elseif( rand(0,100) > 50 && rand(0,100) < 10 ) {
|
|||
|
if( $this->stats[$this->uids[$uid1]]['hpNow'] <= $this->stats[$this->uids[$uid1]]['hpAll']/4 ) {
|
|||
|
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>
|
|||
|
$pr_vars['priem_regen']['hp'] = floor($this->stats[$this->uids[$uid2]]['hpAll']-1);
|
|||
|
$pr_vars['priem_regen']['chance'] = 100;
|
|||
|
$pr_vars['priem_regen']['name'] = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>';
|
|||
|
$this->stats[$this->uids[$uid2]]['hpNow'] -= $pr_vars['priem_regen']['hp'];
|
|||
|
if( $this->stats[$this->uids[$uid2]]['hpNow'] < 1 ) {
|
|||
|
$this->stats[$this->uids[$uid2]]['hpNow'] = 1;
|
|||
|
}
|
|||
|
mysql_query('UPDATE `stats` SET `hpNow` = "'.$this->stats[$this->uids[$uid2]]['hpNow'].'" WHERE `id` = "'.$this->users[$this->uids[$uid2]]['id'].'" LIMIT 1');
|
|||
|
//
|
|||
|
$pr_vars['priem_use'][3]['chance'] = 100;
|
|||
|
$pr_vars['priem_use'][3]['name'] = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>';
|
|||
|
$pr_vars['priem_use'][3]['id'] = 341;
|
|||
|
$pr_vars['priem_use'][3]['on'] = $this->users[$this->uids[$uid1]];
|
|||
|
//
|
|||
|
}
|
|||
|
}else{
|
|||
|
if( $this->stats[$this->uids[$uid1]]['hpNow'] <= $this->stats[$this->uids[$uid1]]['hpAll']/2 )
|
|||
|
{
|
|||
|
$pr_vars['priem_use'][3]['chance'] = 20;
|
|||
|
$pr_vars['priem_use'][3]['name'] = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>';
|
|||
|
$pr_vars['priem_use'][3]['id'] = 217;
|
|||
|
$pr_vars['priem_use'][3]['on'] = $this->users[$this->uids[$uid1]];
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
elseif( $this->users[$this->uids[$uid1]]['bot_id'] == 285) {
|
|||
|
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
$pr_use = 1;
|
|||
|
|
|||
|
$pr_vars['priem_use'][0]['chance'] = 5;
|
|||
|
$pr_vars['priem_use'][0]['name'] = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|||
|
$pr_vars['priem_use'][0]['id'] = 140;
|
|||
|
$pr_vars['priem_use'][0]['on'] = $this->users[$this->uids[$uid1]];
|
|||
|
|
|||
|
$pr_vars['priem_use'][1]['chance'] = 7;
|
|||
|
$pr_vars['priem_use'][1]['name'] = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>';
|
|||
|
$pr_vars['priem_use'][1]['id'] = 193;
|
|||
|
$pr_vars['priem_use'][1]['on'] = $this->users[$this->uids[$uid1]];
|
|||
|
|
|||
|
$pr_vars['priem_team_f'][0]['chance'] = 10;
|
|||
|
$pr_vars['priem_team_f'][0]['name'] = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>';
|
|||
|
$pr_vars['priem_team_f'][0]['x'] = 1;
|
|||
|
$pr_vars['priem_team_f'][0]['type'] = 6;
|
|||
|
$pr_vars['priem_team_f'][0]['hp'] = 0;
|
|||
|
$pr_vars['priem_team_f'][0]['hp_dmg'] = rand(100,300);
|
|||
|
$pr_vars['priem_team_f'][0]['priem'] = 160;
|
|||
|
$pr_vars['priem_team_f'][0]['team'] = $this->users[$this->uids[$uid2]]['team'];
|
|||
|
$pr_vars['priem_team_f'][0]['on'] = $uid;
|
|||
|
$pr_vars['priem_team_f'][0]['nomf'] = 0;
|
|||
|
$pr_vars['priem_team_f'][0]['fiz'] = 1;
|
|||
|
$pr_vars['priem_team_f'][0]['krituet'] = false;
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
elseif($this->users[$this->uids[$uid1]]['bot_id'] == 542) {
|
|||
|
##<23><><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
$pr_use = 1;
|
|||
|
|
|||
|
$pr_vars['priem_use'][0]['chance'] = 10;
|
|||
|
$pr_vars['priem_use'][0]['name'] = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|||
|
$pr_vars['priem_use'][0]['id'] = 339;
|
|||
|
$pr_vars['priem_use'][0]['on'] = $this->users[$this->uids[$uid2]];
|
|||
|
|
|||
|
$pr_vars['priem_team_f'][0]['chance'] = 10;
|
|||
|
$pr_vars['priem_team_f'][0]['name'] = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>';
|
|||
|
$pr_vars['priem_team_f'][0]['x'] = 1;
|
|||
|
$pr_vars['priem_team_f'][0]['type'] = 3;
|
|||
|
$pr_vars['priem_team_f'][0]['hp'] = 0;
|
|||
|
$pr_vars['priem_team_f'][0]['hp_dmg'] = rand(30,70);
|
|||
|
$pr_vars['priem_team_f'][0]['priem'] = 83;
|
|||
|
$pr_vars['priem_team_f'][0]['team'] = $this->users[$this->uids[$uid2]]['team'];
|
|||
|
$pr_vars['priem_team_f'][0]['on'] = $uid;
|
|||
|
$pr_vars['priem_team_f'][0]['nomf'] = 0;
|
|||
|
$pr_vars['priem_team_f'][0]['fiz'] = 0;
|
|||
|
$pr_vars['priem_team_f'][0]['krituet'] = true;
|
|||
|
|
|||
|
$pr_vars['priem_use'][1]['chance'] = 10;
|
|||
|
$pr_vars['priem_use'][1]['name'] = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|||
|
$pr_vars['priem_use'][1]['id'] = 338;
|
|||
|
$pr_vars['priem_use'][1]['on'] = $this->users[$this->uids[$uid2]];
|
|||
|
|
|||
|
}
|
|||
|
elseif($this->users[$this->uids[$uid1]]['bot_id'] == 277) {
|
|||
|
### <20><><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
$pr_use = 1;
|
|||
|
if ($this->hodID == 1)
|
|||
|
{
|
|||
|
$pr_vars['priem_use_p']['kolvo'] = 3;
|
|||
|
$pr_vars['priem_use_p']['d_min'] = 150;
|
|||
|
$pr_vars['priem_use_p']['d_max'] = 250;
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
elseif($this->users[$this->uids[$uid1]]['bot_id'] == 251) {
|
|||
|
### <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
$pr_use = 1;
|
|||
|
|
|||
|
$pr_vars['priem_regen']['hp'] = 500;
|
|||
|
$pr_vars['priem_regen']['chance'] = 3;
|
|||
|
$pr_vars['priem_regen']['name'] = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|||
|
|
|||
|
$pr_vars['priem_use'][0]['chance'] = 9;
|
|||
|
$pr_vars['priem_use'][0]['name'] = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|||
|
$pr_vars['priem_use'][0]['id'] = 14;
|
|||
|
$pr_vars['priem_use'][0]['on'] = $this->users[$this->uids[$uid1]];
|
|||
|
|
|||
|
$pr_vars['priem_use'][1]['chance'] = 20;
|
|||
|
$pr_vars['priem_use'][1]['name'] = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><>';
|
|||
|
$pr_vars['priem_use'][1]['id'] = 333;
|
|||
|
$pr_vars['priem_use'][1]['on'] = $this->users[$this->uids[$uid2]];
|
|||
|
|
|||
|
$pr_vars['priem_use'][2]['chance'] = 5;
|
|||
|
$pr_vars['priem_use'][2]['name'] = '<27><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|||
|
$pr_vars['priem_use'][2]['id'] = 48;
|
|||
|
$pr_vars['priem_use'][2]['on'] = $this->users[$this->uids[$uid1]];
|
|||
|
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
elseif($this->users[$this->uids[$uid1]]['bot_id'] == 284) {
|
|||
|
### <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
$pr_use = 1;
|
|||
|
|
|||
|
$pr_vars['priem_use'][0]['chance'] = 10;
|
|||
|
$pr_vars['priem_use'][0]['name'] = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|||
|
$pr_vars['priem_use'][0]['id'] = 345;
|
|||
|
$pr_vars['priem_use'][0]['on'] = $this->users[$this->uids[$uid2]];
|
|||
|
|
|||
|
$pr_vars['priem_team_f'][0]['chance'] = 10;
|
|||
|
$pr_vars['priem_team_f'][0]['name'] = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|||
|
$pr_vars['priem_team_f'][0]['x'] = 1;
|
|||
|
$pr_vars['priem_team_f'][0]['type'] = 3;
|
|||
|
$pr_vars['priem_team_f'][0]['hp'] = rand(400,800);
|
|||
|
$pr_vars['priem_team_f'][0]['hp_dmg'] = rand(400,800);
|
|||
|
$pr_vars['priem_team_f'][0]['priem'] = 164;
|
|||
|
$pr_vars['priem_team_f'][0]['team'] = $this->users[$this->uids[$uid2]]['team'];
|
|||
|
$pr_vars['priem_team_f'][0]['on'] = $uid;
|
|||
|
$pr_vars['priem_team_f'][0]['nomf'] = 0;
|
|||
|
$pr_vars['priem_team_f'][0]['fiz'] = 1;
|
|||
|
$pr_vars['priem_team_f'][0]['krituet'] = true;
|
|||
|
$pr_vars['priem_team_f'][0]['hpregen'] = true;
|
|||
|
}
|
|||
|
|
|||
|
elseif($this->users[$this->uids[$uid1]]['bot_id'] == 530) {
|
|||
|
### <20><><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
$pr_use = 1;
|
|||
|
|
|||
|
$pr_vars['priem_use'][0]['chance'] = 10;
|
|||
|
$pr_vars['priem_use'][0]['name'] = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|||
|
$pr_vars['priem_use'][0]['id'] = 14;
|
|||
|
$pr_vars['priem_use'][0]['on'] = $this->users[$this->uids[$uid1]];
|
|||
|
|
|||
|
$pr_vars['priem_use'][1]['chance'] = 10;
|
|||
|
$pr_vars['priem_use'][1]['name'] = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>';
|
|||
|
$pr_vars['priem_use'][1]['id'] = 335;
|
|||
|
$pr_vars['priem_use'][1]['on'] = $this->users[$this->uids[$uid2]];
|
|||
|
|
|||
|
$pr_vars['priem_use'][2]['chance'] = 7;
|
|||
|
$pr_vars['priem_use'][2]['name'] = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>';
|
|||
|
$pr_vars['priem_use'][2]['id'] = 11;
|
|||
|
$pr_vars['priem_use'][2]['on'] = $this->users[$this->uids[$uid1]];
|
|||
|
|
|||
|
$pr_vars['priem_use'][3]['chance'] = 7;
|
|||
|
$pr_vars['priem_use'][3]['name'] = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>';
|
|||
|
$pr_vars['priem_use'][3]['id'] = 240;
|
|||
|
$pr_vars['priem_use'][3]['on'] = $this->users[$this->uids[$uid1]];
|
|||
|
|
|||
|
$pr_vars['priem_team_f'][0]['chance'] = 15;
|
|||
|
$pr_vars['priem_team_f'][0]['name'] = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|||
|
$pr_vars['priem_team_f'][0]['x'] = 1;
|
|||
|
$pr_vars['priem_team_f'][0]['type'] = 3;
|
|||
|
$pr_vars['priem_team_f'][0]['hp'] = 0;
|
|||
|
$pr_vars['priem_team_f'][0]['hp_dmg'] = rand(100,400);
|
|||
|
$pr_vars['priem_team_f'][0]['priem'] = 164;
|
|||
|
$pr_vars['priem_team_f'][0]['team'] = $this->users[$this->uids[$uid2]]['team'];
|
|||
|
$pr_vars['priem_team_f'][0]['on'] = $uid;
|
|||
|
$pr_vars['priem_team_f'][0]['nomf'] = 0;
|
|||
|
$pr_vars['priem_team_f'][0]['fiz'] = 0;
|
|||
|
$pr_vars['priem_team_f'][0]['krituet'] = false;
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
elseif($this->users[$this->uids[$uid1]]['bot_id'] == 288) {
|
|||
|
### <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
$pr_use = 1;
|
|||
|
|
|||
|
$pr_vars['priem_use'][0]['chance'] = 10;
|
|||
|
$pr_vars['priem_use'][0]['name'] = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|||
|
$pr_vars['priem_use'][0]['id'] = 347;
|
|||
|
$pr_vars['priem_use'][0]['on'] = $this->users[$this->uids[$uid1]];
|
|||
|
|
|||
|
$pr_vars['priem_use'][1]['chance'] = 5;
|
|||
|
$pr_vars['priem_use'][1]['name'] = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|||
|
$pr_vars['priem_use'][1]['id'] = 204;
|
|||
|
$pr_vars['priem_use'][1]['on'] = $this->users[$this->uids[$uid1]];
|
|||
|
|
|||
|
$pr_vars['priem_use'][2]['chance'] = 8;
|
|||
|
$pr_vars['priem_use'][2]['name'] = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|||
|
$pr_vars['priem_use'][2]['id'] = 348;
|
|||
|
$pr_vars['priem_use'][2]['on'] = $this->users[$this->uids[$uid2]];
|
|||
|
|
|||
|
$pr_vars['priem_use'][3]['chance'] = 12;
|
|||
|
$pr_vars['priem_use'][3]['name'] = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|||
|
$pr_vars['priem_use'][3]['id'] = 349;
|
|||
|
$pr_vars['priem_use'][3]['on'] = $this->users[$this->uids[$uid1]];
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
elseif($this->users[$this->uids[$uid1]]['bot_id'] == 275) {
|
|||
|
### <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
$pr_use = 1;
|
|||
|
|
|||
|
$pr_vars['priem_use'][0]['chance'] = 5;
|
|||
|
$pr_vars['priem_use'][0]['name'] = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|||
|
$pr_vars['priem_use'][0]['id'] = 14;
|
|||
|
$pr_vars['priem_use'][0]['on'] = $this->users[$this->uids[$uid1]];
|
|||
|
|
|||
|
$pr_vars['priem_use'][1]['chance'] = 5;
|
|||
|
$pr_vars['priem_use'][1]['name'] = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|||
|
$pr_vars['priem_use'][1]['id'] = 13;
|
|||
|
$pr_vars['priem_use'][1]['on'] = $this->users[$this->uids[$uid1]];
|
|||
|
|
|||
|
$pr_vars['priem_use'][2]['chance'] = 9;
|
|||
|
$pr_vars['priem_use'][2]['name'] = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>';
|
|||
|
$pr_vars['priem_use'][2]['id'] = 336;
|
|||
|
$pr_vars['priem_use'][2]['on'] = $this->users[$this->uids[$uid2]];
|
|||
|
|
|||
|
$pr_vars['priem_team_f'][0]['chance'] = 10;
|
|||
|
$pr_vars['priem_team_f'][0]['name'] = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>';
|
|||
|
$pr_vars['priem_team_f'][0]['x'] = 1;
|
|||
|
$pr_vars['priem_team_f'][0]['type'] = 6;
|
|||
|
$pr_vars['priem_team_f'][0]['hp'] = 0;
|
|||
|
$pr_vars['priem_team_f'][0]['hp_dmg'] = rand(100,300);
|
|||
|
$pr_vars['priem_team_f'][0]['priem'] = 160;
|
|||
|
$pr_vars['priem_team_f'][0]['team'] = $this->users[$this->uids[$uid2]]['team'];
|
|||
|
$pr_vars['priem_team_f'][0]['on'] = $uid;
|
|||
|
$pr_vars['priem_team_f'][0]['nomf'] = 0;
|
|||
|
$pr_vars['priem_team_f'][0]['fiz'] = 0;
|
|||
|
$pr_vars['priem_team_f'][0]['krituet'] = false;
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
elseif($this->users[$this->uids[$uid1]]['bot_id'] == 266) {
|
|||
|
### <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
$pr_use = 1;
|
|||
|
|
|||
|
$pr_vars['priem_regen']['hp'] = 300;
|
|||
|
$pr_vars['priem_regen']['chance'] = 3;
|
|||
|
$pr_vars['priem_regen']['name'] = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|||
|
|
|||
|
$pr_vars['priem_use'][0]['chance'] = 10;
|
|||
|
$pr_vars['priem_use'][0]['name'] = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|||
|
$pr_vars['priem_use'][0]['id'] = 334;
|
|||
|
$pr_vars['priem_use'][0]['on'] = $this->users[$this->uids[$uid2]];
|
|||
|
|
|||
|
$pr_vars['priem_use'][1]['chance'] = 8;
|
|||
|
$pr_vars['priem_use'][1]['name'] = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|||
|
$pr_vars['priem_use'][1]['id'] = 204;
|
|||
|
$pr_vars['priem_use'][1]['on'] = $this->users[$this->uids[$uid1]];
|
|||
|
|
|||
|
$pr_vars['priem_use'][2]['chance'] = 9;
|
|||
|
$pr_vars['priem_use'][2]['name'] = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|||
|
$pr_vars['priem_use'][2]['id'] = 140;
|
|||
|
$pr_vars['priem_use'][2]['on'] = $this->users[$this->uids[$uid1]];
|
|||
|
|
|||
|
$pr_vars['priem_team_f'][0]['chance'] = 8;
|
|||
|
$pr_vars['priem_team_f'][0]['name'] = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|||
|
$pr_vars['priem_team_f'][0]['x'] = 1;
|
|||
|
$pr_vars['priem_team_f'][0]['type'] = 6;
|
|||
|
$pr_vars['priem_team_f'][0]['hp_dmg'] = rand(100,300);
|
|||
|
$pr_vars['priem_team_f'][0]['hp'] = round($pr_vars['priem_team_f'][1]['hp_dmg']/2);
|
|||
|
$pr_vars['priem_team_f'][0]['priem'] = 160;
|
|||
|
$pr_vars['priem_team_f'][0]['team'] = $this->users[$this->uids[$uid2]]['team'];
|
|||
|
$pr_vars['priem_team_f'][0]['on'] = $uid;
|
|||
|
$pr_vars['priem_team_f'][0]['nomf'] = 0;
|
|||
|
$pr_vars['priem_team_f'][0]['fiz'] = 0;
|
|||
|
$pr_vars['priem_team_f'][0]['krituet'] = false;
|
|||
|
$pr_vars['priem_team_f'][0]['hpregen'] = true;
|
|||
|
}
|
|||
|
|
|||
|
elseif($this->users[$this->uids[$uid1]]['bot_id'] == 279) {
|
|||
|
### <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
$pr_use = 1;
|
|||
|
|
|||
|
$pr_vars['priem_regen']['hp'] = 300;
|
|||
|
$pr_vars['priem_regen']['chance'] = 3;
|
|||
|
$pr_vars['priem_regen']['name'] = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>';
|
|||
|
|
|||
|
$pr_vars['priem_use'][0]['chance'] = 8;
|
|||
|
$pr_vars['priem_use'][0]['name'] = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>';
|
|||
|
$pr_vars['priem_use'][0]['id'] = 219;
|
|||
|
$pr_vars['priem_use'][0]['on'] = $this->users[$this->uids[$uid1]];
|
|||
|
|
|||
|
$pr_vars['priem_use'][1]['chance'] = 9;
|
|||
|
$pr_vars['priem_use'][1]['name'] = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|||
|
$pr_vars['priem_use'][1]['id'] = 140;
|
|||
|
$pr_vars['priem_use'][1]['on'] = $this->users[$this->uids[$uid1]];
|
|||
|
$pr_vars['priem_use'][1]['no_chat'] = true;
|
|||
|
|
|||
|
$pr_vars['priem_use'][2]['chance'] = 7;
|
|||
|
$pr_vars['priem_use'][2]['name'] = '<27><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>';
|
|||
|
$pr_vars['priem_use'][2]['id'] = 8;
|
|||
|
$pr_vars['priem_use'][2]['on'] = $this->users[$this->uids[$uid1]];
|
|||
|
|
|||
|
$pr_vars['priem_team_f'][0]['chance'] = 8;
|
|||
|
$pr_vars['priem_team_f'][0]['name'] = '<27><><EFBFBD><EFBFBD><EFBFBD>';
|
|||
|
$pr_vars['priem_team_f'][0]['x'] = 1;
|
|||
|
$pr_vars['priem_team_f'][0]['type'] = 6;
|
|||
|
$pr_vars['priem_team_f'][0]['hp'] = 0;
|
|||
|
$pr_vars['priem_team_f'][0]['hp_dmg'] = rand(800,1600);
|
|||
|
$pr_vars['priem_team_f'][0]['priem'] = 160;
|
|||
|
$pr_vars['priem_team_f'][0]['team'] = $this->users[$this->uids[$uid2]]['team'];
|
|||
|
$pr_vars['priem_team_f'][0]['on'] = $uid;
|
|||
|
$pr_vars['priem_team_f'][0]['nomf'] = 0;
|
|||
|
$pr_vars['priem_team_f'][0]['fiz'] = 0;
|
|||
|
$pr_vars['priem_team_f'][0]['krituet'] = false;
|
|||
|
|
|||
|
// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
if( rand(0,100) > 80 ) //&& rand(0,100) < 5
|
|||
|
|
|||
|
{
|
|||
|
$bot_cou = mysql_fetch_array(mysql_query('SELECT COUNT(`id`) FROM `users` WHERE `login` LIKE "%'.$this->users[$this->uids[$uid2]]['login'].' (<28><><EFBFBD><EFBFBD>%" AND `battle` = "'.$this->info['id'].'" LIMIT 1'));
|
|||
|
$bot_cou = $bot_cou[0]+1;
|
|||
|
|
|||
|
if ($bot_cou<2 && $this->stats[$this->uids[$uid1]]['hpNow'] <= $this->stats[$this->uids[$uid1]]['hpAll']/2)
|
|||
|
{
|
|||
|
$clone = array(
|
|||
|
'id' => $this->users[$this->uids[$uid2]]['id'],
|
|||
|
'login' => $this->users[$this->uids[$uid2]]['login'].' (<28><><EFBFBD><EFBFBD> '.$bot_cou.')',
|
|||
|
'level' => $this->users[$this->uids[$uid2]]['level'],
|
|||
|
'city' => $this->users[$this->uids[$uid2]]['city'],
|
|||
|
'cityreg' => $this->users[$this->uids[$uid2]]['cityreg'],
|
|||
|
'name' => $this->users[$this->uids[$uid2]]['name'],
|
|||
|
'sex' => $this->users[$this->uids[$uid2]]['sex'],
|
|||
|
'hobby' => $this->users[$this->uids[$uid2]]['hobby'],
|
|||
|
'time_reg' => $this->users[$this->uids[$uid2]]['time_reg'],
|
|||
|
'obraz' => $this->users[$this->uids[$uid2]]['obraz'],
|
|||
|
'stats' => $this->users[$this->uids[$uid2]]['stats'],
|
|||
|
'upLevel' => $this->users[$this->uids[$uid2]]['upLevel'],
|
|||
|
'priems' => $this->users[$this->uids[$uid2]]['priems'],
|
|||
|
'loclon' => true,
|
|||
|
'inTurnir' => $this->users[$this->uids[$uid2]]['inTurnir']
|
|||
|
);
|
|||
|
$bot = $u->addNewbot(1,NULL,$clone,NULL,true);
|
|||
|
mysql_query('UPDATE `stats` SET `team` = "'.$this->users[$this->uids[$uid1]]['team'].'",`hpNow` = "'.$this->users[$this->uids[$uid2]]['hpNow'].'",`mpNow` = "'.$this->users[$this->uids[$uid2]]['mpNow'].'" WHERE `id` = "'.$bot.'" LIMIT 1');
|
|||
|
mysql_query('UPDATE `users` SET `battle` = "'.$this->info['id'].'" WHERE `id` = "'.$bot.'" LIMIT 1');
|
|||
|
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD>
|
|||
|
|
|||
|
$pr_vars['mas']['text'] = '{tm1} {u1} <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> "<b><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></b>" <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><b> '.$this->users[$this->uids[$uid2]]['login'].'</b>.';
|
|||
|
$pr_vars['mas']['vLog'] = 'time1='.time().'||s1='.$this->users[$this->uids[$uid1]]['sex'].'||t1='.$this->users[$this->uids[$uid1]]['team'].'||login1='.$this->users[$this->uids[$uid1]]['login'].'||s2='.$this->users[$this->uids[$uid2]]['sex'].'||t2='.$this->users[$this->uids[$uid2]]['team'].'||login2='.$this->users[$this->uids[$uid2]]['login'].'';
|
|||
|
$pr_vars['mas'] = array('time'=>time(),'battle'=>$this->info['id'],'id_hod'=>($this->hodID+1),'text'=>$pr_vars['mas']['text'],'vars'=>$pr_vars['mas']['vLog'],'zona1'=>'','zonb1'=>'','zona2'=>'','zonb2'=>'','type'=>'1');
|
|||
|
$this->add_log($pr_vars['mas']);
|
|||
|
|
|||
|
}
|
|||
|
}
|
|||
|
// <20><><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
|
|||
|
###======================<3D><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>===================###
|
|||
|
|
|||
|
|
|||
|
#############################################################
|
|||
|
|
|||
|
|
|||
|
###======================<3D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>====================###
|
|||
|
elseif($this->users[$this->uids[$uid1]]['bot_id'] == 416) {
|
|||
|
$pr_use = 1;
|
|||
|
#<23><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>#
|
|||
|
|
|||
|
$pr_vars['priem_use'][0]['chance'] = 7;
|
|||
|
$pr_vars['priem_use'][0]['name'] = '<27><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>';
|
|||
|
$pr_vars['priem_use'][0]['id'] = 8;
|
|||
|
$pr_vars['priem_use'][0]['on'] = $this->users[$this->uids[$uid1]];
|
|||
|
|
|||
|
$pr_vars['priem_use'][1]['chance'] = 10;
|
|||
|
$pr_vars['priem_use'][1]['name'] = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|||
|
$pr_vars['priem_use'][1]['id'] = 10;
|
|||
|
$pr_vars['priem_use'][1]['on'] = $this->users[$this->uids[$uid1]];
|
|||
|
}
|
|||
|
|
|||
|
elseif($this->users[$this->uids[$uid1]]['bot_id'] == 417) {
|
|||
|
$pr_use = 1;
|
|||
|
#<23><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>#
|
|||
|
|
|||
|
$pr_vars['priem_use'][0]['chance'] = 7;
|
|||
|
$pr_vars['priem_use'][0]['name'] = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>';
|
|||
|
$pr_vars['priem_use'][0]['id'] = 138;
|
|||
|
$pr_vars['priem_use'][0]['on'] = $this->users[$this->uids[$uid1]];
|
|||
|
|
|||
|
$pr_vars['priem_use'][1]['chance'] = 10;
|
|||
|
$pr_vars['priem_use'][1]['name'] = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>';
|
|||
|
$pr_vars['priem_use'][1]['id'] = 193;
|
|||
|
$pr_vars['priem_use'][1]['on'] = $this->users[$this->uids[$uid1]];
|
|||
|
}
|
|||
|
|
|||
|
elseif($this->users[$this->uids[$uid1]]['bot_id'] == 418) {
|
|||
|
$pr_use = 1;
|
|||
|
#<23><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>#
|
|||
|
|
|||
|
$pr_vars['priem_use'][0]['chance'] = 15;
|
|||
|
$pr_vars['priem_use'][0]['name'] = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>';
|
|||
|
$pr_vars['priem_use'][0]['id'] = 4;
|
|||
|
$pr_vars['priem_use'][0]['on'] = $this->users[$this->uids[$uid1]];
|
|||
|
|
|||
|
$pr_vars['priem_use'][1]['chance'] = 5;
|
|||
|
$pr_vars['priem_use'][1]['name'] = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>';
|
|||
|
$pr_vars['priem_use'][1]['id'] = 47;
|
|||
|
$pr_vars['priem_use'][1]['on'] = $this->users[$this->uids[$uid1]];
|
|||
|
}
|
|||
|
|
|||
|
elseif($this->users[$this->uids[$uid1]]['bot_id'] == 419) {
|
|||
|
$pr_use = 1;
|
|||
|
#<23><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>#
|
|||
|
|
|||
|
$pr_vars['priem_use'][0]['chance'] = 10;
|
|||
|
$pr_vars['priem_use'][0]['name'] = '<27><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>';
|
|||
|
$pr_vars['priem_use'][0]['id'] = 188;
|
|||
|
$pr_vars['priem_use'][0]['on'] = $this->users[$this->uids[$uid1]];
|
|||
|
|
|||
|
$pr_vars['priem_use'][1]['chance'] = 5;
|
|||
|
$pr_vars['priem_use'][1]['name'] = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|||
|
$pr_vars['priem_use'][1]['id'] = 141;
|
|||
|
$pr_vars['priem_use'][1]['on'] = $this->users[$this->uids[$uid1]];
|
|||
|
|
|||
|
$pr_vars['priem_use'][2]['chance'] = 15; //7
|
|||
|
$pr_vars['priem_use'][2]['name'] = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>';
|
|||
|
$pr_vars['priem_use'][2]['id'] = 11;
|
|||
|
$pr_vars['priem_use'][2]['on'] = $this->users[$this->uids[$uid1]];
|
|||
|
}
|
|||
|
|
|||
|
elseif($this->users[$this->uids[$uid1]]['bot_id'] == 420) {
|
|||
|
$pr_use = 1;
|
|||
|
#<23><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>#
|
|||
|
|
|||
|
$pr_vars['priem_use'][0]['chance'] = 10;
|
|||
|
$pr_vars['priem_use'][0]['name'] = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|||
|
$pr_vars['priem_use'][0]['id'] = 204;
|
|||
|
$pr_vars['priem_use'][0]['on'] = $this->users[$this->uids[$uid1]];
|
|||
|
|
|||
|
$pr_vars['priem_use'][1]['chance'] = 12;
|
|||
|
$pr_vars['priem_use'][1]['name'] = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|||
|
$pr_vars['priem_use'][1]['id'] = 217;
|
|||
|
$pr_vars['priem_use'][1]['on'] = $this->users[$this->uids[$uid1]];
|
|||
|
|
|||
|
$pr_vars['priem_use'][2]['chance'] = 8;
|
|||
|
$pr_vars['priem_use'][2]['name'] = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|||
|
$pr_vars['priem_use'][2]['id'] = 305;
|
|||
|
$pr_vars['priem_use'][2]['on'] = $this->users[$this->uids[$uid1]];
|
|||
|
#1#
|
|||
|
}
|
|||
|
###==========================<3D><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>=====================###
|
|||
|
|
|||
|
|
|||
|
#################################################################
|
|||
|
|
|||
|
|
|||
|
###==========================<3D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>==================###
|
|||
|
elseif($this->users[$this->uids[$uid1]]['bot_id'] == 295) {
|
|||
|
$pr_use = 1;
|
|||
|
#<23><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
/*if( $this->stats[$this->uids[$uid1]]['hpNow'] <= $this->stats[$this->uids[$uid2]]['hpAll']/2 )
|
|||
|
$pr_vars['priem_use'][0]['chance'] = 10;
|
|||
|
$pr_vars['priem_use'][0]['name'] = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>';
|
|||
|
$pr_vars['priem_use'][0]['id'] = 57;
|
|||
|
$pr_vars['priem_use'][0]['on'] = $this->users[$this->uids[$uid2]];*/
|
|||
|
|
|||
|
$pr_vars['priem_team_f'][0]['chance'] = 20;
|
|||
|
$pr_vars['priem_team_f'][0]['name'] = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|||
|
$pr_vars['priem_team_f'][0]['x'] = 1;
|
|||
|
$pr_vars['priem_team_f'][0]['type'] = 1;
|
|||
|
$pr_vars['priem_team_f'][0]['hp'] = 0;
|
|||
|
$pr_vars['priem_team_f'][0]['hp_dmg'] = rand(30,60);
|
|||
|
$pr_vars['priem_team_f'][0]['priem'] = 52;
|
|||
|
$pr_vars['priem_team_f'][0]['team'] = $this->users[$this->uids[$uid2]]['team'];
|
|||
|
$pr_vars['priem_team_f'][0]['on'] = $uid;
|
|||
|
$pr_vars['priem_team_f'][0]['nomf'] = 0;
|
|||
|
$pr_vars['priem_team_f'][0]['fiz'] = 0;
|
|||
|
$pr_vars['priem_team_f'][0]['krituet'] = false;
|
|||
|
}
|
|||
|
elseif($this->users[$this->uids[$uid1]]['bot_id'] == 300) {
|
|||
|
$pr_use = 1;
|
|||
|
#<23><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
$pr_vars['priem_team_f'][0]['chance'] = 20;
|
|||
|
$pr_vars['priem_team_f'][0]['name'] = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|||
|
$pr_vars['priem_team_f'][0]['x'] = 1;
|
|||
|
$pr_vars['priem_team_f'][0]['type'] = 2;
|
|||
|
$pr_vars['priem_team_f'][0]['hp'] = 0;
|
|||
|
$pr_vars['priem_team_f'][0]['hp_dmg'] = rand(30,60);
|
|||
|
$pr_vars['priem_team_f'][0]['priem'] = 93;
|
|||
|
$pr_vars['priem_team_f'][0]['team'] = $this->users[$this->uids[$uid2]]['team'];
|
|||
|
$pr_vars['priem_team_f'][0]['on'] = $uid;
|
|||
|
$pr_vars['priem_team_f'][0]['nomf'] = 0;
|
|||
|
$pr_vars['priem_team_f'][0]['fiz'] = 0;
|
|||
|
$pr_vars['priem_team_f'][0]['krituet'] = false;
|
|||
|
|
|||
|
$pr_vars['priem_team_f'][1]['chance'] = 20;
|
|||
|
$pr_vars['priem_team_f'][1]['name'] = '<27><><EFBFBD><EFBFBD><EFBFBD>';
|
|||
|
$pr_vars['priem_team_f'][1]['x'] = 1;
|
|||
|
$pr_vars['priem_team_f'][1]['type'] = 2;
|
|||
|
$pr_vars['priem_team_f'][1]['hp'] = 0;
|
|||
|
$pr_vars['priem_team_f'][1]['hp_dmg'] = rand(30,60);
|
|||
|
$pr_vars['priem_team_f'][1]['priem'] = 259;
|
|||
|
$pr_vars['priem_team_f'][1]['team'] = $this->users[$this->uids[$uid2]]['team'];
|
|||
|
$pr_vars['priem_team_f'][1]['on'] = $uid;
|
|||
|
$pr_vars['priem_team_f'][1]['nomf'] = 0;
|
|||
|
$pr_vars['priem_team_f'][1]['fiz'] = 0;
|
|||
|
$pr_vars['priem_team_f'][1]['krituet'] = false;
|
|||
|
}
|
|||
|
elseif($this->users[$this->uids[$uid1]]['bot_id'] == 296) {
|
|||
|
$pr_use = 1;
|
|||
|
#<23><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> 1 <20><><EFBFBD><EFBFBD><EFBFBD>#
|
|||
|
|
|||
|
$pr_vars['priem_use'][0]['chance'] = 10;
|
|||
|
$pr_vars['priem_use'][0]['name'] = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|||
|
$pr_vars['priem_use'][0]['id'] = 355;
|
|||
|
$pr_vars['priem_use'][0]['on'] = $this->users[$this->uids[$uid1]];
|
|||
|
}
|
|||
|
elseif($this->users[$this->uids[$uid1]]['bot_id'] == 308) {
|
|||
|
$pr_use = 1;
|
|||
|
#<23><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> 3 <20><><EFBFBD><EFBFBD><EFBFBD>#
|
|||
|
if( $this->stats[$this->uids[$uid1]]['hpNow'] <= $this->stats[$this->uids[$uid2]]['hpAll']/4 )
|
|||
|
$pr_vars['priem_use'][0]['chance'] = 25;
|
|||
|
$pr_vars['priem_use'][0]['name'] = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|||
|
$pr_vars['priem_use'][0]['id'] = 354;
|
|||
|
$pr_vars['priem_use'][0]['on'] = $this->users[$this->uids[$uid1]];
|
|||
|
}
|
|||
|
elseif($this->users[$this->uids[$uid1]]['bot_id'] == 297) {
|
|||
|
$pr_use = 1;
|
|||
|
#<23><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>#
|
|||
|
$pr_vars['priem_use'][0]['chance'] = 10;
|
|||
|
$pr_vars['priem_use'][0]['name'] = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>';
|
|||
|
$pr_vars['priem_use'][0]['id'] = 356;
|
|||
|
$pr_vars['priem_use'][0]['on'] = $this->users[$this->uids[$uid2]];
|
|||
|
}
|
|||
|
|
|||
|
elseif($this->users[$this->uids[$uid1]]['bot_id'] == 124) {
|
|||
|
###<23><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> [9]
|
|||
|
$pr_use = 1;
|
|||
|
|
|||
|
$pr_vars['priem_use'][0]['chance'] = 10;
|
|||
|
$pr_vars['priem_use'][0]['name'] = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|||
|
$pr_vars['priem_use'][0]['id'] = 49;
|
|||
|
$pr_vars['priem_use'][0]['on'] = $this->users[$this->uids[$uid1]];
|
|||
|
|
|||
|
$pr_vars['priem_use'][1]['chance'] = 10;
|
|||
|
$pr_vars['priem_use'][1]['name'] = '<27><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|||
|
$pr_vars['priem_use'][1]['id'] = 219;
|
|||
|
$pr_vars['priem_use'][1]['on'] = $this->users[$this->uids[$uid1]];
|
|||
|
|
|||
|
$pr_vars['priem_use'][2]['chance'] = 10;
|
|||
|
$pr_vars['priem_use'][2]['name'] = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|||
|
$pr_vars['priem_use'][2]['id'] = 45;
|
|||
|
$pr_vars['priem_use'][2]['on'] = $this->users[$this->uids[$uid1]];
|
|||
|
|
|||
|
$pr_vars['priem_use'][3]['chance'] = 10;
|
|||
|
$pr_vars['priem_use'][3]['name'] = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>';
|
|||
|
$pr_vars['priem_use'][3]['id'] = 15;
|
|||
|
$pr_vars['priem_use'][3]['on'] = $this->users[$this->uids[$uid1]];
|
|||
|
|
|||
|
$pr_vars['priem_use'][4]['chance'] = 15;
|
|||
|
$pr_vars['priem_use'][4]['name'] = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>';
|
|||
|
$pr_vars['priem_use'][4]['id'] = 47;
|
|||
|
$pr_vars['priem_use'][4]['on'] = $this->users[$this->uids[$uid1]];
|
|||
|
|
|||
|
$pr_vars['priem_use'][5]['chance'] = 5;
|
|||
|
$pr_vars['priem_use'][5]['name'] = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|||
|
$pr_vars['priem_use'][5]['id'] = 13;
|
|||
|
$pr_vars['priem_use'][5]['on'] = $this->users[$this->uids[$uid1]];
|
|||
|
|
|||
|
$pr_vars['priem_use'][6]['chance'] = 5;
|
|||
|
$pr_vars['priem_use'][6]['name'] = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|||
|
$pr_vars['priem_use'][6]['id'] = 14;
|
|||
|
$pr_vars['priem_use'][6]['on'] = $this->users[$this->uids[$uid1]];
|
|||
|
|
|||
|
$pr_vars['priem_regen']['hp'] = 45;
|
|||
|
$pr_vars['priem_regen']['chance'] = 5;
|
|||
|
$pr_vars['priem_regen']['name'] = '<27><><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
elseif($this->users[$this->uids[$uid1]]['bot_id'] == 125) {
|
|||
|
###<23><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> [9]
|
|||
|
$pr_use = 1;
|
|||
|
|
|||
|
$pr_vars['priem_use'][0]['chance'] = 5;
|
|||
|
$pr_vars['priem_use'][0]['name'] = '<27><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|||
|
$pr_vars['priem_use'][0]['id'] = 216;
|
|||
|
$pr_vars['priem_use'][0]['on'] = $this->users[$this->uids[$uid1]];
|
|||
|
|
|||
|
$pr_vars['priem_use'][1]['chance'] = 20;
|
|||
|
$pr_vars['priem_use'][1]['name'] = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>';
|
|||
|
$pr_vars['priem_use'][1]['id'] = 11;
|
|||
|
$pr_vars['priem_use'][1]['on'] = $this->users[$this->uids[$uid1]];
|
|||
|
|
|||
|
$pr_vars['priem_use'][2]['chance'] = 5;
|
|||
|
$pr_vars['priem_use'][2]['name'] = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>';
|
|||
|
$pr_vars['priem_use'][2]['id'] = 213;
|
|||
|
$pr_vars['priem_use'][2]['on'] = $this->users[$this->uids[$uid1]];
|
|||
|
|
|||
|
$pr_vars['priem_use'][3]['chance'] = 10;
|
|||
|
$pr_vars['priem_use'][3]['name'] = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|||
|
$pr_vars['priem_use'][3]['id'] = 13;
|
|||
|
$pr_vars['priem_use'][3]['on'] = $this->users[$this->uids[$uid1]];
|
|||
|
|
|||
|
$pr_vars['priem_use'][4]['chance'] = 10;
|
|||
|
$pr_vars['priem_use'][4]['name'] = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|||
|
$pr_vars['priem_use'][4]['id'] = 14;
|
|||
|
$pr_vars['priem_use'][4]['on'] = $this->users[$this->uids[$uid1]];
|
|||
|
|
|||
|
$pr_vars['priem_regen']['hp'] = 45;
|
|||
|
$pr_vars['priem_regen']['chance'] = 5;
|
|||
|
$pr_vars['priem_regen']['name'] = '<27><><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|||
|
}
|
|||
|
|
|||
|
elseif($this->users[$this->uids[$uid1]]['bot_id'] == 356) {
|
|||
|
###<23><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> [9] - <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 1 <20><><EFBFBD><EFBFBD>
|
|||
|
$pr_use = 1;
|
|||
|
$pr_vars['priem_regen']['hp'] = 45;
|
|||
|
$pr_vars['priem_regen']['chance'] = 5;
|
|||
|
$pr_vars['priem_regen']['name'] = '<27><><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|||
|
|
|||
|
$pr_vars['priem_team_f'][0]['chance'] = 20;
|
|||
|
$pr_vars['priem_team_f'][0]['name'] = '<27><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|||
|
$pr_vars['priem_team_f'][0]['x'] = 1;
|
|||
|
$pr_vars['priem_team_f'][0]['type'] = 7;
|
|||
|
$pr_vars['priem_team_f'][0]['hp'] = 0;
|
|||
|
$pr_vars['priem_team_f'][0]['hp_dmg'] = rand(75,200);
|
|||
|
$pr_vars['priem_team_f'][0]['priem'] = 216;
|
|||
|
$pr_vars['priem_team_f'][0]['team'] = $this->users[$this->uids[$uid2]]['team'];
|
|||
|
$pr_vars['priem_team_f'][0]['on'] = $uid;
|
|||
|
$pr_vars['priem_team_f'][0]['nomf'] = 1;
|
|||
|
$pr_vars['priem_team_f'][0]['fiz'] = 1;
|
|||
|
$pr_vars['priem_team_f'][0]['krituet'] = true;
|
|||
|
|
|||
|
$pr_vars['priem_use'][1]['chance'] = 20;
|
|||
|
$pr_vars['priem_use'][1]['name'] = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|||
|
$pr_vars['priem_use'][1]['id'] = 14;
|
|||
|
$pr_vars['priem_use'][1]['on'] = $this->users[$this->uids[$uid1]];
|
|||
|
|
|||
|
$pr_vars['priem_use'][2]['chance'] = 5;
|
|||
|
$pr_vars['priem_use'][2]['name'] = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>';
|
|||
|
$pr_vars['priem_use'][2]['id'] = 213;
|
|||
|
$pr_vars['priem_use'][2]['on'] = $this->users[$this->uids[$uid1]];
|
|||
|
|
|||
|
$pr_vars['priem_use'][3]['chance'] = 10;
|
|||
|
$pr_vars['priem_use'][3]['name'] = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>';
|
|||
|
$pr_vars['priem_use'][3]['id'] = 11;
|
|||
|
$pr_vars['priem_use'][3]['on'] = $this->users[$this->uids[$uid1]];
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
elseif($this->users[$this->uids[$uid1]]['bot_id'] == 355) {
|
|||
|
### <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> [12] - <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 3 <20><><EFBFBD><EFBFBD>
|
|||
|
|
|||
|
$pr_use = 1;
|
|||
|
// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> - <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
$pr_vars['priem_use'][0]['chance'] = 10;
|
|||
|
$pr_vars['priem_use'][0]['name'] = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD>';
|
|||
|
$pr_vars['priem_use'][0]['id'] = 45;
|
|||
|
$pr_vars['priem_use'][0]['on'] = $this->users[$this->uids[$uid1]];
|
|||
|
|
|||
|
// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> - <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>.
|
|||
|
$pr_vars['priem_use'][1]['chance'] = 10;
|
|||
|
$pr_vars['priem_use'][1]['name'] = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|||
|
$pr_vars['priem_use'][1]['id'] = 216;
|
|||
|
$pr_vars['priem_use'][1]['on'] = $this->users[$this->uids[$uid1]];
|
|||
|
|
|||
|
// <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> - <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>.
|
|||
|
$pr_vars['priem_team_f'][0]['chance'] = 10;
|
|||
|
$pr_vars['priem_team_f'][0]['name'] = '<27><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|||
|
$pr_vars['priem_team_f'][0]['x'] = 1;
|
|||
|
$pr_vars['priem_team_f'][0]['type'] = 3;
|
|||
|
$pr_vars['priem_team_f'][0]['hp'] = 0;
|
|||
|
$pr_vars['priem_team_f'][0]['hp_dmg'] = rand(35,40);
|
|||
|
$pr_vars['priem_team_f'][0]['priem'] = 164;
|
|||
|
$pr_vars['priem_team_f'][0]['team'] = $this->users[$this->uids[$uid2]]['team'];
|
|||
|
$pr_vars['priem_team_f'][0]['on'] = $uid;
|
|||
|
$pr_vars['priem_team_f'][0]['nomf'] = 0;
|
|||
|
$pr_vars['priem_team_f'][0]['fiz'] = 1;
|
|||
|
$pr_vars['priem_team_f'][0]['krituet'] = true;
|
|||
|
|
|||
|
$pr_vars['priem_use'][2]['chance'] = 5;
|
|||
|
$pr_vars['priem_use'][2]['name'] = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|||
|
$pr_vars['priem_use'][2]['id'] = 13;
|
|||
|
$pr_vars['priem_use'][2]['on'] = $this->users[$this->uids[$uid1]];
|
|||
|
|
|||
|
$pr_vars['priem_use'][3]['chance'] = 5;
|
|||
|
$pr_vars['priem_use'][3]['name'] = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|||
|
$pr_vars['priem_use'][3]['id'] = 14;
|
|||
|
$pr_vars['priem_use'][3]['on'] = $this->users[$this->uids[$uid1]];
|
|||
|
}
|
|||
|
|
|||
|
elseif($this->users[$this->uids[$uid1]]['bot_id'] == 158) {
|
|||
|
### <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> [9] - <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 3 <20><><EFBFBD><EFBFBD>
|
|||
|
|
|||
|
// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
$pr_vars['priem_use'][0]['chance'] = 16;
|
|||
|
$pr_vars['priem_use'][0]['name'] = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>';
|
|||
|
$pr_vars['priem_use'][0]['id'] = 240;
|
|||
|
$pr_vars['priem_use'][0]['on'] = $this->users[$this->uids[$uid1]];
|
|||
|
|
|||
|
// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>.
|
|||
|
$pr_vars['priem_use'][1]['chance'] = 20;
|
|||
|
$pr_vars['priem_use'][1]['name'] = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>';
|
|||
|
$pr_vars['priem_use'][1]['id'] = 47;
|
|||
|
$pr_vars['priem_use'][1]['on'] = $this->users[$this->uids[$uid1]];
|
|||
|
|
|||
|
// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> - <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> 3000HP.
|
|||
|
$pr_vars['priem_regen']['hp'] = 1500;
|
|||
|
$pr_vars['priem_regen']['chance'] = 10;
|
|||
|
$pr_vars['priem_regen']['name'] = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|||
|
|
|||
|
$pr_use = 1;
|
|||
|
}
|
|||
|
elseif($this->users[$this->uids[$uid1]]['bot_id'] == 350) {
|
|||
|
|
|||
|
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 8
|
|||
|
$pr_use = 1;
|
|||
|
|
|||
|
$pr_vars['priem_regen']['hp'] = 45;
|
|||
|
$pr_vars['priem_regen']['chance'] = 5;
|
|||
|
$pr_vars['priem_regen']['name'] = '<27><><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|||
|
|
|||
|
$pr_vars['priem_team_f'][0]['chance'] = 5;
|
|||
|
$pr_vars['priem_team_f'][0]['name'] = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|||
|
$pr_vars['priem_team_f'][0]['x'] = 1;
|
|||
|
$pr_vars['priem_team_f'][0]['type'] = 7;
|
|||
|
$pr_vars['priem_team_f'][0]['hp'] = 0;
|
|||
|
$pr_vars['priem_team_f'][0]['hp_dmg'] = rand(15,100);
|
|||
|
$pr_vars['priem_team_f'][0]['priem'] = 216;
|
|||
|
$pr_vars['priem_team_f'][0]['team'] = $this->users[$this->uids[$uid2]]['team'];
|
|||
|
$pr_vars['priem_team_f'][0]['on'] = $uid;
|
|||
|
$pr_vars['priem_team_f'][0]['nomf'] = 1;
|
|||
|
$pr_vars['priem_team_f'][0]['fiz'] = 1;
|
|||
|
$pr_vars['priem_team_f'][0]['krituet'] = true;
|
|||
|
}
|
|||
|
elseif($this->users[$this->uids[$uid1]]['bot_id'] == 351) {
|
|||
|
### <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> [9] - <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 1-3 <20><><EFBFBD><EFBFBD>
|
|||
|
$pr_use = 1;
|
|||
|
|
|||
|
$pr_vars['priem_regen']['hp'] = 45;
|
|||
|
$pr_vars['priem_regen']['chance'] = 5;
|
|||
|
$pr_vars['priem_regen']['name'] = '<27><><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|||
|
|
|||
|
$pr_vars['priem_team_f'][0]['chance'] = 10;
|
|||
|
$pr_vars['priem_team_f'][0]['name'] = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|||
|
$pr_vars['priem_team_f'][0]['x'] = 1;
|
|||
|
$pr_vars['priem_team_f'][0]['type'] = 7;
|
|||
|
$pr_vars['priem_team_f'][0]['hp'] = 0;
|
|||
|
$pr_vars['priem_team_f'][0]['hp_dmg'] = rand(15,100);
|
|||
|
$pr_vars['priem_team_f'][0]['priem'] = 216;
|
|||
|
$pr_vars['priem_team_f'][0]['team'] = $this->users[$this->uids[$uid2]]['team'];
|
|||
|
$pr_vars['priem_team_f'][0]['on'] = $uid;
|
|||
|
$pr_vars['priem_team_f'][0]['nomf'] = 1;
|
|||
|
$pr_vars['priem_team_f'][0]['fiz'] = 1;
|
|||
|
$pr_vars['priem_team_f'][0]['krituet'] = true;
|
|||
|
}
|
|||
|
elseif($this->users[$this->uids[$uid1]]['bot_id'] == 553) {
|
|||
|
### <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> - <20><><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
$pr_use = 1;
|
|||
|
|
|||
|
$pr_vars['priem_regen']['hp'] = 1500;
|
|||
|
$pr_vars['priem_regen']['chance'] = 5;
|
|||
|
$pr_vars['priem_regen']['name'] = '<27><><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|||
|
|
|||
|
$pr_vars['priem_team_f'][0]['chance'] = 10;
|
|||
|
$pr_vars['priem_team_f'][0]['name'] = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>';
|
|||
|
$pr_vars['priem_team_f'][0]['x'] = 1;
|
|||
|
$pr_vars['priem_team_f'][0]['type'] = 7;
|
|||
|
$pr_vars['priem_team_f'][0]['hp'] = 0;
|
|||
|
$pr_vars['priem_team_f'][0]['hp_dmg'] = rand(400,800);
|
|||
|
$pr_vars['priem_team_f'][0]['priem'] = 216;
|
|||
|
$pr_vars['priem_team_f'][0]['team'] = $this->users[$this->uids[$uid2]]['team'];
|
|||
|
$pr_vars['priem_team_f'][0]['on'] = $uid;
|
|||
|
$pr_vars['priem_team_f'][0]['nomf'] = 1;
|
|||
|
$pr_vars['priem_team_f'][0]['fiz'] = 1;
|
|||
|
$pr_vars['priem_team_f'][0]['krituet'] = true;
|
|||
|
}
|
|||
|
elseif($this->users[$this->uids[$uid1]]['bot_id'] == 554) {
|
|||
|
### <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
$pr_use = 1;
|
|||
|
|
|||
|
$pr_vars['priem_use'][0]['chance'] = 10;
|
|||
|
$pr_vars['priem_use'][0]['name'] = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|||
|
$pr_vars['priem_use'][0]['id'] = 347;
|
|||
|
$pr_vars['priem_use'][0]['on'] = $this->users[$this->uids[$uid1]];
|
|||
|
|
|||
|
$pr_vars['priem_use'][1]['chance'] = 15;
|
|||
|
$pr_vars['priem_use'][1]['name'] = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>';
|
|||
|
$pr_vars['priem_use'][1]['id'] = 138;
|
|||
|
$pr_vars['priem_use'][1]['on'] = $this->users[$this->uids[$uid1]];
|
|||
|
|
|||
|
$pr_vars['priem_use'][2]['chance'] = 8;
|
|||
|
$pr_vars['priem_use'][2]['name'] = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|||
|
$pr_vars['priem_use'][2]['id'] = 348;
|
|||
|
$pr_vars['priem_use'][2]['on'] = $this->users[$this->uids[$uid2]];
|
|||
|
|
|||
|
$pr_vars['priem_use'][3]['chance'] = 12;
|
|||
|
$pr_vars['priem_use'][3]['name'] = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|||
|
$pr_vars['priem_use'][3]['id'] = 349;
|
|||
|
$pr_vars['priem_use'][3]['on'] = $this->users[$this->uids[$uid1]];
|
|||
|
|
|||
|
}
|
|||
|
elseif($this->users[$this->uids[$uid1]]['bot_id'] == 352) {
|
|||
|
### <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> [9] - <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 3 <20><><EFBFBD><EFBFBD>
|
|||
|
// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>.
|
|||
|
$pr_vars['priem_use'][0]['chance'] = 25;
|
|||
|
$pr_vars['priem_use'][0]['name'] = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>';
|
|||
|
$pr_vars['priem_use'][0]['id'] = 11;
|
|||
|
$pr_vars['priem_use'][0]['on'] = $this->users[$this->uids[$uid1]];
|
|||
|
|
|||
|
// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.
|
|||
|
$pr_vars['priem_use'][1]['chance'] = 10;
|
|||
|
$pr_vars['priem_use'][1]['name'] = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|||
|
$pr_vars['priem_use'][1]['id'] = 45;
|
|||
|
$pr_vars['priem_use'][1]['on'] = $this->users[$this->uids[$uid1]];
|
|||
|
|
|||
|
// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.
|
|||
|
$pr_vars['priem_use'][2]['chance'] = 15;
|
|||
|
$pr_vars['priem_use'][2]['name'] = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|||
|
$pr_vars['priem_use'][2]['id'] = 13;
|
|||
|
$pr_vars['priem_use'][2]['on'] = $this->users[$this->uids[$uid1]];
|
|||
|
|
|||
|
// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.
|
|||
|
$pr_vars['priem_use'][3]['chance'] = 15;
|
|||
|
$pr_vars['priem_use'][3]['name'] = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|||
|
$pr_vars['priem_use'][3]['id'] = 14;
|
|||
|
$pr_vars['priem_use'][3]['on'] = $this->users[$this->uids[$uid1]];
|
|||
|
|
|||
|
$pr_use = 1;
|
|||
|
}
|
|||
|
elseif($this->users[$this->uids[$uid1]]['bot_id'] == 126) {
|
|||
|
###<23><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> [8]
|
|||
|
$pr_use = 1;
|
|||
|
|
|||
|
$pr_vars['priem_use'][0]['chance'] = 15;
|
|||
|
$pr_vars['priem_use'][0]['name'] = '<27><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|||
|
$pr_vars['priem_use'][0]['id'] = 216;
|
|||
|
$pr_vars['priem_use'][0]['on'] = $this->users[$this->uids[$uid1]];
|
|||
|
|
|||
|
$pr_vars['priem_use'][1]['chance'] = 15;
|
|||
|
$pr_vars['priem_use'][1]['name'] = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>';
|
|||
|
$pr_vars['priem_use'][1]['id'] = 47;
|
|||
|
$pr_vars['priem_use'][1]['on'] = $this->users[$this->uids[$uid1]];
|
|||
|
|
|||
|
$pr_vars['priem_use'][2]['chance'] = 15;
|
|||
|
$pr_vars['priem_use'][2]['name'] = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|||
|
$pr_vars['priem_use'][2]['id'] = 7;
|
|||
|
$pr_vars['priem_use'][2]['on'] = $this->users[$this->uids[$uid1]];
|
|||
|
|
|||
|
$pr_vars['priem_use'][3]['chance'] = 15;
|
|||
|
$pr_vars['priem_use'][3]['name'] = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|||
|
$pr_vars['priem_use'][3]['id'] = 13;
|
|||
|
$pr_vars['priem_use'][3]['on'] = $this->users[$this->uids[$uid1]];
|
|||
|
|
|||
|
$pr_vars['priem_use'][4]['chance'] = 15;
|
|||
|
$pr_vars['priem_use'][4]['name'] = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|||
|
$pr_vars['priem_use'][4]['id'] = 14;
|
|||
|
$pr_vars['priem_use'][4]['on'] = $this->users[$this->uids[$uid1]];
|
|||
|
}
|
|||
|
|
|||
|
elseif($this->users[$this->uids[$uid1]]['bot_id'] == 134) {
|
|||
|
###<23><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> [10]
|
|||
|
###To Do : <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>
|
|||
|
$pr_use = 1;
|
|||
|
|
|||
|
$pr_vars['priem_use'][0]['chance'] = 10;
|
|||
|
$pr_vars['priem_use'][0]['name'] = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|||
|
$pr_vars['priem_use'][0]['id'] = 141;
|
|||
|
$pr_vars['priem_use'][0]['on'] = $this->users[$this->uids[$uid1]];
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
elseif($this->users[$this->uids[$uid1]]['bot_id'] == 139) {
|
|||
|
###<23><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> [11]
|
|||
|
###To Do : <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
$pr_use = 1;
|
|||
|
|
|||
|
$pr_vars['priem_use'][0]['chance'] = 8;
|
|||
|
$pr_vars['priem_use'][0]['name'] = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|||
|
$pr_vars['priem_use'][0]['id'] = 204;
|
|||
|
$pr_vars['priem_use'][0]['on'] = $this->users[$this->uids[$uid1]];
|
|||
|
|
|||
|
$pr_vars['priem_use'][1]['chance'] = 10;
|
|||
|
$pr_vars['priem_use'][1]['name'] = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|||
|
$pr_vars['priem_use'][1]['id'] = 340;
|
|||
|
$pr_vars['priem_use'][1]['on'] = $this->users[$this->uids[$uid2]];
|
|||
|
|
|||
|
$pr_vars['priem_use'][2]['chance'] = 18;
|
|||
|
$pr_vars['priem_use'][2]['name'] = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>';
|
|||
|
$pr_vars['priem_use'][2]['id'] = 219;
|
|||
|
$pr_vars['priem_use'][2]['on'] = $this->users[$this->uids[$uid1]];
|
|||
|
}
|
|||
|
|
|||
|
elseif($this->users[$this->uids[$uid1]]['bot_id'] == 141) {
|
|||
|
###<23><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> [10]
|
|||
|
###To Do : <20><><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>
|
|||
|
$pr_use = 1;
|
|||
|
$pr_vars['priem_use'][0]['chance'] = 18;
|
|||
|
$pr_vars['priem_use'][0]['name'] = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>';
|
|||
|
$pr_vars['priem_use'][0]['id'] = 219;
|
|||
|
$pr_vars['priem_use'][0]['on'] = $this->users[$this->uids[$uid1]];
|
|||
|
|
|||
|
|
|||
|
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>
|
|||
|
$pr_vars['priem_team_f'][0]['chance'] = 25;
|
|||
|
$pr_vars['priem_team_f'][0]['name'] = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>';
|
|||
|
$pr_vars['priem_team_f'][0]['x'] = 1;
|
|||
|
$pr_vars['priem_team_f'][0]['type'] = 3;
|
|||
|
$pr_vars['priem_team_f'][0]['hp'] = 0;
|
|||
|
$pr_vars['priem_team_f'][0]['hp_dmg'] = 50;
|
|||
|
$pr_vars['priem_team_f'][0]['priem'] = 164;
|
|||
|
$pr_vars['priem_team_f'][0]['team'] = $this->users[$this->uids[$uid2]]['team'];
|
|||
|
$pr_vars['priem_team_f'][0]['on'] = $uid;
|
|||
|
$pr_vars['priem_team_f'][0]['nomf'] = 1;
|
|||
|
$pr_vars['priem_team_f'][0]['fiz'] = 1;
|
|||
|
$pr_vars['priem_team_f'][0]['krituet'] = false;
|
|||
|
//
|
|||
|
$pr_vars['priem_use'][1]['chance'] = 10;
|
|||
|
$pr_vars['priem_use'][1]['name'] = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>';
|
|||
|
$pr_vars['priem_use'][1]['id'] = 294;
|
|||
|
$pr_vars['priem_use'][1]['on'] = $this->users[$this->uids[$uid2]];
|
|||
|
$pr_vars['priem_use'][1]['no_chat'] = true;
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
elseif($this->users[$this->uids[$uid1]]['bot_id'] == 142) {
|
|||
|
###<23><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> [11]
|
|||
|
###To Do : <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>
|
|||
|
$pr_use = 1;
|
|||
|
|
|||
|
$pr_vars['priem_use'][0]['chance'] = 15;
|
|||
|
$pr_vars['priem_use'][0]['name'] = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>';
|
|||
|
$pr_vars['priem_use'][0]['id'] = 356;
|
|||
|
$pr_vars['priem_use'][0]['on'] = $this->users[$this->uids[$uid2]];
|
|||
|
}
|
|||
|
|
|||
|
elseif($this->users[$this->uids[$uid1]]['bot_id'] == 143) {
|
|||
|
###<23><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> [10]
|
|||
|
###To Do : <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
$pr_use = 1;
|
|||
|
|
|||
|
$pr_vars['priem_use'][0]['chance'] = 15;
|
|||
|
$pr_vars['priem_use'][0]['name'] = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>';
|
|||
|
$pr_vars['priem_use'][0]['id'] = 138;
|
|||
|
$pr_vars['priem_use'][0]['on'] = $this->users[$this->uids[$uid1]];
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
elseif($this->users[$this->uids[$uid1]]['bot_id'] == 376) {
|
|||
|
###<23><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> [9]
|
|||
|
$pr_use = 1;
|
|||
|
|
|||
|
$pr_vars['priem_regen']['hp'] = 18;
|
|||
|
$pr_vars['priem_regen']['chance'] = 7;
|
|||
|
$pr_vars['priem_regen']['name'] = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD>';
|
|||
|
|
|||
|
$pr_vars['priem_use'][0]['chance'] = 3;
|
|||
|
$pr_vars['priem_use'][0]['name'] = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD>';
|
|||
|
$pr_vars['priem_use'][0]['id'] = 45;
|
|||
|
$pr_vars['priem_use'][0]['on'] = $this->users[$this->uids[$uid1]];
|
|||
|
|
|||
|
$pr_vars['priem_use'][1]['chance'] = 3;
|
|||
|
$pr_vars['priem_use'][1]['name'] = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|||
|
$pr_vars['priem_use'][1]['id'] = 216;
|
|||
|
$pr_vars['priem_use'][1]['on'] = $this->users[$this->uids[$uid1]];
|
|||
|
|
|||
|
$pr_vars['priem_use'][2]['chance'] = 3;
|
|||
|
$pr_vars['priem_use'][2]['name'] = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|||
|
$pr_vars['priem_use'][2]['id'] = 7;
|
|||
|
$pr_vars['priem_use'][2]['on'] = $this->users[$this->uids[$uid1]];
|
|||
|
|
|||
|
$pr_vars['priem_use'][3]['chance'] = 3;
|
|||
|
$pr_vars['priem_use'][3]['name'] = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>';
|
|||
|
$pr_vars['priem_use'][3]['id'] = 11;
|
|||
|
$pr_vars['priem_use'][3]['on'] = $this->users[$this->uids[$uid1]];
|
|||
|
|
|||
|
$pr_vars['priem_use'][4]['chance'] = 3;
|
|||
|
$pr_vars['priem_use'][4]['name'] = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|||
|
$pr_vars['priem_use'][4]['id'] = 13;
|
|||
|
$pr_vars['priem_use'][4]['on'] = $this->users[$this->uids[$uid1]];
|
|||
|
|
|||
|
$pr_vars['priem_use'][5]['chance'] = 3;
|
|||
|
$pr_vars['priem_use'][5]['name'] = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|||
|
$pr_vars['priem_use'][5]['id'] = 14;
|
|||
|
$pr_vars['priem_use'][5]['on'] = $this->users[$this->uids[$uid1]];
|
|||
|
|
|||
|
}
|
|||
|
elseif($this->users[$this->uids[$uid1]]['bot_id'] == 254) {
|
|||
|
###<23><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
$pr_use = 1;
|
|||
|
|
|||
|
$pr_vars['priem_regen']['hp'] = 75;
|
|||
|
$pr_vars['priem_regen']['chance'] = 5;
|
|||
|
$pr_vars['priem_regen']['name'] = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|||
|
|
|||
|
$pr_vars['priem_use'][0]['chance'] = 10;
|
|||
|
$pr_vars['priem_use'][0]['name'] = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>';
|
|||
|
$pr_vars['priem_use'][0]['id'] = 11;
|
|||
|
$pr_vars['priem_use'][0]['on'] = $this->users[$this->uids[$uid1]];
|
|||
|
|
|||
|
|
|||
|
$pr_vars['priem_use'][1]['chance'] = 25;
|
|||
|
$pr_vars['priem_use'][1]['name'] = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|||
|
$pr_vars['priem_use'][1]['id'] = 14;
|
|||
|
$pr_vars['priem_use'][1]['on'] = $this->users[$this->uids[$uid1]];
|
|||
|
|
|||
|
$pr_vars['priem_use'][2]['chance'] = 30;
|
|||
|
$pr_vars['priem_use'][2]['name'] = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>';
|
|||
|
$pr_vars['priem_use'][2]['id'] = 219;
|
|||
|
$pr_vars['priem_use'][2]['on'] = $this->users[$this->uids[$uid1]];
|
|||
|
|
|||
|
}
|
|||
|
if (isset($pr_vars['priem_use_e']['name']) && isset($pr_vars['priem_use_e']['uron']))
|
|||
|
{
|
|||
|
$pr_vars['mas']['text'] = '{tm1} {u1} <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> "<b>'.$pr_vars['priem_use_e']['name'].'</b>" <20><> {u2}';
|
|||
|
$pr_vars['mas']['vLog'] = 'time1='.time().'||s1='.$this->users[$this->uids[$uid1]]['sex'].'||t1='.$this->users[$this->uids[$uid1]]['team'].'||login1='.$this->users[$this->uids[$uid1]]['login'].'||s2='.$this->users[$this->uids[$uid2]]['sex'].'||t2='.$this->users[$this->uids[$uid2]]['team'].'||login2='.$this->users[$this->uids[$uid2]]['login'].'';
|
|||
|
$pr_vars['mas'] = array('time'=>time(),'battle'=>$this->info['id'],'id_hod'=>($this->hodID),'text'=>$pr_vars['mas']['text'],'vars'=>$pr_vars['mas']['vLog'],'zona1'=>'','zonb1'=>'','zona2'=>'','zonb2'=>'','type'=>'1');
|
|||
|
$this->add_log($pr_vars['mas']);
|
|||
|
$priem->addPriem($this->users[$this->uids[$uid2]]['id'],23,'atgm='.$pr_vars['priem_use_e']['uron'].'',0,77,5,$this->users[$this->uids[$uid1]]['id'],1,$pr_vars['priem_use_e']['name'],0,0,1,0,0,0,$pr_vars['priem_use_e']['name']);
|
|||
|
}
|
|||
|
|
|||
|
|
|||
|
if(!function_exists('rand_user_team')) {
|
|||
|
function rand_user_team($tm, $tp) {
|
|||
|
global $btl;
|
|||
|
$r = array();
|
|||
|
$i = 0;
|
|||
|
while($i < count($btl->users)) {
|
|||
|
if($btl->users[$i]['team'] == $tm && $tp == 1) {
|
|||
|
$r[] = $btl->users[$i]['id'];
|
|||
|
} elseif($btl->users[$i]['team'] != $tm && $tp == 2) {
|
|||
|
$r[] = $btl->users[$i]['id'];
|
|||
|
}
|
|||
|
$i++;
|
|||
|
}
|
|||
|
if(count($r) == 0) {
|
|||
|
$r = 0;
|
|||
|
} else {
|
|||
|
$r = rand(0,count($r)-1);
|
|||
|
}
|
|||
|
return $r;
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
if($pr_use > 0)
|
|||
|
{
|
|||
|
//priem_use , priem_team_f , priem_regen <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 1 <20><><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
//if( count($pr_vars['priem_use']) > 0 && count($pr_vars['priem_team_f']) > 0 ) {
|
|||
|
if( rand(0,1) == 1 || !isset($pr_vars['priem_team_f']) ) {
|
|||
|
$pr_vars['priem_use'] = $pr_vars['priem_use'][rand(0,count($pr_vars['priem_use'])-1)];
|
|||
|
$pr_vars['priem_use'] = array( 0 => $pr_vars['priem_use'] );
|
|||
|
unset($pr_vars['priem_team_f']);
|
|||
|
}else{
|
|||
|
$pr_vars['priem_team_f'] = $pr_vars['priem_team_f'][rand(0,count($pr_vars['priem_team_f'])-1)];
|
|||
|
$pr_vars['priem_team_f'] = array( 0 => $pr_vars['priem_team_f'] );
|
|||
|
unset($pr_vars['priem_use']);
|
|||
|
}
|
|||
|
//}
|
|||
|
|
|||
|
$i = 0;
|
|||
|
while($i < count($pr_vars['priem_team_f'])) {
|
|||
|
if($pr_vars['priem_team_f'][$i]['chance']*10000 >= rand(0, 1000000)) {
|
|||
|
$xx = 0; $ix = 0;
|
|||
|
$pl = mysql_fetch_array(mysql_query('SELECT * FROM `priems` WHERE `activ` != "-1" AND `id` = "'.$pr_vars['priem_team_f'][$i]['priem'].'" LIMIT 1'));
|
|||
|
while($ix < count($this->users)) {
|
|||
|
if($this->stats[$ix]['hpNow'] > 0 && $this->users[$ix]['team'] == $pr_vars['priem_team_f'][$i]['team'] && $xx < $pr_vars['priem_team_f'][$i]['x']) {
|
|||
|
if(isset($pl['id'])) {
|
|||
|
$pr_vars['priem_team_f'][$i]['hp_dmg'] = $this->testYronPriem( $uid1, $uid2, 12, $pr_vars['priem_team_f'][$i]['hp_dmg'], -1, true );
|
|||
|
$as = $priem->magicAtack($this->users[$ix], $pr_vars['priem_team_f'][$i]['hp_dmg'], $pr_vars['priem_team_f'][$i]['type'], $pl, array('user_use' => $this->users[$this->uids[$uid1]]['id']), 0, 0, $pr_vars['priem_team_f'][0]['fiz'], $pr_vars['priem_team_f'][$i]['nomf'], $pr_vars['priem_team_f'][0]['krituet'], $this->users[$this->uids[$uid1]]['id'],$pr_vars['priem_team_f'][$i]['name']);
|
|||
|
###<23><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>. (<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)
|
|||
|
if($as && isset($pr_vars['priem_team_f'][$i]['hpregen'])) {
|
|||
|
if(isset($pr_vars['priem_team_f'][$i]['hp']) || isset($pr_vars['priem_team_f'][$i]['hp_dmg'])) {
|
|||
|
if(isset($pr_vars['priem_team_f'][$i]['hp_dmg'])) {
|
|||
|
$n_hp = $this->stats[$this->uids[$uid1]]['hpNow']+$as[0];
|
|||
|
$hp_vis = '+'.$as[0];
|
|||
|
} else {
|
|||
|
$n_hp = $this->stats[$this->uids[$uid1]]['hpNow']+$pr_vars['priem_team_f'][$i]['hp'];
|
|||
|
$hp_vis = '+'.$pr_vars['priem_team_f'][$i]['hp'];
|
|||
|
}
|
|||
|
if($n_hp > $this->stats[$this->uids[$uid1]]['hpAll']) {
|
|||
|
$n_hp = $this->stats[$this->uids[$uid1]]['hpAll'];
|
|||
|
}
|
|||
|
$uid_b = $this->users[$this->uids[$uid1]]['id'];
|
|||
|
$this->users[$this->uids[$uid1]]['hpNow'] = $n_hp;
|
|||
|
$this->stats[$this->uids[$uid1]]['hpNow'] = $n_hp;
|
|||
|
mysql_query('UPDATE `stats` SET `hpNow` = '.$n_hp.' WHERE `id` = "'.$uid_b.'" LIMIT 1');
|
|||
|
$pr_vars['mas']['text'] = '{tm1} {u1} <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> "<b>'.$pr_vars['priem_team_f'][$i]['name'].'</b>" <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>. <b><font color=#006699>'.$hp_vis.'</font></b> ['.$this->users[$this->uids[$uid1]]['hpNow'].'/'.$this->stats[$this->uids[$uid1]]['hpAll'].']';
|
|||
|
$pr_vars['mas']['vLog'] = 'time1='.time().'||s1='.$this->users[$this->uids[$uid1]]['sex'].'||t1='.$this->users[$this->uids[$uid1]]['team'].'||login1='.$this->users[$this->uids[$uid1]]['login'].'||s2='.$this->users[$this->uids[$uid2]]['sex'].'||t2='.$this->users[$this->uids[$uid2]]['team'].'||login2='.$this->users[$this->uids[$uid2]]['login'].'';
|
|||
|
$pr_vars['mas'] = array('time'=>time(),'battle'=>$this->info['id'],'id_hod'=>($this->hodID+1),'text'=>$pr_vars['mas']['text'],'vars'=>$pr_vars['mas']['vLog'],'zona1'=>'','zonb1'=>'','zona2'=>'','zonb2'=>'','type'=>'1');
|
|||
|
$this->add_log($pr_vars['mas']);
|
|||
|
}
|
|||
|
}
|
|||
|
###
|
|||
|
}
|
|||
|
$xx++;
|
|||
|
}
|
|||
|
$ix++;
|
|||
|
}
|
|||
|
}
|
|||
|
$i++;
|
|||
|
}
|
|||
|
|
|||
|
if(isset($pr_vars['priem_regen']) && $pr_vars['priem_regen']['chance']*10000 >= rand(0, 1000000)) {
|
|||
|
|
|||
|
if($this->stats[$this->uids[$uid1]]['hpAll']<($pr_vars['hp_u1']+$pr_vars['priem_regen']['hp']))
|
|||
|
{
|
|||
|
$pr_vars['priem_regen']['hp']=$this->stats[$this->uids[$uid1]]['hpAll']-$pr_vars['hp_u1'];
|
|||
|
}
|
|||
|
$pr_vars['hp_u1'] += $pr_vars['priem_regen']['hp'];
|
|||
|
if($pr_vars['priem_regen']['hp'] > 0) {
|
|||
|
$pr_vars['priem_regen']['hp'] = '+'.$pr_vars['priem_regen']['hp'];
|
|||
|
}
|
|||
|
else
|
|||
|
{$pr_vars['priem_regen']['hp'] = 0;}
|
|||
|
$this->users[$this->uids[$uid1]]['hpNow'] = $pr_vars['hp_u1'];
|
|||
|
$this->stats[$this->uids[$uid1]]['hpNow'] = $pr_vars['hp_u1'];
|
|||
|
mysql_query('UPDATE `stats` SET `hpNow` = '.$pr_vars['hp_u1'].' WHERE `id` = "'.$uid2.'" LIMIT 1');
|
|||
|
if( $pr_vars['hp_u1'] > $this->stats[$this->uids[$uid1]]['hpAll'] ) {
|
|||
|
$pr_vars['hp_u1'] = $this->stats[$this->uids[$uid1]]['hpAll'];
|
|||
|
}
|
|||
|
$pr_vars['mas']['text'] = '{tm1} {u1} <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> "<b>'.$pr_vars['priem_regen']['name'].'</b>" <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>. <b><font color=#006699>'.$pr_vars['priem_regen']['hp'].'</font></b> ['.ceil($pr_vars['hp_u1']).'/'.$this->stats[$this->uids[$uid1]]['hpAll'].']';
|
|||
|
$pr_vars['mas']['vLog'] = 'time1='.time().'||s1='.$this->users[$this->uids[$uid1]]['sex'].'||t1='.$this->users[$this->uids[$uid1]]['team'].'||login1='.$this->users[$this->uids[$uid1]]['login'].'||s2='.$this->users[$this->uids[$uid2]]['sex'].'||t2='.$this->users[$this->uids[$uid2]]['team'].'||login2='.$this->users[$this->uids[$uid2]]['login'].'';
|
|||
|
$pr_vars['mas'] = array('time'=>time(),'battle'=>$this->info['id'],'id_hod'=>($this->hodID),'text'=>$pr_vars['mas']['text'],'vars'=>$pr_vars['mas']['vLog'],'zona1'=>'','zonb1'=>'','zona2'=>'','zonb2'=>'','type'=>'1');
|
|||
|
$this->add_log($pr_vars['mas']);
|
|||
|
}
|
|||
|
|
|||
|
if(isset($pr_vars['priem_regen2']) && $pr_vars['priem_regen2']['chance']*10000 >= rand(0, 1000000)) {
|
|||
|
$pr_vars['mp_u1'] += $pr_vars['priem_regen']['mp'];
|
|||
|
if($pr_vars['priem_regen']['mp'] > 0) {
|
|||
|
$pr_vars['priem_regen']['mp'] = '+'.$pr_vars['priem_regen']['mp'];
|
|||
|
}
|
|||
|
$this->users[$this->uids[$uid1]]['mpNow'] = $pr_vars['mp_u1'];
|
|||
|
$this->stats[$this->uids[$uid1]]['mpNow'] = $pr_vars['mp_u1'];
|
|||
|
mysql_query('UPDATE `stats` SET `mpNow` = '.$pr_vars['mp_u1'].' WHERE `id` = "'.$uid2.'" LIMIT 1');
|
|||
|
if( $pr_vars['mp_u1'] > $this->stats[$this->uids[$uid1]]['mpAll'] ) {
|
|||
|
$pr_vars['mp_u1'] = $this->stats[$this->uids[$uid1]]['mpAll'];
|
|||
|
}
|
|||
|
$pr_vars['mas']['text'] = '{tm1} {u1} <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> "<b>'.$pr_vars['priem_regen2']['name'].'</b>" <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>. <b><font color=#006699>'.$pr_vars['priem_regen2']['mp'].'</font></b> ['.ceil($pr_vars['mp_u1']).'/'.$this->stats[$this->uids[$uid1]]['mpAll'].']';
|
|||
|
$pr_vars['mas']['vLog'] = 'time1='.time().'||s1='.$this->users[$this->uids[$uid1]]['sex'].'||t1='.$this->users[$this->uids[$uid1]]['team'].'||login1='.$this->users[$this->uids[$uid1]]['login'].'||s2='.$this->users[$this->uids[$uid2]]['sex'].'||t2='.$this->users[$this->uids[$uid2]]['team'].'||login2='.$this->users[$this->uids[$uid2]]['login'].'';
|
|||
|
$pr_vars['mas'] = array('time'=>time(),'battle'=>$this->info['id'],'id_hod'=>($this->hodID),'text'=>$pr_vars['mas']['text'],'vars'=>$pr_vars['mas']['vLog'],'zona1'=>'','zonb1'=>'','zona2'=>'','zonb2'=>'','type'=>'1');
|
|||
|
$this->add_log($pr_vars['mas']);
|
|||
|
}
|
|||
|
|
|||
|
$i = 0;
|
|||
|
while($i < count($pr_vars['priem_use'])) {
|
|||
|
if(isset($pr_vars['priem_use'][$i]) && $pr_vars['priem_use'][$i]['chance'] >= rand(0, 100)) {
|
|||
|
$pl = mysql_fetch_array(mysql_query('SELECT * FROM `priems` WHERE `activ` != "-1" AND `id` = "'.mysql_real_escape_string($pr_vars['priem_use'][$i]['id']).'" LIMIT 1'));
|
|||
|
if (isset($pl['zad'])){$pl['zad']=0;}
|
|||
|
if(isset($pl['id']) && $pl['id'] == 290) {
|
|||
|
$priem->magicAtack($pr_vars['priem_use'][$i]['on'], 100, $pr_vars['priem_use'][$i]['type'], $pl, array('user_use' => $uid1), 0, 0, 0, 0, true, $this->users[$this->uids[$uid1]]['id'], $pl['name']);
|
|||
|
}
|
|||
|
|
|||
|
if(isset($pl['id'])) {
|
|||
|
$rcu = false;
|
|||
|
$j = $u->lookStats($pl['date2']);
|
|||
|
$mpr = false; $addch = 0;
|
|||
|
$uid = $this->users[$this->uids[$uid1]]['id'];
|
|||
|
if(isset($pr_vars['priem_use'][$i]['on']['id'])) {
|
|||
|
$uid = $pr_vars['priem_use'][$i]['on']['id'];
|
|||
|
}
|
|||
|
if(isset($j['onlyOne'])) {
|
|||
|
$mpr = mysql_fetch_array(mysql_query('SELECT * FROM `eff_users` WHERE `v2` = "'.$pl['id'].'" AND `uid` = "'.$uid.'" AND `delete` = 0 LIMIT 1'));
|
|||
|
}
|
|||
|
$pld = array(0 => ''); $nc = 0;
|
|||
|
if(isset($mpr['id']) && $j['onlyOne'] == 1) {
|
|||
|
$addch = 1;
|
|||
|
//$priem->mintr($pl);
|
|||
|
$priem->uppz($pl, $id);
|
|||
|
if(isset($pr_vars['priem_use'][$i]['on']['id'])) {
|
|||
|
$this->stats[$this->uids[$uid]] = $u->getStats($pr_vars['priem_use'][$i]['on'], 0);
|
|||
|
} else {
|
|||
|
$this->stats[$this->uids[$uid]] = $u->getStats($this->users[$this->uids[$uid1]], 0);
|
|||
|
}
|
|||
|
$nc = 1;
|
|||
|
} elseif(!isset($mpr['id'])) {
|
|||
|
$data = '';
|
|||
|
if(isset($j['date3Plus'])) {
|
|||
|
$data = $priem->redate($pl['date3'], $this->users[$this->uids[$uid1]]['id']);
|
|||
|
}
|
|||
|
$hd1 = -1;
|
|||
|
if($pl['limit'] > 0) {
|
|||
|
$tm = 77;
|
|||
|
$hd1 = $pl['limit'];
|
|||
|
} else {
|
|||
|
$tm = 77;
|
|||
|
}
|
|||
|
mysql_query('INSERT INTO `eff_users` (`hod`, `v2`, `img2`, `id_eff`, `uid`, `name`, `data`, `overType`, `timeUse`, `v1`, `user_use`) VALUES ("'.$hd1.'", "'.$pl['id'].'", "'.$pl['img'].'.gif", 22, "'.$uid.'", "'.$pr_vars['priem_use'][$i]['name'].'", "'.$data.'", 0, "'.$tm.'", "priem", "'.$uid.'")'); //$this->users[$this->uids[$uid1]]['id']
|
|||
|
unset($hd1);
|
|||
|
$addch = 1; $rcu = true; $nc = 1;
|
|||
|
//$priem->mintr($pl);
|
|||
|
$priem->uppz($pl,$id);
|
|||
|
} elseif($j['onlyOne'] > 1) {
|
|||
|
if($mpr['x'] < $j['onlyOne']) {
|
|||
|
if(isset($j['date3Plus'])) {
|
|||
|
$j1 = $u->lookStats($mpr['data']);
|
|||
|
$j2 = $u->lookStats($priem->redate($pl['date3'], $this->users[$this->uids[$uid1]]['id']));
|
|||
|
$v = $u->lookKeys($priem->redate($pl['date3'], $this->users[$this->uids[$uid1]]['id']), 0);
|
|||
|
$i56 = 0; $inf = '';
|
|||
|
while($i56 < count($v)) {
|
|||
|
$j1[$v[$i56]] += $j2[$v[$i56]];
|
|||
|
$vi = str_replace('add_', '', $v[$i56]);
|
|||
|
if($u->is[$vi] != '') {
|
|||
|
if($j2[$v[$i56]] > 0) {
|
|||
|
$inf .= $u->is[$vi].': +'.($j2[$v[$i56]]*(1+$mpr['x'])).', ';
|
|||
|
} elseif($j2[$v[$i56]] < 0) {
|
|||
|
$inf .= $u->is[$vi].': '.($j2[$v[$i56]]*(1+$mpr['x'])).', ';
|
|||
|
}
|
|||
|
}
|
|||
|
$i56++;
|
|||
|
}
|
|||
|
$inf = rtrim($inf, ', ');
|
|||
|
$j1 = $u->impStats($j1);
|
|||
|
$pld[0] = ' x'.($mpr['x']+1);
|
|||
|
$upd = mysql_query('UPDATE `eff_users` SET `data` = "'.$j1.'", `x` = `x`+1 WHERE `id` = "'.$mpr['id'].'" LIMIT 1');
|
|||
|
if($upd) {
|
|||
|
//$priem->mintr($pl);
|
|||
|
$priem->uppz($pl, $id);
|
|||
|
$addch = 1;
|
|||
|
$rcu = true;
|
|||
|
$nc = 1;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
if($rcu == true && !isset($pr_vars['priem_use'][$i]['no_chat'])) {
|
|||
|
if( $inf != '' ) {
|
|||
|
$inf = '('.$inf.')';
|
|||
|
}
|
|||
|
if($this->users[$this->uids[$uid1]]['id'] != $uid) {
|
|||
|
if(isset($inf)) {
|
|||
|
$pr_vars['mas']['text'] = '{tm1} {u1} <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> "<b>'.$pr_vars['priem_use'][$i]['name'].$pld[0].'</b>" <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> {u2}. <small>'.$inf.'</small>';
|
|||
|
} else {
|
|||
|
$pr_vars['mas']['text'] = '{tm1} {u1} <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> "<b>'.$pr_vars['priem_use'][$i]['name'].$pld[0].'</b>" <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> {u2}.';
|
|||
|
}
|
|||
|
} else {
|
|||
|
if(isset($inf)) {
|
|||
|
$pr_vars['mas']['text'] = '{tm1} {u1} <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> "<b>'.$pr_vars['priem_use'][$i]['name'].$pld[0].'</b>". <small>'.$inf.'</small>';
|
|||
|
} else {
|
|||
|
$pr_vars['mas']['text'] = '{tm1} {u1} <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> "<b>'.$pr_vars['priem_use'][$i]['name'].$pld[0].'</b>".';
|
|||
|
}
|
|||
|
}
|
|||
|
$pr_vars['mas']['vLog'] = 'time1='.time().'||s1='.$this->users[$this->uids[$uid1]]['sex'].'||t1='.$this->users[$this->uids[$uid1]]['team'].'||login1='.$this->users[$this->uids[$uid1]]['login'].'||s2='.$this->users[$this->uids[$uid2]]['sex'].'||t2='.$this->users[$this->uids[$uid2]]['team'].'||login2='.$this->users[$this->uids[$uid2]]['login'].'';
|
|||
|
$pr_vars['mas'] = array('time'=>time(),'battle'=>$this->info['id'],'id_hod'=>($this->hodID),'text'=>$pr_vars['mas']['text'],'vars'=>$pr_vars['mas']['vLog'],'zona1'=>'','zonb1'=>'','zona2'=>'','zonb2'=>'','type'=>'1');
|
|||
|
$this->add_log($pr_vars['mas']);
|
|||
|
}
|
|||
|
}
|
|||
|
$i++;
|
|||
|
}
|
|||
|
|
|||
|
if (isset($pr_vars['priem_use_p']['kolvo']) && isset($pr_vars['priem_use_p']['d_min']) && isset($pr_vars['priem_use_p']['d_max']))
|
|||
|
{
|
|||
|
$pr_vars['mas']['text'] = '{tm1} {u1} <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> "<b><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></b>" <20><> {u2}';
|
|||
|
$pr_vars['mas']['vLog'] = 'time1='.time().'||s1='.$this->users[$this->uids[$uid1]]['sex'].'||t1='.$this->users[$this->uids[$uid1]]['team'].'||login1='.$this->users[$this->uids[$uid1]]['login'].'||s2='.$this->users[$this->uids[$uid2]]['sex'].'||t2='.$this->users[$this->uids[$uid2]]['team'].'||login2='.$this->users[$this->uids[$uid2]]['login'].'';
|
|||
|
$pr_vars['mas'] = array('time'=>time(),'battle'=>$this->info['id'],'id_hod'=>($this->hodID),'text'=>$pr_vars['mas']['text'],'vars'=>$pr_vars['mas']['vLog'],'zona1'=>'','zonb1'=>'','zona2'=>'','zonb2'=>'','type'=>'1');
|
|||
|
$this->add_log($pr_vars['mas']);
|
|||
|
$i=0;
|
|||
|
while($i<$pr_vars['priem_use_p']['kolvo'])
|
|||
|
{
|
|||
|
$pr_vars['mas']['text'] = '{tm1} {u2} <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD>!';
|
|||
|
$pr_vars['mas']['vLog'] = 'time1='.time().'||s1='.$this->users[$this->uids[$uid1]]['sex'].'||t1='.$this->users[$this->uids[$uid1]]['team'].'||login1='.$this->users[$this->uids[$uid1]]['login'].'||s2='.$this->users[$this->uids[$uid2]]['sex'].'||t2='.$this->users[$this->uids[$uid2]]['team'].'||login2='.$this->users[$this->uids[$uid2]]['login'].'';
|
|||
|
$pr_vars['mas'] = array('time'=>time(),'battle'=>$this->info['id'],'id_hod'=>($this->hodID),'text'=>$pr_vars['mas']['text'],'vars'=>$pr_vars['mas']['vLog'],'zona1'=>'','zonb1'=>'','zona2'=>'','zonb2'=>'','type'=>'1');
|
|||
|
$this->add_log($pr_vars['mas']);
|
|||
|
//
|
|||
|
$dmg=rand($pr_vars['priem_use_p']['d_min'],$pr_vars['priem_use_p']['d_max']);
|
|||
|
$this->stats[$this->uids[$uid2]]['hpNow']=$this->stats[$this->uids[$uid2]]['hpNow']-$dmg;
|
|||
|
if ($this->stats[$this->uids[$uid2]]['hpNow']<=0){$this->stats[$this->uids[$uid2]]['hpNow']=0;}
|
|||
|
mysql_query('UPDATE `stats` SET `hpNow` = '.$this->stats[$this->uids[$uid2]]['hpNow'].' WHERE `id` = "'.$uid2.'" LIMIT 1');
|
|||
|
$pr_vars['mas']['text'] = '{tm1} {zn2_4} {u2} {1x1x9}{1x2x2}{2x3x0} {u1} {2x4x9}{2x5x1}{2x6x0} {1x7x2} <20><> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>. <font title=(<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <3B><><EFBFBD><EFBFBD>) color=#0066aa><b>-'.$dmg.'</font></b> ['.ceil($this->stats[$this->uids[$uid2]]['hpNow']).'/'.$this->stats[$this->uids[$uid2]]['hpAll'].']';
|
|||
|
$pr_vars['mas']['vLog'] = 'time1='.time().'||s1='.$this->users[$this->uids[$uid1]]['sex'].'||t1='.$this->users[$this->uids[$uid1]]['team'].'||login1='.$this->users[$this->uids[$uid1]]['login'].'||s2='.$this->users[$this->uids[$uid2]]['sex'].'||t2='.$this->users[$this->uids[$uid2]]['team'].'||login2='.$this->users[$this->uids[$uid2]]['login'].'';
|
|||
|
$pr_vars['mas'] = array('time'=>time(),'battle'=>$this->info['id'],'id_hod'=>($this->hodID),'text'=>$pr_vars['mas']['text'],'vars'=>$pr_vars['mas']['vLog'],'zona1'=>'','zonb1'=>'','zona2'=>'','zonb2'=>'','type'=>'1');
|
|||
|
$this->add_log($pr_vars['mas']);
|
|||
|
//<2F><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>----------------------
|
|||
|
$this->spaCheck($this->users[$this->uids[$uid2]]['id']);
|
|||
|
//----------------
|
|||
|
|
|||
|
$i++;
|
|||
|
}
|
|||
|
|
|||
|
|
|||
|
|
|||
|
//------------------------------------------
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
|
|||
|
unset($pr_use, $pr_vars);
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
?>
|