Jump to content

Emistry

Forum Moderator
  • Posts

    10018
  • Joined

  • Days Won

    408

Everything posted by Emistry

  1. getitem2 just add the item into the "card slot"
  2. just make it as a npc sprite ...
  3. change 1917,// Wounded Morroc to 1917;// Wounded Morroc
  4. bonus2 bAddRace,RC_DemiHuman,( 20 / isequipped( 4035 ) );
  5. Emistry

    Item rate

    disable renewal drop ....or adjust the modifier here trunk/db/re/level_penalty.txt
  6. Emistry

    Dispell

    debuff script ... actually there are a few of this topic has been discussed before ... and i believe you can easily search for it in forum / google ... when come to debuff script ... we dont use sc_end SC_ALL; sc_end -1; because these will remove the jail / overweight / mute status..and etc ... you have to check for specific status before you reset it .... - script Sample -1,{ OnInit: set .map$,"guild_vs2"; setmapflag .map$,mf_loadevent; end; OnPCLoadMapEvent: if( strcharinfo(3) == .map$ ) while( .@i < 553 ){ if( .@i != SC_WEIGHT50 && .@i != SC_WEIGHT90 && .@i != SC_JAILED && .@i != SC_NOCHAT ) sc_end .@i; set .@i,.@i + 1; } end; }
  7. Emistry

    Dispell

    OnPCLoadMapEvent: if( strcharinfo(3) == "mapname" && !getskilllv( <skillid> ) ) skill <skillid>,<level>,<param>; end;
  8. UPDATE `inventory` SET `refine` = 7 WHERE `refine` > 7; do the same to other table .... and do this after you shutdown the server..
  9. make sure you have to required function script "refinenew"
  10. what mean ?? what character variable in these command?
  11. Emistry

    Dispell

    *skill <skill id>,<level>{,<flag>}; *skill "<skill name>",<level>{,<flag>}; *addtoskill <skill id>,<level>{,<flag>}; *addtoskill "<skill name>",<level>{,<flag>}; These commands will give the invoking character a specified skill. This is also used for item scripts. Level is obvious. Skill id is the ID number of the skill in question as per 'db/(pre-)re/skill_db.txt'. It is not known for certain whether this can be used to give a character a monster's skill, but you're welcome to try with the numbers given in 'db/(pre-)re/mob_skill_db.txt'. Flag is 0 if the skill is given permanently (will get written with the character data) or 1 if it is temporary (will be lost eventually, this is meant for card item scripts usage.). The flag parameter is optional, and defaults to 1 in 'skill' and to 2 in 'addtoskill'. Flag 2 means that the level parameter is to be interpreted as a stackable additional bonus to the skill level. If the character did not have that skill previously, they will now at 0+the level given. // This will permanently give the character Stone Throw (TF_THROWSTONE,152), at // level 1. skill 152,1,0;
  12. change to this exchange: mes "[Gold Room Warperer]"; mes "Hmm...let me see"; mes "You have " +gold+ "."; if (gold == 0) goto nogold; mes "Input how many gold to exchange."; input .@amount,0,gold; if( .@amount ){ mes "Ok get this."; next; if (checkweight(969,.@amount) == 0) goto L_OverWeight; getitem 969, .@amount; set gold, gold - .@amount; emotion e_gg; } close;
  13. goddameit's script > woe reward or https://rathena.svn.sourceforge.net/svnroot/rathena/trunk/npc/custom/woe_controller.txt
  14. OnPCLoginEvent: if( !getgmlevel() )
  15. erm .... actually i was thinking to make a post for this since the day you posted this script.. = ) ..but been busy with school work...until i forgotten about this... personally i dont like having both password / guild position as restriction .... but i like the idea for restrict by guild position ... and i also planning to make it long time ago since the first time i saw a similar system in GM Xeon WOE Setter ..xD by default , a guild just having around 20 position....so i would suggest using Bitmask for this .... normally it can support up to 31 position without any problem xD ( above 31 need some..Keyworld's trick .... Somewhere in Script Support forum ...a Topic made by AnnieRuru .... ) using the bitmask you can set the restriction to guild storage even better than current way ...i believe so ~ something like this http://pastebin.com/raw.php?i=AJYVqfJD no offence...just sharing some idea / thoughts..= )
  16. OnTBoxKilled: announce "The rare Treasure Box has been founded and destroyed by "+strcharinfo(0)+"!", bc_all; getmapxy( .@map$,.@x,.@y,0 ); makeitem 7227,1,.@map$,.@x,.@y; getitem 7227, 1; end;
  17. countitem change to countitem2 with the required requirements..
  18. prontera,155,181,5 script Sample 757,{ .@guild_id = getcharid(2); if( !.@guild_id ){ mes "You dont have guild."; }else{ query_sql( "SELECT `account_id`,`char_id`,`online`,`name` FROM `guild_member` WHERE `guild_id`='"+.@guild_id+"'",.@aid,.@cid,.@online,.@name$ ); mes "Select a guild member."; .@i = select( implode( .@name$,":" ) ) - 1; if( !.@online[.@i] ){ if( isloggedin( .@aid[.@i] ) ){ mes "He online with other characters.."; }else{ mes "He is offline."; } }else{ if( select( "Warp to him","Cancel" ) == 1 ){ getmapxy( .@map$,.@x,.@y,0,.@name$[.@i] ); warp .@map$,.@x,.@y; } } } close; }
  19. *setnpcdisplay("<npc name>", "<display name>", <class id>, <size>) *setnpcdisplay("<npc name>", "<display name>", <class id>) *setnpcdisplay("<npc name>", "<display name>") *setnpcdisplay("<npc name>", <class id>) Changes the display name and/or display class of the target NPC. Returns 0 is successful, 1 if the NPC does not exist. Size is 0 = normal 1 = small 2 = big.
  20. i think you have removed all the function script that used by kafra.....
  21. OnMinute00: change to OnClock0000: OnClock0300: OnClock0600: //etc.. or... OnMinute00: if( gettime(3) % 3 != 0 ) end;
  22. if you are using only 1 Castle...then just remove the other castle's ownership .... @version
×
×
  • Create New...