Jump to content

sandbox

Members
  • Posts

    949
  • Joined

  • Last visited

  • Days Won

    16

Everything posted by sandbox

  1. if(isequippedcnt(4451) < 2) bonus bMatk,100;
  2. Place this script on a usable item.. atcommand "@homfriendly 100";
  3. You have to talk to the NPC and use it..
  4. Check my script http://rathena.org/board/topic/93385-yet-another-town-invasion-v21/ and this thread... http://rathena.org/board/topic/93368-monster-invasion-script/?hl=%2Bmonster+%2Binvasion
  5. Might be the guild skills, verify if the player was near the guild master when this happened.
  6. Help with what? It didn't work? Can you post errors
  7. Find successrefitem @part; Replace while(getequiprefinerycnt(@part) < 10) successrefitem @part;
  8. Post the error here, so I could kindly check.
  9. Check your configs at battle.conf
  10. It already works like that, unless you mean something else?
  11. +Added hatred reset based from a request.
  12. I've updated the post containing the script, test it out
  13. Read this, you can easily find what you need here. https://github.com/rathena/rathena/blob/master/doc/item_bonus.txt https://github.com/rathena/rathena/blob/master/doc/script_commands.txt Since you're a ZeRO player, i'll show you some bonuses that you are looking for bonus bMaxHPrate,n; //MaxHP + n% bonus bFlee,n; //Flee + n bonus2 bResEff,eff,n; //Adds a n/100% tolerance to status eff
  14. Then read the codes here.. https://github.com/rathena/rathena/blob/master/src/map/status.c Press ctrl+F then type SC_FEAR / SC_DPOISON
  15. Try to comment out the switch case for the skill here. https://github.com/rathena/rathena/blob/master/src/map/skill.c#L13893
  16. Use the search function next time.. http://rathena.org/board/topic/93540-item-shower-command-please/?hl=%2Bitemshower+%2Bcommand#entry249179
  17. I think you have a typo. SELECT account_id,key,value FROM acc_reg_num_db
  18. Maybe your client was diffed to read your data folder first?
  19. Check my script out. http://rathena.org/board/topic/93063-empladder/#entry247019
  20. You can see all of the available effects here. https://github.com/rathena/rathena/blob/master/doc/effect_list.txt
  21. Check them here. http://irowiki.org/wiki/Status_Effects
  22. sandbox

    Max HP

    Set it up here https://github.com/rathena/rathena/blob/master/conf/battle/player.conf#L76
  23. it should be guild_vs2(tab)mapflag(tab)restricted(tab)4
  24. prontera,157,195,3 script Castle Reward 965,{ mes "^000088[Emperium]^000000"; mes "Greetings, adventurer.."; mes "Do you want to redeem your guild reward for last session War of Emperium?"; mes "Scripted by "; next; waitingroom "Woe Reward",0; mes "^000088[Emperium]^000000"; mes "Please select your castle."; next; if ( agitcheck() ) goto L_woeon; menu // "Neuschwanstein",L_aldeg_cas01, // "Hohenschwangau",L_aldeg_cas02, // "Nuenberg",L_aldeg_cas03, // "Wuerzburg",L_aldeg_cas04, // "Rothenburg",L_aldeg_cas05, // "Repherion",L_gefg_cas01, // "Eeyolbriggar",L_gefg_cas02, // "Yesnelph",L_gefg_cas03, // "Bergel",L_gefg_cas04, // "Mersetzdeitz",L_gefg_cas05, // "Bright Arbor",L_payg_cas01, // "Scarlet Palace",L_payg_cas02, // "Holy Shadow",L_payg_cas03, // "Sacred Altar",L_payg_cas04, // "Bamboo Grove Hill",L_payg_cas05, "Kriemhild",L_prtg_cas01, "Swanhild",L_prtg_cas02, "Fadhgridh",L_prtg_cas03, "Skoegul",L_prtg_cas04; "Gondul",L_prtg_cas05; L_aldeg_cas01: if ( getcastledata( "aldeg_cas01", 1) != getcharid(2) ) goto L_not_owner; if ( $castle_claimed[1] ) goto L_claimed; if ( getguildmasterid( getcharid(2) ) != getcharid(0) ) goto L_not_gm; mes "receiving the reward for this castle"; getitem 7227, 50; set $castle_claimed[1], 1; close; L_aldeg_cas02: if ( getcastledata( "aldeg_cas02", 1) != getcharid(2) ) goto L_not_owner; if ( $castle_claimed[2] ) goto L_claimed; if ( getguildmasterid( getcharid(2) ) != getcharid(0) ) goto L_not_gm; mes "receiving the reward for this castle"; getitem 7227, 50; set $castle_claimed[2], 1; close; L_aldeg_cas03: if ( getcastledata( "aldeg_cas03", 1) != getcharid(2) ) goto L_not_owner; if ( $castle_claimed[3] ) goto L_claimed; if ( getguildmasterid( getcharid(2) ) != getcharid(0) ) goto L_not_gm; mes "receiving the reward for this castle"; getitem 7539, 300; set $castle_claimed[3], 1; close; L_aldeg_cas04: if ( getcastledata( "aldeg_cas04", 1) != getcharid(2) ) goto L_not_owner; if ( $castle_claimed[4] ) goto L_claimed; if ( getguildmasterid( getcharid(2) ) != getcharid(0) ) goto L_not_gm; mes "receiving the reward for this castle"; getitem 7539, 300; set $castle_claimed[4], 1; close; L_aldeg_cas05: if ( getcastledata( "aldeg_cas05", 1) != getcharid(2) ) goto L_not_owner; if ( $castle_claimed[5] ) goto L_claimed; if ( getguildmasterid( getcharid(2) ) != getcharid(0) ) goto L_not_gm; mes "receiving the reward for this castle"; getitem 7539, 300; set $castle_claimed[5], 1; close; L_gefg_cas01: if ( getcastledata( "gefg_cas01", 1) != getcharid(2) ) goto L_not_owner; if ( $castle_claimed[6] ) goto L_claimed; if ( getguildmasterid( getcharid(2) ) != getcharid(0) ) goto L_not_gm; mes "receiving the reward for this castle"; getitem 7539, 300; set $castle_claimed[6], 1; close; L_gefg_cas02: if ( getcastledata( "gefg_cas02", 1) != getcharid(2) ) goto L_not_owner; if ( $castle_claimed[7] ) goto L_claimed; if ( getguildmasterid( getcharid(2) ) != getcharid(0) ) goto L_not_gm; mes "receiving the reward for this castle"; getitem 7539, 300; set $castle_claimed[7], 1; close; L_gefg_cas03: if ( getcastledata( "gefg_cas03", 1) != getcharid(2) ) goto L_not_owner; if ( $castle_claimed[8] ) goto L_claimed; if ( getguildmasterid( getcharid(2) ) != getcharid(0) ) goto L_not_gm; mes "receiving the reward for this castle"; getitem 7539, 300; set $castle_claimed[8], 1; close; L_gefg_cas04: if ( getcastledata( "gefg_cas04", 1) != getcharid(2) ) goto L_not_owner; if ( $castle_claimed[9] ) goto L_claimed; if ( getguildmasterid( getcharid(2) ) != getcharid(0) ) goto L_not_gm; mes "receiving the reward for this castle"; getitem 7539, 300; set $castle_claimed[9], 1; close; L_gefg_cas05: if ( getcastledata( "gefg_cas05", 1) != getcharid(2) ) goto L_not_owner; if ( $castle_claimed[10] ) goto L_claimed; if ( getguildmasterid( getcharid(2) ) != getcharid(0) ) goto L_not_gm; mes "receiving the reward for this castle"; getitem 7539, 300; set $castle_claimed[10], 1; close; L_payg_cas01: if ( getcastledata( "payg_cas01", 1) != getcharid(2) ) goto L_not_owner; if ( $castle_claimed[11] ) goto L_claimed; if ( getguildmasterid( getcharid(2) ) != getcharid(0) ) goto L_not_gm; mes "receiving the reward for this castle"; getitem 7539, 300; set $castle_claimed[11], 1; close; L_payg_cas02: if ( getcastledata( "payg_cas02", 1) != getcharid(2) ) goto L_not_owner; if ( $castle_claimed[12] ) goto L_claimed; if ( getguildmasterid( getcharid(2) ) != getcharid(0) ) goto L_not_gm; mes "receiving the reward for this castle"; getitem 7539, 300; set $castle_claimed[12], 1; close; L_payg_cas03: if ( getcastledata( "payg_cas03", 1) != getcharid(2) ) goto L_not_owner; if ( $castle_claimed[13] ) goto L_claimed; if ( getguildmasterid( getcharid(2) ) != getcharid(0) ) goto L_not_gm; mes "receiving the reward for this castle"; getitem 7539, 300; set $castle_claimed[13], 1; close; L_payg_cas04: if ( getcastledata( "payg_cas04", 1) != getcharid(2) ) goto L_not_owner; if ( $castle_claimed[14] ) goto L_claimed; if ( getguildmasterid( getcharid(2) ) != getcharid(0) ) goto L_not_gm; mes "receiving the reward for this castle"; getitem 7539, 300; set $castle_claimed[14], 1; close; L_payg_cas05: if ( getcastledata( "payg_cas05", 1) != getcharid(2) ) goto L_not_owner; if ( $castle_claimed[15] ) goto L_claimed; if ( getguildmasterid( getcharid(2) ) != getcharid(0) ) goto L_not_gm; mes "receiving the reward for this castle"; getitem 7539, 300; set $castle_claimed[15], 1; close; L_prtg_cas01: if ( getcastledata( "prtg_cas01", 1) != getcharid(2) ) goto L_not_owner; if ( $castle_claimed[16] ) goto L_claimed; if ( getguildmasterid( getcharid(2) ) != getcharid(0) ) goto L_not_gm; mes "[Emperium]"; mes "receiving the reward for this castle"; set zeny, zeny + 100000; getitem 30154,50; getitem 12090,5; getitem 12080,5; getitem 12095,5; getitem 12085,5; getitem 12075,5; set $castle_claimed[16], 1; close; L_prtg_cas02: if ( getcastledata( "prtg_cas02", 1) != getcharid(2) ) goto L_not_owner; if ( $castle_claimed[17] ) goto L_claimed; if ( getguildmasterid( getcharid(2) ) != getcharid(0) ) goto L_not_gm; mes "receiving the reward for this castle"; set zeny, zeny + 100000; getitem 30154,50; getitem 12090,5; getitem 12080,5; getitem 12095,5; getitem 12085,5; getitem 12075,5; set $castle_claimed[17], 1; close; L_prtg_cas03: if ( getcastledata( "prtg_cas03", 1) != getcharid(2) ) goto L_not_owner; if ( $castle_claimed[18] ) goto L_claimed; if ( getguildmasterid( getcharid(2) ) != getcharid(0) ) goto L_not_gm; mes "[Emperium]"; mes "receiving the reward for this castle"; set zeny, zeny + 100000; getitem 30154,50; getitem 12090,5; getitem 12080,5; getitem 12095,5; getitem 12085,5; getitem 12075,5; set $castle_claimed[18], 1; close; L_prtg_cas04: if ( getcastledata( "prtg_cas04", 1) != getcharid(2) ) goto L_not_owner; if ( $castle_claimed[19] ) goto L_claimed; if ( getguildmasterid( getcharid(2) ) != getcharid(0) ) goto L_not_gm; mes "receiving the reward for this castle"; getitem 30154,50; getitem 12090,5; getitem 12080,5; getitem 12095,5; getitem 12085,5; getitem 12075,5; set $castle_claimed[19], 1; close; L_prtg_cas05: if ( getcastledata( "prtg_cas05", 1) != getcharid(2) ) goto L_not_owner; if ( $castle_claimed[20] ) goto L_claimed; if ( getguildmasterid( getcharid(2) ) != getcharid(0) ) goto L_not_gm; mes "receiving the reward for this castle"; getitem 30154,50; getitem 12090,5; getitem 12080,5; getitem 12095,5; getitem 12085,5; getitem 12075,5; set $castle_claimed[20], 1; close; L_woeon: mes "^000088[Emperium]^000000"; mes "A war is currently in progress."; mes "If your guild owned a castle ask your guild master to see me to claim the reward."; close; L_not_owner: mes "^000088[Emperium]^000000"; mes "Your guild failed to take this castle."; mes "If your guild owned a castle ask your guild master to claim reward from me."; close; L_claimed: mes "^000088[Emperium]^000000"; mes "Your guild already received the reward for this castle."; close; L_not_gm: mes "^000088[Emperium]^000000"; mes "Ask your guild master to see me."; close; OnAgitEnd: set $castle_claimed[1], 0; // everytime woe ends the variable resets set $castle_claimed[2], 0; set $castle_claimed[3], 0; set $castle_claimed[4], 0; set $castle_claimed[5], 0; set $castle_claimed[6], 0; set $castle_claimed[7], 0; set $castle_claimed[8], 0; set $castle_claimed[9], 0; set $castle_claimed[10], 0; set $castle_claimed[11], 0; set $castle_claimed[12], 0; set $castle_claimed[13], 0; set $castle_claimed[14], 0; set $castle_claimed[15], 0; set $castle_claimed[16], 0; set $castle_claimed[17], 0; set $castle_claimed[18], 0; set $castle_claimed[19], 0; set $castle_claimed[20], 0; end; OnInit: waitingroom "Woe Reward",0; end; } Try it, some extra closing brace and a misplaced OnInit event.
×
×
  • Create New...