Jump to content

Emistry

Forum Moderator
  • Posts

    10018
  • Joined

  • Days Won

    408

Everything posted by Emistry

  1. i suggest you to use OnPCDieEvent instead of using the attachrid to attach the dead player. - script Sample -1,{ OnPCKillEvent: if( getgmlevel() >= 50 || killedrid == getcharid(3) ) end; set @KillStreak,@KillStreak + 1; announce strcharinfo(0)+" killed "+rid2name(killedrid)+" at "+strcharinfo(3)+". "+( ( @KillStreak > 1 )?"[ Kill Streak : "+@KillStreak+" ]":"" ),bc_all; end; OnPCDieEvent: if( @KillStreak ){ announce rid2name(killerrid)+" ended "+strcharinfo(0)+"'s [ Kill Streak : "+@KillStreak+" ] at "+strcharinfo(3),bc_all; set @KillStreak,0; } end; }
  2. Emistry

    how ?

    no.you have to add in all manually or edit your src code.
  3. yes i have tested it in rAthena last time. but kinda old svn ~ not really sure with newer svn.
  4. sc_end SC_SPIRIT; for the certain map... i think you need edit the src.
  5. if (Zeny < .@Price && BaseLevel > 50 ){ if( BaseLevel > 50 ) set Zeny, Zeny-.@Price; if( BaseLevel > 50 ) set Zeny, Zeny-.@Buff; if( BaseLevel > 50 ) set Zeny, Zeny-.@BuffAndHeal;
  6. Emistry

    voting...

    you using what CP ? and how you setup the V4P ? what your V4P folder path .. ?
  7. http://rathena.org/board/topic/61244-2-deadly-max-combo/page__hl__%2Bdeadly+%2Bcombo
  8. a simple way ... maybe add in this ? bonus bAtkRate,-50;
  9. prontera,155,181,5 script Sample 757,{ if( Class < 4060 ){ mes "Only 3rd Job Class can take."; }else if( ThirdJobItem ){ mes "You have already take this ^FF0000"+getitemname(ThirdJobItem)+"^000000 before."; }else{ switch( BaseJob ){ Case Job_Knight: set .@Item,5746; break; Case Job_Wizard: set .@Item,5753; break; Case Job_Hunter: set .@Item,5748; break; Case Job_Priest: set .@Item,5747; break; Case Job_Blacksmith: set .@Item,5749; break; Case Job_Assassin: set .@Item,5755; break; Case Job_Crusader: set .@Item,5757; break; Case Job_Sage: set .@Item,5756; break; Case Job_Bard: set .@Item,5751; break; Case Job_Dancer: set .@Item,5758; break; Case Job_Monk: set .@Item,5754; break; Case Job_Alchemist: set .@Item,5752; break; Case Job_Rogue: set .@Item,5750; break; default: mes "Sorry, didnt have any for you."; close; } getitem .@Item,1; set ThirdJobItem,.@Item; mes "You have gained 1 x ^FF0000"+getitemname(.@Item)+"^000000"; } close; }
  10. ........{ if( @used < 10 ) set @used,@used + 1; else delitem <itemID>,1; },{},{}
  11. Emistry

    please help

    @charban ? @ban ? @block ? through CP ? for flux ?
  12. your script wont work...because it will keep redirect your character to the "Already" Label..because of this part... if( #quest_done == 1) { goto Already; poring_w02,100,201,5 script Freebies 873,{ mes "[^000088 Freebies Giver ^000000]"; mes "Hello, I'm the freebies giver."; mes "I only give 1 freebie's per account so use this freebies wisely."; next; mes "[^000088 Freebies Giver ^000000]"; mes "Freebies has been given."; if( #quest_done == 1){ mes "You have already Freebies items"; }else{ getitem 607, 10; getitem 602, 10; getitem 2311, 1; getitem 2404, 1; getitem 2504, 1; getitem 4142, 1; getitem 4147, 1; set #quest_done, 1; warp "turbo_room",100,99; mes "Enjoy your freebies."; } close; OnInit: waitingroom "Freebies",0; end; }
  13. it will only show when you have meet the minimum point to exchange to bronze coin
  14. try this prontera,155,181,5 script Sample 757,{ switch( select( "Enter Greedy Points Room", "Exchange Points to "+getitemname(.CoinID), "Check Points", "Exit" ) ){ Case 1: warp .Map$,0,0; end; Case 2: mes "You got "+#Points+" Points."; mes "How many will be used to change into "+getitemname(.CoinID)+" ?"; mes "Each "+getitemname(.CoinID)+" = "+.Rate+" Points."; if( #Points >= .Rate ){ input .@Amount,0,#Points; set .@Calculation,( .@Amount / .Rate ); if( .@Calculation ){ set #Points,#Points - ( .@Calculation * .Rate ); getitem 673,.@Calculation; mes "Gained "+.@Calculation+" x "+getitemname(.CoinID); } } close; Case 3: mes "You got "+#Points+" Points."; default: break; } close; OnInit: set .Map$,"guild_vs5"; set .CoinID,673; set .Rate,10; monster .Map$,0,0,1002,100,strnpcinfo(0)+"::OnKilled"; end; OnKilled: set #Points,#Points + rand(1,2); monster .Map$,0,0,1002,1,strnpcinfo(0)+"::OnKilled"; end; }
  15. the link posted by RCharles already fit in what you want.
  16. item_db.txt ( Not a good way ) ...........{},{ set MaxWeight,MaxWeight + 10000; },{ set MaxWeight,MaxWeight - 10000 } or use Gym Pass ( Better )
×
×
  • Create New...