Вход Регистрация
Файл: gamele.ru/inc/dmod_succ.php
Строк: 35
<?
    $ogon
=($pl_st[45]/50);
    
$led=($pl_st[46]/50);
    
$ogont=($tg_st[54]/50);
    
$ledt=($tg_st[55]/50);
    if(
$pl_st[101]!=and $tg[hp]>0){
        
$moddps=explode("-",$pl_st[101]);
        
$dps=round((rand($moddps[0],$moddps[1])*($pl_st[73]/100+1+$ogon))/($tg_st[99]/250+$tg_st[73]/200+1+$ogont));
        
$clr="B00000";
        if(
$tg[hp]<=$dps){
            
$exp[1]+=$tg[hp];
            
$tg[hp]=0;
            
$exp[6]+=1;
        }else{
            
$tg[hp]-=$dps;
            
$exp[1]+=$dps;
        }
        
$exp[0]+=$dps;
        if(
$tg['invisible']<time()){
            
$log.=",$logtg," получил$tsex[1урон от огня на <B><font color=#$clr>-$dps</font></B> [$tg[hp]/$tg[hp_all]]."";
        
}else{
            
$log.=",$logtg," получил$tsex[1урон от огня на <B><font color=#$clr>-$dps</font></B> [???/???]."";
        
}
    }
    if(
$pl_st[102]!=and $tg[hp]>0){
        
$moddps=explode("-",$pl_st[102]);
        
$dps=round((rand($moddps[0],$moddps[1])*($pl_st[73]/100+1+$led))/($tg_st[99]/250+$tg_st[73]/200+1+$ledt));
        
$clr="000099";
        if(
$tg[hp]<=$dps){
            
$exp[1]+=$tg[hp];
            
$tg[hp]=0;
            
$exp[6]+=1;
        }else{
            
$tg[hp]-=$dps;
            
$exp[1]+=$dps;
        }
        
$exp[0]+=$dps;
        if(
$tg['invisible']<time()){
            
$log.=",$logtg," получил$tsex[1урон от льда на <B><font color=#$clr>-$dps</font></B> [$tg[hp]/$tg[hp_all]]."";
        
}else{
            
$log.=",$logtg," получил$tsex[1урон от льда на <B><font color=#$clr>-$dps</font></B> [???/???]."";
        
}
    }
    if(
$pl_st[103]!=and $tg[hp]>0){
        
$moddps=explode("-",$pl_st[103]);
        
$dps=round(rand($moddps[0],$moddps[1])*($pl_st[73]/100+1+$kl));
        
$clr="6633CC";
        if(
$tg[hp]<=$dps){
            
$exp[1]+=$tg[hp];
            
$tg[hp]=0;
            
$exp[6]+=1;
        }else{
            
$tg[hp]-=$dps;
            
$exp[1]+=$dps;
        }
        
$exp[0]+=$dps;
        if(
$tg['invisible']<time()){
            
$log.=",$logtg," получил$tsex[1урон от вампиризма на <B><font color=#$clr>-$dps</font></B> [$tg[hp]/$tg[hp_all]]."";
        
}else{
            
$log.=",$logtg," получил$tsex[1урон от вампиризма на <B><font color=#$clr>-$dps</font></B> [???/???]."";
        
}
    }

    if(
$tg_st[103]!=0){
        
$moddps=explode("-",$tg_st[103]);
        
$dps=rand($moddps[0],$moddps[1]);
        
$clr="6633CC";
        
$tg['hp']+=$dps;
        if(
$tg['hp']>$tg[hp_all]){
            
$tg['hp']=$tg[hp_all];
        }
        
$log.=",$logtg," восстановил$psex[1себе <B><font color=red>+$dps</font></Bздоровья [$tg[hp]/$tg[hp_all]]."";
    }
    if(
$tg_st[104]!=0){
        
$moddps=explode("-",$tg_st[104]);
        
$dps=rand($moddps[0],$moddps[1]);
        
$clr="6633CC";
        
$tg['hp']+=$dps;
        if(
$tg['hp']>$tg[hp_all]){
            
$tg['hp']=$tg[hp_all];
        }
        
$log.=",$logtg," восстановил$psex[1себе <B><font color=red>+$dps</font></Bздоровья [$tg[hp]/$tg[hp_all]]."";
    }
?>
Онлайн: 0
Реклама