Jump to content

Emistry

Forum Moderator
  • Posts

    10018
  • Joined

  • Days Won

    408

Everything posted by Emistry

  1. instead of for perhap you might wanna try this ? while( HP < MaxHP ){ progressbar "0x11CC99",2; percentheal rand(2,5),rand(2,5); }
  2. hmm ? you mean disable MVP from using Reflection skill ?? remove the Reflect Skill entry for MVP inside trunk/db/re/mob_skill_db.txt
  3. getinventorylist; while( .@i < @inventorylist_count ){ if( @inventorylist_bound[.@i] ){ mes "This item "+getitemname( @inventorylist_id[.@i] )+" is bounded."; close; } set .@i,.@i + 1; } close;
  4. function script ShoesDeny { setarray .@card_list,4009,4038,4050,4070,4097,4100,4107,4123,4131,4151,4160,4164,4168,4186,4199,4200,4204,4208,4221,4235,4236,4239,4244,4245,4249,4257,4267,4275,4290,4319,4352,4376,4378,4381,4396,4417,4435,4441,4467,4478,4482,4488,4490,4495,4498,4504,4532,4539; set .@size,getarraysize( .@card_list ); while( .@i < .@size ){ if( isequipped( .@card_list[.@i] ) ){ unequip EQI_SHOES; break; } set .@i,.@i + 1; } return; } call the function using callfunc( "ShoesDeny" );
  5. Emistry

    login Msg

    OnPCLoginEvent: announce "Blablablabla",bc_self;
  6. Emistry

    Help please

    if( attachrid( $@partymemberaid[.@i] ) ){ set .@sharedpoints, (50/$@partymembercount); set #CASHPOINTS, #CASHPOINTS + .@sharedpoints; dispbottom "Gained "+.@sharedpoints+" Points."; }
  7. check ur quest shop script ... the quest requirement is invalid ... trunk/npc/custom/quests/quest_shop.txt
  8. 604,Branch_Of_Dead_Tree,Dead Branch,18,50,,50,,,,,0xFFFFFFFF,7,2,,,,,,{ if( strcharinfo(3) == "06@guild_02" ){ monster "this",-1,-1,"--ja--",-1,1,""; delitem 604,1; }else{ dispbottom "You cant use here"; } },{},{}
  9. if( getskilllv("<skillname>") <= 5 ) unequip <equipmentpart>;
  10. then show your custom source mod...we dont know how you implement ur own custom src mod for this ==''
  11. make sure your char located inside these maps.. strcharinfo(3) == "06@guild_02" || strcharinfo(3) == "pvp_n_1-1" || strcharinfo(3) == "pvp_n_2-1" || strcharinfo(3) == "pvp_n_3-1" || strcharinfo(3) == "pvp_n_4-1" || strcharinfo(3) == "pvp_n_5-1" || strcharinfo(3) == "pvp_n_6-1" || strcharinfo(3) == "pvp_n_7-1" || strcharinfo(3) == "pvp_n_8-1"
  12. 604,Branch_Of_Dead_Tree,Dead Branch,2,50,,50,,,,,0xFFFFFFFF,7,2,,,,,,{ if( strcharinfo(3) == "06@guild_02" || strcharinfo(3) == "pvp_n_1-1" || strcharinfo(3) == "pvp_n_2-1" || strcharinfo(3) == "pvp_n_3-1" || strcharinfo(3) == "pvp_n_4-1" || strcharinfo(3) == "pvp_n_5-1" || strcharinfo(3) == "pvp_n_6-1" || strcharinfo(3) == "pvp_n_7-1" || strcharinfo(3) == "pvp_n_8-1" ) monster "this",-1,-1,"--ja--",-1,1,""; },{},{} work fine for me...dont have any problem =='' ... if you got problem please specify it...
  13. http://pastebin.com/raw.php?i=hRL5Ze54
  14. http://rathena.org/board/topic/59964-custom-droprate/#entry84489
  15. use getcharid if( getcharid(1) ){ // you got party.. }
  16. OnMobsterKillEvent: getpartymember getcharid(1),1; getpartymember getcharid(1),2; .@acc_id = getcharid(3); for( .@i = 0; .@i < $@partymembercount; .@i++ ) if( isloggedin( $@partymemberaid[.@i],$@partymembercid[.@i] ) ) if( attachrid( $@partymemberaid[.@i] ) ) #CASHPOINTS += ( 100 / $@partymembercount ); attachrid( .@acc_id ); dispbottom "All ur partymember gained point."; end;
  17. if you are using latest svn ...this script wont work anymore ...
  18. something like this ?? http://pastebin.com/raw.php?i=KpAU0jWE
  19. - script Sample -1,{ OnPCBaseLvUpEvent: if( BaseLevel == 99 ){ if( $count < 3 ) getitem 714,1; } else if( $count < 100 ){ getitem 7227,1; dispbottom "gained rewards.."; } $count++; } end; }
  20. http://pastebin.com/raw.php?i=7kXPcQgt
×
×
  • Create New...