Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 07/16/20 in Posts

  1. you want to set your max stats to 500 or 750 right? change your 7500 to 750 only if you want to set it to 750 max stats.and also don't forget to recompile your server every time you make changes on your source file.
    1 point
  2. prontera,154,180,0 script rental item 444,{ if(#CASHPOINTS){ rentitem <item id>,<time>;//time in seconds, 1 day = 86400 #CASHPOINTS -= 1; } end; OnInit: waitingroom "[ Click Me! ]",0; end; }
    1 point
  3. Wow hi okay, I made this long ago! Haha anyways, replace all .delay with #delay and try again.
    1 point
  4. } else { if ( sc->data[SC_REFLECTSHIELD] && skill_id != WS_CARTTERMINATION && skill_id != GS_DESPERADO ) { // Don't reflect non-skill attack if has SC_REFLECTSHIELD from Devotion bonus inheritance if (!skill_id && battle_config.devotion_rdamage_skill_only && sc->data[SC_REFLECTSHIELD]->val4) rdamage = 0; else { rdamage += damage * sc->data[SC_REFLECTSHIELD]->val2 / 100; if (rdamage < 1) rdamage = 1; } }
    1 point
  5. Try this you can do the same thing for others just change the " maintown " - script maintown -1,{ OnInit: bindatcmd "maintown",strnpcinfo(3)+"::OnAtcommand"; end; OnAtcommand: atcommand "@warp phtownall 199 184"; end; }
    1 point
  6. For the shop trunk/npc/custom/quests/quest_shop.txt or http://rathena.org/board/files/file/2504-multi-currency-shop/ About the exchange skull -> skull points prontera,155,167,5 script sdfghj 56,{ .@char_id = getcharid(0); .@count = countitem( 7420 ) - countitem2( 7420, 1,0,0, 254, 0, .@char_id, 0 ); // can't exchange his own skull mes "You have "+ .@count +" skull."; if ( .@count == 0 ) close; mes "Exchange your pvp skulls ?"; next; if ( select( "~ Yes", "~ No" ) -1 ) end; .@count = countitem( 7420 ) - countitem2( 7420, 1,0,0, 254, 0, .@char_id, 0 ); getinventorylist; while( .@i < @inventorylist_count && .@j < .@count ) { if ( @inventorylist_id[.@i] == 7420 && @inventorylist_card3[.@i] != .@char_id ) { delitem2 7420, @inventorylist_amount[.@i],1,0,0, @inventorylist_card1[.@i], 0, @inventorylist_card3[.@i], 0; .@j++; } .@i++; } #skull_points = #skull_points + .@count; mes "You got "+ .@count +" Skull points. Total: "+ #skull_points +" Skull points."; close; }
    1 point
  7. You can use sir Euphy's Multi Shop . Its right here >>>> http://pastebin.com/raw.php?i=YftccqDs just look for this line: setarray .Currency[1],513,513,513,513,513,513,513,513; and change the 513 into the Skull's item id which would be 7420 . Thus it will look like this setarray .Currency[1],7420,7420,7420,7420,7420,7420,7420,7420; Then look for this : setarray .Shop1[0],1202,5,1229,20; *change the 1202(itemid) into your desired item to be vended, as sir Euphy stated, // Currency: The ID of each shop currency, // in the same order as the shops. // Shop order follows that of the select() call, // and is formatted "ID1,Count1,ID2,Count2,..." Cheers!
    1 point
×
×
  • Create New...