Jump to content

Geralt

Members
  • Posts

    108
  • Joined

  • Last visited

Posts posted by Geralt

  1. Good afternoon guys I found this topic as I fix this part

    Exchange rate:

    1.00 R $ = 1,000 ROP's

    Minimum Donation Amount:

    1.00 R $

    to stay like this, exactly because when I put it it looks like this

    - 1 Cash Points -

    'rate'           => 1.0, // Adicione a rate das doações por exemplo 1.0 é equivalente a 1.00 R$ recebe 1 crédito, 0.001 a cada 1.00 R$ 1000 Créditos (altere também a configuração 'CreditExchangeRate' no arquivo de configuração application.php do FluxCP para o mesmo valor).


        'hercules'       => false, // Configure para true se estiver usando o emulador hercules.
        'PagSeguroMin'   => 1, //Doação minima.
        'PagSeguroFlux'  => true, // Usar sistema de créditos da loja do Flux CP? Caso insira false você vai precisar configurar uma variável abaixo.
        'PagSeguroVar'   => '#CASHPOINTS', // Caso a opção acima seja false adicione aqui a sua variável de cash (pode ser usada qualquer variável permanente de conta).
        'PagSeguroCoin'  => 'Cash Points', // Adicione aqui o nome da sua Moeda (ROPS, Cash Points, Kafra Points, SeuRO Points, Créditos ou seja o que for.)
        'PagSeguroLock'  => false, // Trancar sistema de doações?

    'CreditExchangeRate'        => 1.0,                        // The rate at which credits are exchanged for dollars.


        'MinDonationAmount'            => 2.0,                        // Minimum donation amount. (NOTE: Actual donations made that are less than this account won't be exchanged)
        'DonationCurrency'            => 'USD',                    // Preferred donation currency. Only donations made in this currency will be processed for credit deposits.

     

    obs.currency I use and BRL

     

  2. 49 minutes ago, hikashin-rae said:

    seu caractere de login está configurado com o valor do grupo 1?

    if (getgroupid () == 1) goto estender; 

     

    Yes

     

     

     

    Sem título.jpg

    example in my database is null the ones above are from another test account if I added manually

     

    Sem título.jpg

  3. hello how would a vip ticket for this system look?

     

    script

    //==========================================================================================================================
    //                          Função que adiciona 15 dias Vip ao usuário
    //==========================================================================================================================

    function    script    vip15    {

    set $nivelVip, 1;
    set $diasVip, 15;
    set $verificaVip, 1;

        if (getgroupid() == 1) goto estender;

        query_sql "UPDATE `login` SET `group_id` = "+$nivelVip+", `dt_vip` = DATE_ADD(CURDATE(),INTERVAL "+$diasVip+" DAY) WHERE `group_id` = 0 AND `account_id` = "+getcharid(3);

        dispbottom "Vip inserido com sucesso! Relogue seu personagem para ativá-lo.";
        end;

    estender:

        query_sql "UPDATE `login` SET `group_id` = "+$nivelVip+", `dt_vip` = DATE_ADD(`dt_vip`,INTERVAL "+$diasVip+" DAY) WHERE `group_id` = "+$nivelVip+" AND `account_id` = "+getcharid(3);

        dispbottom "Vip estendido por mais "+$diasVip+" dias! Relogue seu personagem para ativá-lo.";
        end;

    }

    //==========================================================================================================================
    //                          Função que adiciona 30 dias Vip ao usuário
    //==========================================================================================================================

    function    script    vip30    {

    set $nivelVip, 1;
    set $diasVip, 30;
    set $verificaVip, 1;

        if (getgroupid() == 1) goto estender;

        query_sql "UPDATE `login` SET `group_id` = "+$nivelVip+", `dt_vip` = DATE_ADD(CURDATE(),INTERVAL "+$diasVip+" DAY) WHERE `group_id` = 0 AND `account_id` = "+getcharid(3);

        dispbottom "Vip inserido com sucesso! Relogue seu personagem para ativá-lo.";
        end;

    estender:

        query_sql "UPDATE `login` SET `group_id` = "+$nivelVip+", `dt_vip` = DATE_ADD(`dt_vip`,INTERVAL "+$diasVip+" DAY) WHERE `group_id` = "+$nivelVip+" AND `account_id` = "+getcharid(3);

        dispbottom "Vip estendido por mais "+$diasVip+" dias! Relogue seu personagem para ativá-lo.";
        end;

    }

    //==========================================================================================================================
    //                Função que controla a data de término da conta vip e anúncios ao logar
    //==========================================================================================================================

    -    script    GerenciadorVip    -1,{

            OnPCLoginEvent:    

    set @site$, "www.heroragnarok.com.br";

            query_sql "UPDATE `login` SET `group_id`= 0 WHERE `group_id` = "+$nivelVip+" AND (`dt_vip` IS NULL OR `dt_vip` < CURDATE())";
            query_sql "SELECT (`dt_vip` IS NULL OR `dt_vip` < CURDATE()) FROM `login` WHERE `account_id` = "+getcharid(3), @verificaVip;

            if (@verificaVip) {

            dispbottom "Torne-se um(a) jogador(a) VIP e tenha benefícios exclusivos!";
            dispbottom "Acesse "+@site$+" e saiba mais!";
            end;

    }

        query_sql "SELECT DATE_FORMAT(`dt_vip`, '%d/%m/%Y') FROM `login` WHERE `account_id` = "+getcharid(3), @dataVencimento$;

        dispbottom "Sua conta VIP é válida até o dia "+@dataVencimento$+"";
        end;

    }

     

    My ticket

    4000,Ticket de Vip [30],Ticket de Vip [30],2,1,,0,,,,,0xFFFFFFFF,7,2,,,,,,{ callfunc "vip30"; },{},{}

     

    this vip ticket does not add the vip days to the sql table or change the group id

  4. 5 hours ago, Racaae said:

    Oi! Veja a sua função  Chest_Raro,  F_Rand apenas retorna um número aleatório das opções. Você ainda precisa usar o getitem para fornecer o item. Exemplo:

    
    

     

    *   49 :        '.' @ item _id = callfunc ("F_Rand", 1.603,5.617,5); // define a variavel para uma das cinco opções.

  5. guys I have a doubt I open the box not the iens

    23107,Bau_Raro,Baú Raro,2,0,0,20,,,,,0xFFFFFFFF,15,2,,,,,,{ callfunc "Chest_Raro"; },{},{}

     

    script

    function    script    Fragment_Key    {
        if (countitem(23111) < 5) {
            dispbottom "[Baú Comum]: ATENÇÃO!";
            dispbottom "[Baú Comum]: Para criar uma "+getitemname(23110)+" você precisa de 6 "+getitemname(23111)+".";
            getitem 23111,1;
    }     else{
        dispbottom "[Fragmento de Chave]: Parabéns! Você recebeu [1] "+getitemname(23110)+".";
        getitem 23110,1;
        delitem 23111,5;
    }
        end;
    }


    function    script    Chest_Comum    {
    //Configuração
        .qnt = rand(1,10);
        .item = 23111;
        .qnt2 = 1;
        
        dispbottom "[Baú Comum]: Parabéns! Você recebeu ["+(.qnt)+"] Rop's e ["+(.qnt2)+"] "+getitemname(.item)+".";
        set #CASHPOINTS,#CASHPOINTS+.@qnt;
        getitem .item,.qnt2;
        end;
    }


    function    script    Chest_Raro    {
    //Configuração
        callfunc "F_Rand",1,603,5,617,5;
        callfunc "F_Rand",1,23111,2,23111,2;
        end;
    }


    function    script    Chest_Epico    {
    //Configurações
        .key = 23110;
        .chest = 23108;
        .qnt = 1;

        //Verifica se o Player possui a chave    
        if (countitem(.key) < 1) {
            dispbottom "[Baú Comum]: ATENÇÃO!";
            dispbottom "[Baú Comum]: Para abrir esse baú você precisa de uma ["+getitemname(.key)+"].";
            getitem .chest,.qnt;
    }     else{
        //Faz a entrega da premiação
        callfunc "F_Rand",1,23025,1,616,1,12103,1,23019,1,23026,1;
        delitem .key,.qnt;
    }
        end;
    }

  6. Hey people

    rathena doesn't accept this formula for idun's apple?

    recipe old eathena emulator

    if(sc->data[SC_APPLEIDUN])
            maxhp += maxhp * sc->data[SC_APPLEIDUN]->val2/100;

     

    rathena 

    if(sc->data[SC_APPLEIDUN])
                    bonus += sc->data[SC_APPLEIDUN]->val2;

    I have already looked at several topics on this, but there was no result. remembering the apple of idun doubles the hp of the other classes until the own class (minstrel) it depends on each server in my case it is pre re 255/70.

     

     

     

  7. how do I fix these ipb news systems
    codes

    application.php

    CMSNewsRSS'                => 'http://heroragnarok.com.br/forum/index.php?/forum/6-manuten%C3%A7%C3%B5es-e-atualiza%C3%A7%C3%B5es.xml',        // Use if CMSNewsType = 2


        'CMSNewsRSS2'                => 'http://heroragnarok.com.br/forum/index.php?/forum/49-changelog.xml',        // Use if CMSNewsType = 2
        'CMSNewsRSS3'                => 'http://heroragnarok.com.br/forum/index.php?/forum/7-eventos-e-promo%C3%A7%C3%B5es.xml',        // Use if CMSNewsType = 2
        'CMSNewsLimit'                => 4,                        // Number of news items to display

    news.php

    <?php if (!defined('FLUX_ROOT')) exit; ?>
    <?php if(Flux::config('CMSNewsOnHomepage')): ?>
        <?php if($newstype == '2'):?>
            <?php if(isset($xml) && isset($xml->channel)): ?>
            <div class="newsDiv">
                <?php foreach($xml->channel->item as $rssItem): ?>
                    <?php $i++; if($i <= $newslimit): ?>

                        <div class="wcontainer">
                        <h2 style="color: green"><?php echo $rssItem->title ?></h2>
                            <span class="newsDate">Data: <?php echo date(Flux::config('DateFormat'),strtotime($rssItem->pubDate))?></span>
                            <p><?php echo $rssItem->description ?></p>
                            
                            <a class="news_link" href="<?php echo $rssItem->link ?>"><small><?php echo htmlspecialchars(Flux::message('XCMSNewsLink')) ?></small></a>
                            <div class="clear"></div>
                        </div>
                    <?php endif ?>
                <?php endforeach; ?> 
            </div>
            <?php else: ?>
                <p>
                    <?php echo htmlspecialchars(Flux::message('XCMSNewsRSSNotFound')) ?><br/><br/>
                </p>
            <?php endif ?>
        <?php endif ?>
    <?php endif ?>

    news3.php

    <?php


    if (!defined('FLUX_ROOT')) exit;
    $title = null;
    $newslimit = 4;
    $newstype = (int)Flux::config('CMSNewsType');
    if($newstype == '2'){
        $news = Flux::config('FluxTables.CMSNewsTable'); 
        $sql = "SELECT title, body, link, author, created, modified FROM {$server->loginDatabase}.$news ORDER BY id DESC LIMIT $newslimit";
        $sth = $server->connection->getStatement($sql);
        $sth->execute();
        $news = $sth->fetchAll();
    } elseif($newstype == '2'){
        $content = file_get_contents(Flux::config('CMSNewsRSS3'));
        if($content) {
            $i = 0;
            $xml = new SimpleXmlElement($content);
        }
    }
    ?>
    <?php if(Flux::config('CMSNewsOnHomepage')): ?>
        <?php if($newstype == '1'):?>
            <?php if($news): ?>
                Utilize o newstype = 2
            <?php else: ?>
                <?php echo htmlspecialchars(Flux::message('XCMSNewsEmpty')) ?>
            <?php endif ?>
        <?php elseif($newstype == '2'):?>
            <?php if(isset($xml) && isset($xml->channel)): ?>
                <?php foreach($xml->channel->item as $rssItem): ?>
                    <?php $i++; if($i <= $newslimit): ?>
                    <li>
                        <a href="<?php echo $rssItem->link ?>"><?php echo $rssItem->title ?></a><br />
                        <small>
                            <i class="icon-calendar"></i> 
                            Data: <?php echo date(Flux::config('DateFormat'),strtotime($rssItem->pubDate))?>
                        </small>
                    </li>
                    <?php endif ?>
                <?php endforeach; ?> 
            <?php else: ?>
                    <?php echo htmlspecialchars(Flux::message('XCMSNewsRSSNotFound')) ?><br/><br/>
            <?php endif ?>
        <?php endif ?>
    <?php endif ?>

     

    error

     

    Sem título.jpg

  8. On 9/8/2019 at 1:10 PM, noobzter003 said:

    can you provide the errors?
    in my test server its working fine

    I changed vip system for this

    // ************************************************************
    // Sistema Vip eAmod
    // ************************************************************

    // Players podem usar esse sistema para comprar VIP. .
    // Você pode configurar os bônus de experiência,descontos em lojas, e comandos disponiveis apenas para VIP.

    // Conta Premium conf/battle configurações ( no eAmod.conf )

    //Bônus Extra experiência quando matar mobs. Os valores vão de 0 a 100, em porcentagem. Exemplo 5 = 5%
    // premium_bonusexp: 0

    // Descontos ao usar os npcs de loja. Os valores vão de 0 a 100, em porcentagem. Exemplo 5 = 5%
    // premium_discount: 0

    // Drop boost for Premium account users. Value is %, where 5 become 5%.
    // The bonus drop increases the normal drop rate just like Bubble Gum does.
    // If normal drop is 30% and premium_dropboost is 10. The final drop rate will be 33%, not 40%.
    // premium_dropboost: 0

    // To give access to @commands to Premium Account users, go to the file /conf/atcommand_athena.conf and add an Extra ,1 to each command setting you want to enable for Premium Users.
    // Example
    // go: 40,80
    // That means, 40 GM level using @go, 80 Gm level using #go
    // To enable @go to Premium Account just do this:
    // go: 40,80,1

    prontera,150,193,4    script    Senhor VIP    952,{
        // Settings: -----------------------------
        set .@Cost, 12000; // Valor de 1 mês VIP
        set .@Time, 5 * 6 * 24 * 60 * 60; // Tempo em segundos = 5 semanas, 6 dias por semana, 24 horas por dia, 60 minutos por dia, 60 segundos por minuto. = 1 mês de conta vip.
        set .@Time$, "1 Mês";
        set @mapa$,"force_1-1"; //Mapa da sala vip
        set @cordx,25;
        set @cordy,24;
        set @site$,"[^0000FF www.HeroBRO.net ^000000]"; //Seu site
        // ---------------------------------------

        mes "^FF1493[ Central Premium ]^000000";
        mes (gettime(3)>= 6&&gettime(3)<= 12?"Bom-dia":(gettime(3)>=13&&gettime(3)<=18?"Boa-tarde":"Boa-noite"))+", ^008aff"+strcharinfo(0)+"^000000 !";
        mes "Eu sou o vendedor de Conta VIP.";
        if( isPremium() == 1 )
        mes "Sua Conta VIP expira em ^FF0000" + callfunc("Time2Str",#Premium_Tick) + "^000000.";
        mes "O que posso fazer por você?";
        next;

        switch( select("^0084ff[ • ]^000000 Entrar na Sala VIP:^0084ff[ • ]^000000 Pagar Conta VIP:^0084ff[ • ]^000000 Sobre a Conta VIP") )
        {
        case 1:
        if( isPremium() == 0 ) {
        mes "^FF1493[ Central Premium ]^000000";
        mes "Para entrar na sala você precisa ser VIP.";
        mes "Visite ^CD0000"+@site$+"^000000 para obter Cash e comprar seu VIP!";
        close;
    }
        if( isPremium() == 1 ) {
            warp @mapa$,@cordx,@cordy;
            end;
    }
        case 2:
            mes "^FF1493[ Central Premium ]^000000";
            if( isPremium() == 1 )
                mes "Você realmente deseja estender sua conta VIP?";
            else
                mes "Você realmente deseja ter sua conta VIP?";

            mes "O Tempo VIP é de ^FF0000" + .@Time$ + "^000000";
            mes "O Valor é ^FF0000" + .@Cost + "^000000 Cash Points.";
            next;
            if( select("^0084ff[ • ]^000000 Sim:^ff0000[ • ]^000000 Não") == 2 )
            {
                mes "^FF1493[ Central Premium ]^000000";
                mes "Volte quando você mudar de ideia.";
                close;
            }

            if( #CASHPOINTS < .@Cost )
            {
                mes "^FF1493[ Central Premium ]^000000";
                mes "Você não tem Cash Points suficientes.";
                close;
            }

            if( isPremium() == 1 )
                set #Premium_Tick, #Premium_Tick + .@Time; // Extender tempo
            else
                set #Premium_Tick, gettimetick(2) + .@Time; // Nova conta premium
            set #CASHPOINTS, #CASHPOINTS - .@Cost;

            mes "^FF1493[ Central Premium ]^000000";
            mes "Parabéns!!..";
            mes "Lembre-se de que sua Conta VIP expira em ^FF0000" + callfunc("Time2Str",#Premium_Tick) + "^000000.";
            close;

        case 3:    
        
            // Modifique esta mensagem para explicar  a seus usuários sobre a Conta Premium em seu servidor
            // ----------------------------------------------------------------------------------

            mes "^FF1493[ Central Premium ]^000000";
            mes "São 30 dias de pura diversão e facilidades.";
            mes "Os benefícios de ser um VIP são os seguintes:";
            mes "Bônus de 5% a mais na experiência.";
            mes "Sala Premium com vários npcs que facilitam e muito sua vida.";
            mes "Mais de 30 comandos para facilitar ainda mais, para mais informações visite o nosso site, ^0000FF www.HeroBRO.net ^000000";
            close;
        }
    }[/soiiler],

    the days and hours vip does not appear .. so it is in the image

     

     

     

    Sem título.jpg

  9. 4 hours ago, noobzter003 said:
    
    -	script	VIP_STATUSs	-1,{
    OnPCLoginEvent:
    	if ( vip_status(1) ) {
    		//sc_start SC_EXPBOOST,1000*60*60*24,0;
    			set .@Timer, vip_status(2);
    			dispbottom "You're VIP.";
    			dispbottom "=============================================";
    			dispbottom "Account Status : VIP Account";
    			dispbottom "Account Status : Enable to warp in VIP Central!";
    			dispbottom "Account Status : Exp & Job Increase 30%";
    			dispbottom "Account Status : Drop Increase 20%";
    			dispbottom "Time left : "+ callfunc("Time2Str",.@Timer);
    			dispbottom "============================================";
    		end;
    	}
    }

     

    123123.png

    did not work

  10. hello guys how do i put the vip + cash days in a window when the player logs in .. ie information of the vip and cash days

    example in picture

     

    Script vip

    //Adicionar 1 Hora Vip:
    function    script    Vip1Hour    {
    // Settings: -----------------------------
    set .@Time, 1 * 1 * 1 * 60 * 60; // Time in Seconds = 5 weeks, 6 days per week, 24 hours per day, 60 minutes per day, 60 seconds per minute. = 1 month in this sample.
    if( isPremium() == 0 )  {
    set #Premium_Tick, gettimetick(2) + .@Time; // New Premium Account
    dispbottom "Parabéns! Acesso VIP liberado.";
    dispbottom "Seu acesso VIP expira em " + callfunc("Time2Str",#Premium_Tick) + ".";
    end;
    }
    // Settings: -----------------------------
    if (isPremium() == 1) {
    set .@Time, 1 * 1 * 1 * 60 * 60; // Time in Seconds = 5 weeks, 6 days per week, 24 hours per day, 60 minutes per day, 60 seconds per minute. = 1 month in this sample.
    set #Premium_Tick, #Premium_Tick + .@Time; // Time Extension
    dispbottom "Parabéns!! Acesso VIP extendido por mais 1 hora.";
    dispbottom "Seu acesso VIP expira em " + callfunc("Time2Str",#Premium_Tick) + ".";

    end;
    }

    //Adicionar 1 dia Vip:
    function    script    Vip1Day    {
    // Settings: -----------------------------
    set .@Time, 1 * 1 * 24 * 60 * 60; // Time in Seconds = 5 weeks, 6 days per week, 24 hours per day, 60 minutes per day, 60 seconds per minute. = 1 month in this sample.
    if( isPremium() == 0 )  {
    set #Premium_Tick, gettimetick(2) + .@Time; // New Premium Account
    dispbottom "Parabéns! Acesso VIP liberado.";
    dispbottom "Seu acesso VIP expira em " + callfunc("Time2Str",#Premium_Tick) + ".";
    end;
    }
    // Settings: -----------------------------
    if (isPremium() == 1) {
    set .@Time, 1 * 1 * 24 * 60 * 60; // Time in Seconds = 5 weeks, 6 days per week, 24 hours per day, 60 minutes per day, 60 seconds per minute. = 1 month in this sample.
    set #Premium_Tick, #Premium_Tick + .@Time; // Time Extension
    dispbottom "Parabéns!! Acesso VIP extendido por mais 1 dia.";
    dispbottom "Seu acesso VIP expira em " + callfunc("Time2Str",#Premium_Tick) + ".";

    end;
    }

    //Adicionar 30 dias Vip:
    function    script    Vip30Day    {
    // Settings: -----------------------------
    set .@Time, 1 * 1 * 24 * 60 * 60; // Time in Seconds = 5 weeks, 6 days per week, 24 hours per day, 60 minutes per day, 60 seconds per minute. = 1 month in this sample.
    if( isPremium() == 0 )  {
    set #Premium_Tick, gettimetick(2) + .@Time; // New Premium Account
    dispbottom "Parabéns! Acesso VIP liberado.";
    dispbottom "Seu acesso VIP expira em " + callfunc("Time2Str",#Premium_Tick) + ".";
    end;
    }
    // Settings: -----------------------------
    if (isPremium() == 1) {
    set .@Time, 5 * 6 * 24 * 60 * 60; // Time in Seconds = 5 weeks, 6 days per week, 24 hours per day, 60 minutes per day, 60 seconds per minute. = 1 month in this sample.
    set #Premium_Tick, #Premium_Tick + .@Time; // Time Extension
    dispbottom "Parabéns!! Acesso VIP extendido por mais 30 dias.";
    dispbottom "Seu acesso VIP expira em " + callfunc("Time2Str",#Premium_Tick) + ".";

    end;
    }

    }

    Sem título336.jpg

  11. 1 hour ago, nomade said:

    Não sei se entendi bem, você quer que apareça um menu ao invés de fechar? 

    Seria interessante se postasse esse npc da print para que possamos dar uma resposta mais concreta.

    o npc da print não da mais é o mesmo que postei a cima só arruma os menu 

     

    exemplo.. 

     

    "o que eu ganho? ai vem uma lista do que o player vai ganhar na maquina de premiação

     

  12. hello guys how do i fix this error in this npc error on line * 36

     

     

    Sem título333.jpg

     

    script:

    prontera,156,285,1    script    Maquina Premio    563,{

    // ----- Variaveis ----- \\
    set .maq$,"[Maquina Premio]"; // Nome do Script
    set @idvale,20806;    // Moeda/Vale/Cupom da maquina.
    set @qtdmq,1;    //Quantidade Necessaria da Moeda.
    SetArray @PremiosMaquina[0],20558,1,20523,1,20441,1,20442,1,20443,1,20444,1,20445,1,20365,1,20006,1;    // Premios no seguinte formato: ID Item, Quantidade. Pode ter até 63 Itenss!
    set .@minz,100000; // Minimo de Zeny que a pessoa pode ganhar
    set .@maxz,100000000; // Maximo de Zeny que a pessoa pode ganhar
    set .@minrops,500; // Min de rops que a pessoa pode ganhar
    set .@maxrops,1500; // max de rops que a pessoa pode ganhar
    //----------------------- \\

    mes .maq$;
    if (countitem(@idvale) < @qtdmq){mes "Para Jogar Nesta Maquina você deve ter um " +getitemname(@idvale)+ "."; close;}
    mes "Olá "+strcharinfo(0)+"! Gostaria de jogar em nossa Maquina??";
    menu "Sim,vamos la vou ganhar!",-,"Não,Talvez Depois...",nopes;
    next;
    delitem @idvale,@qtdmq;
    mes .maq$;
    mes "Certo Vamos La! A sorte foi lançada!";
    mes "Boa Sorte!";
    set .@tipopremio,rand(1,3);


    if (.@tipopremio == 1){
    set .@qtdzeny,rand (.@minz,.@maxz);
    next;
    mes .maq$;
    mes "Parabens! Você Recebeu "+.@qtdzeny+" Zenys de Premio!";
    set zeny,zeny+.@qtdzeny;
    close;
    }
    if (.@tipopremio == 2){
    Set @i,Rand(GetArraySize(@PremiosMaquina)/2);
    additem @PremiosMaquina[@i*2],@PremiosMaquina[@i*2+1];
    next;
    mes .maq$;
    mes "Parabens! Você Recebeu "+getitemname(@PremiosMaquina[@i*2])+"!";
    close;
    }

    if (.@tipopremio == 3){
    set .@qtdrops,rand (.@minrops,.@maxrops);
    next;
    mes .maq$;
    mes "Parabens! Você Recebeu "+.@qtdrops+" Rops de Premio!";
    set cashpoint,cashpoint+.@qtdrops;
    close;
    }
     
    nopes:
    close;
    }

  13. 3 hours ago, Haruka Mayumi said:

    any specific?

    Like i played on a server before closing it when i used the idun apple clow skill or any other character would go up hp type would duplicate hp the server was pre re 255/70

     

     

     

    this is the formula

     

    but does not change the hp remains the same

    case BA_APPLEIDUN:


    #ifdef RENEWAL
                hp = 5 + 2* skill_lv + 10 * (status_get_vit(src) / 10); // HP recovery
    #else
                hp = 100 + 5 * skill_lv + 10 * (status_get_vit(src) / 10); // HP recovery

×
×
  • Create New...