game/_incl_data/class/priem/57.php

27 lines
465 B
PHP

<?php
/**
* @var $this Priems
* @var $btl Battle
* @var $id int
* @var $pl array
*/
if (!$id) {
exit();
}
/*
Ïðèåì: Ïîæèðàþùåå Ïëàìÿ [8]
*/
if (isset($pr_used_this) && isset($pr_moment)) {
//Êàæäûé õîä
$fx_priem = function ($id, $at, $uid, $j_id) {
global $btl, $priem;
$priem->devouringFlame($id, $uid, $j_id, $btl);
return $at;
};
unset($pr_used_this);
} else {
$this->devouringFlameInit($id, $pl, $btl);
}