Jump to content

Seizure

Members
  • Posts

    65
  • Joined

  • Last visited

Posts posted by Seizure

  1. Hallo Umbrai,

    ich empfehle dir den standart rA (/npc/custom/healer)

    https://rathena.svn.sourceforge.net/svnroot/rathena/trunk/npc/custom/healer.txt

    und du kannst mein 1click indi benutzen /no1

    casp_in01,171,268,6 script Identifier 100,{
    getinventorylist;
    for( set .@i,0; .@i < @inventorylist_count; set .@i, .@i + 1 ) {
    if ( @inventorylist_identify[.@i] == 1 ) continue;
    // Merchant's Identify skill
    if ( getskilllv(40) == 1 && sp >= 10 ) heal 0,-10;
    // check if there is any Magnifier
    else if ( countitem(611) ) delitem 611,1;
    // base on Magnifier price, Rogue's Compulsion Discount skill
    else if ( getskilllv(224) && zeny >= ( 100 - ( 5 + 4 * getskilllv(224) ) )* 2/5 )
    set zeny, zeny - ( 100 - ( 5 + 4 * getskilllv(224) ) )* 2/5;
    // base on Magnifier price, Merchants that not enough sp and learned Discount skill
    else if ( getskilllv(37) && zeny >= ( 100 - ( 5 + 2 * getskilllv(37) ) )* 2/5 )
     set zeny, zeny - ( 100 - ( 5 + 2 * getskilllv(37) ) )* 2/5;
    // if none of the above, deduct the zeny
    else if ( zeny >= 40 )  set zeny, zeny - 40;
    // or stop the script if there the person not enough money
    else break;
    delitem2 @inventorylist_id[.@i],1,0,0,0,0,0,0,0;
    getitem @inventorylist_id[.@i],1;
    }
    }
    

  2. if you want to add commands like @go,@warp ......

    example:

    groups: (
    {
    id: 0 /* group 0 is the default group for every new account */
    name: "Player"
    level: 0
    inherit: ( /*empty list*/ )
    commands: {
     commands: true
     storage: true
     mobinfo: true
     iteminfo: true
     whodrops: true
     time: true
     jailtime: true
     hominfo: true
     go: true
    }
    permissions: {
     /* without this basic permissions regular players could not
     trade or party */
     can_trade: true
     can_party: true
    }
    

    command:true/false

×
×
  • Create New...