Jump to content

tiagofm94

Members
  • Posts

    14
  • Joined

  • Last visited

Posts posted by tiagofm94

  1. Below are all lines with rand(0, x)

            if(rand(0,10000) > 500) end;  

            set @nTime, (300+rand(0,120))-getmonsterinfo(killedrid,1);

            set mkTimed, gettimetick(2)+@nTime+rand(0,60);

     

    I didn't find any rand(0.x) just found rand(0, x).


     

  2. Bom amigo então não se trata de drenar vida HP, más sim ganhar HP ao derrotar o monstro.

    Geralmente os comandos para se montar um script de item podem ser encontrados no arquivo

    rathena-master\doc\item_bonus ou dos próprios scripts já existentes no Item_db.

    Os comandos para este item são estes.

    HP/SP gain
    ------------
    bonus bHPGainValue,n;             Heals +n HP when killing an enemy with a melee-physical attack
    bonus bSPGainValue,n;             Heals +n SP when killing an enemy with a melee-physical attack
    bonus2 bSPGainRace,r,n;           Heals +n SP when killing an enemy of race r with a melee-physical attack
    bonus bLongHPGainValue,n;             Heals +n HP when killing an enemy with a range-physical attack
    bonus bLongSPGainValue,n;             Heals +n SP when killing an enemy with a range-physical attack
    bonus bMagicHPGainValue,n;        Heals +n HP when killing an enemy with a magical attack
    bonus bMagicSPGainValue,n;        Heals +n SP when killing an enemy with a magical attack

     

    Segue abaixo o item já criado!

    19163,Catherina_Von_Blood,Boneca da Succubus,4,0,,300,,0,,0,0xFFFFFFFF,63,2,256,,1,0,1527,{  bonus bHPGainValue,500;  bonus bMagicHPGainValue,500;  bonus bLongHPGainValue,500; bonus bSPGainValue,50;  bonus bMagicSPGainValue,50; bonus bLongSPGainValue,50; },{},{heal -5000,-500;}
     

    Vlw Flw!

  3. Good evening!

     

    I do not believe it is a npc but a command, the lines are located in the following rathena-master path \ conf \ msg_conf.

     
    Select the file in your language, the lines are on the line 628 to 635.
     
    In your case I believe it is map_msg_spn.conf.
     
    // Tumba de MvP
    // Se ha añadido aquí para que sea más fácil de traducir.
    656: Tumba
    657: [ ^EE0000%s^000000 ]
    658: ha recibido su merecido.
    659: Hora de la muerte: ^EE0000%s^000000
    660: Ha sido derrotado por
    661: [^EE0000%s^000000]
×
×
  • Create New...