game/_incl_data/class/priems/light.php

57 lines
964 B
PHP
Raw Normal View History

2022-06-06 21:30:34 +00:00
<?
if(!defined('GAME'))
{
die();
}
$uen = $u->info['enemy']; //<2F><> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>
if(isset($_POST['useon']))
{
$ue = $this->ue;
if(isset($ue['id']))
{
$uen = $ue['id'];
}else{
$uen = 0;
}
}
if($pl['id']==9999){
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
}elseif($pl['id']==181){
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> [7]
$hpadd = 183;
}elseif($pl['id']==182){
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> [8]
$hpadd = 219;
}elseif($pl['id']==183){
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> [9]
$hpadd = 263;
}elseif($pl['id']==184){
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> [10]
$hpadd = 316;
}elseif($pl['id']==185){
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> [11]
$hpadd = 380;
}
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20> <20><><EFBFBD><EFBFBD>
if($hpadd>0)
{
if($uen>0 && $btl->stats[$btl->uids[$uen]]['hpNow']>0)
{
$this->magicRegen($ue,$hpadd,5,$pl,$eff);
}else{
$cup = true; //<2F><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>
}
}
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
if($hpmin>0)
{
if($uen>0 && $btl->stats[$btl->uids[$uen]]['hpNow']>0)
{
$this->magicAtack($ue,$hpmin,5,$pl,$eff);
}else{
$cup = true; //<2F><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>
}
}
?>