Jump to content

FrustFenix

Members
  • Posts

    90
  • Joined

  • Last visited

Posts posted by FrustFenix

  1. prontera,151,151,5 script Prize Giver 107,{
    mes "[Prize Giver]";
    mes "Here your random prize";
    next;
    switch(rand(1, 4))
    {
    case 1:
    getitem 2375,1;
    goto warp2;
    case 2:
    getitem 2433,1;
    goto warp2;
    case 3:
    getitem 2374,1;
    goto warp2;
    case 4:
    getitem 2537,1;
    goto warp2;
    }
    warp2:
    warp "prontera" ,151,157;
    end;
    }
    

    Messy script..

    /pif

  2. the problem I see is this

    One:
    if ( Soul < 50000 ) {
    mes "I need 50,000 Souls...";
    mes "But currently you only have "+Soul+" Soul.";
    close;
    

    You don't have any script to increase the soul number, and I also don't know what script to use if you want it for all map. Maybe if for 1 map I can, but for all map I don't know.

    /hum

  3. what skill? Each skills got it own code. But here the normal that I always saw.

    Example

    case PA_PRESSURE:
     status_percent_damage(src, bl, 0,15+1*skilllv, false);
     break;
    

    The

    status_percent_damage(src, bl, 0,15+1*skilllv, false);

    15+1*skilllv mean it will dmg 15(as base dmg)+1*skilllv(as for pressure it is 5)

    so the dmg that will be take is 15+1*skilllvl = 15+5 = 20%

    The main point here is always try and repair, make backup if you dont sure what you are doing.

    /no1

    -Practice make Better-

    Maybe you can try this src code.

    just found it

    http://rathena.org/board/topic/62238-manage-skill-damage-11/

×
×
  • Create New...