Jump to content

manabeast

Members
  • Posts

    835
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by manabeast

  1. oh. yaya. now the problem fix now. but sometime have dota sound something dun have dota sound. weird.
  2. what happen ?? @.@? why like this? when kill any player will get this error.
  3. already have three } } } add one more this? } } } } }
  4. hello, do anyone know how to remove this line? switch(select("Weapons:Nothing")) { i try remove but make the script not working . talk to this npc look like need click alot button. feel want to remove it. //===== rAthena Script ======================================= //= Shop Street //===== By: ================================================== //= Masao(Shopstreet) - Original Mall Script //= Virtue(All in 1 Mall NPC) //===== Current Version: ===================================== //= 1.0 [Masao] //===== Compatible With: ===================================== //= rAthena SVN //= Judas SVN //===== Description: ========================================= //Street Mall in One NPC //Change "Your Server Name" to your Server Name or whhat ever you desire" //============================================================ mor_in,118,165,4 script Famous Blacksmite 851,{ mes "[Quick Mall]"; mes "Welcome to ^FF0000Your Server Name^000000 ^000088Quick Mall^000000."; mes "Hello there ^FF0000" + strcharinfo(0) + "^000000."; mes "Please select what you want"; switch(select("Weapons:Nothing")) { close2; case 1: switch(select("Katars:Mace:Knuckle:Whips:Instruments:Books:Guns:Fuuma:One-Handed Swords:Two-Handed Swords:Spears:Dagger:Axes:Bows:Staffs")) { case 1: callshop "Katars", 0; end; case 2: callshop "Mace", 0; end; case 3: callshop "Knuckle", 0; end; case 4: callshop "Whips", 0; end; case 5: callshop "Instruments", 0; end; case 6: callshop "Books", 0; end; case 7: callshop "Guns", 0; end; case 8: callshop "Fuuma", 0; end; case 9: callshop "OneSwords", 0; end; case 10: callshop "TwoSwords", 0; end; case 11: callshop "Spears", 0; end; case 12: callshop "Dagger", 0; end; case 13: callshop "Axes", 0; end; case 14: callshop "Bows", 0; end; case 15: callshop "Staffs", 0; close; } } } //shops - shop Katars -,1250:19500,1252:41000,1254:37200,1257:300000,1256:300000,1259:400000 - shop Mace -,1544:500000,1532:3000000 - shop Knuckle -,1802:25000,1816:150000,1810:95000,1822:70000,1820:70000,1819:70000,1818:70000,1821:70000,1825:500000 - shop Whips -,1964:20000,1951:30000,1962:40000,1982:60000,1974:60000,1971:70000,1967:70000,1966:70000,1965:70000,1963:70000,1979:80000,1976:100000,1980:130000,1972:200000 - shop Instruments -,1920:20000,1925:30000,1906:40000,1913:70000,1914:70000,1917:70000,1916:70000,1915:70000,1925:85000,1912:100000,1926:130000,1922:180000 - shop Books -,1553:35000,1554:35000,1555:35000,1556:35000,1557:60000,1565:7000000,1572:15000000 - shop Guns -,13103:60000,13105:80000,13110:80000,13106:100000,13150:30000,13152:50000,13166:100000,13170:150000,13157:-1,13159:-1,13155:90000,13156:120000,13169:120000,13154:120000,13161:160000,13162:200000 - shop Fuuma -,13305:30000,13304:60000,13302:80000,13303:150000,13300:150000,13107:180000 - shop OneSwords -,1101:1500,1104:2500,1107:3000,1110:10000,1113:17000,1122:24000,1119:51000,1123:50000,1126:49000,1149:150000,1302:5000,1352:10000,16001:4000000 - shop TwoSwords -,1155:40000,1117:40000,1162:80000,1152:100000,1158:120000,1172:140000,1180:140000,1178:160000,1182:180000,1171:200000,1188:200000,1189:300000 - shop Spears -,1408:45000,1421:70000,1418:90000,1414:130000,1417:200000,1420:300000,1422:500000,1478:50000,1485:100000,1464:120000,1481:180000,1476:300000,1470:350000,1484:5000000 - shop Dagger -,1201:-1,1204:-1,1207:-1,1226:70000,13011:100000,1245:150000,13005:300000,13033:150000,13004:200000,13034:400000,1231:500000,13038:500000 - shop Axes -,1302:-1,1309:60000,1311:100000,1352:70000,1355:80000,1366:150000,1361:200000,1375:300000,1384:800000 - shop Bows -,1701:-1,1705:30000,1715:60000,1741:80000,1730:100000,1732:100000,1731:100000,1733:100000,1716:120000,1736:150000,1740:180000,1723:180000,1719:300000,1745:300000,1727:500000,1723:800000 - shop Staffs -,1601:-1,1622:300000,1618:1000000,1646:4000000,1643:50000,2005:300000,1625:2000000,2001:5000000,1624:8000000,2000:18000000 dicastes01,230,240,5 duplicate(Famous Blacksmite) Famous Blacksmite#01 478
  5. thanks. it's work. because below thing i no add in. i just add like normal item so it's wont read. -num2itemdesctable -num2itemdisplaynametable -num2itemresnametable
  6. hi. anyone can help me remove the direct change when lv99 knight those? i dun want lose lord knight skill and other trans class skill. i have test if direct change will only have 3rd job skill. but dun have trans skill Thanks Emistry jobmaster.txt
  7. What else make delay for character? i have delay when using skill. skill conf // The rate of time it takes to cast a spell (Note 2, 0 = No casting time) casting_rate: 100 // Delay time after casting (Note 2) delay_rate: 0 // Does the delay time depend on the caster's DEX and/or AGI? (Note 1) // Note: On Official servers, neither Dex nor Agi affect delay time delay_dependon_dex: no delay_dependon_agi: no // Minimum allowed delay for ANY skills after casting (in miliseconds) (Note 1) // Note: Setting this to anything above 0 can stop speedhacks. min_skill_delay_limit: 0 skill db //===== Monk =============================== //-- MO_CALLSPIRITS 261,1000,0,0,600000,0,0 //-- MO_ABSORBSPIRITS 262,2000,0,0,0,0,0 //-- MO_TRIPLEATTACK 263,0,1000,0,0,0,0 //-- MO_INVESTIGATE 266,1000,500,0,0,0,0 //-- MO_FINGEROFFENSIVE 267,1000,500,0:200:400:600:800,0,0,0 //-- MO_STEELBODY 268,5000,0,0,30000:60000:90000:120000:150000,0,0 //-- MO_BLADESTOP 269,0,0,0,500:700:900:1100:1300,20000:30000:40000:50000:60000,0 //-- MO_EXPLOSIONSPIRITS 270,0,0,0,180000,0,0 //-- MO_EXTREMITYFIST 271,4000:3500:3000:2500:2000,0,0,0,300000,0 //-- MO_CHAINCOMBO 272,0,1000,0,0,0,0 //-- MO_COMBOFINISH 273,0,700,0,0,0,0 //========================================== src/config/renewal h // Copyright (c) rAthena Dev Teams - Licensed under GNU GPL // For more information, see LICENCE in the main folder #ifndef _CONFIG_RENEWAL_H_ #define _CONFIG_RENEWAL_H_ /** * rAthena configuration file (http://rathena.org) * For detailed guidance on these check http://rathena.org/wiki/SRC/config/ **/ /** * @INFO: This file holds general-purpose renewal settings, for class-specific ones check /src/config/classes folder **/ /// game renewal server mode /// (disable by commenting the line) /// /// leave this line to enable renewal specific support such as renewal formulas //#define RENEWAL /// renewal cast time /// (disable by commenting the line) /// /// leave this line to enable renewal casting time algorithms /// cast time is decreased by DEX * 2 + INT while 20% of the cast time is not reduced by stats. /// example: /// on a skill whos cast time is 10s, only 8s may be reduced. the other 2s are part of a /// "fixed cast time" which can only be reduced by specialist items and skills //#define RENEWAL_CAST /// renewal drop rate algorithms /// (disable by commenting the line) /// /// leave this line to enable renewal item drop rate algorithms /// while enabled a special modified based on the difference between the player and monster level is applied /// based on the http://irowiki.org/wiki/Drop_System#Level_Factor table //#define RENEWAL_DROP /// renewal exp rate algorithms /// (disable by commenting the line) /// /// leave this line to enable renewal item exp rate algorithms /// while enabled a special modified based on the difference between the player and monster level is applied //#define RENEWAL_EXP /// renewal level modifier on damage /// (disable by commenting the line) /// // leave this line to enable renewal base level modifier on skill damage (selected skills only) //#define RENEWAL_LVDMG /// renewal enchant deadly poison algorithm /// /// leave this line to enable the renewed EDP algorithm /// under renewal mode: /// - damage is NOT increased by 400% /// - it does NOT affect grimtooth /// - weapon and status ATK are increased //#define RENEWAL_EDP /// renewal ASPD [malufett] /// (disable by commenting the line) /// /// leave this line to enable renewal ASPD /// - shield penalty is applied /// - AGI has a greater factor in ASPD increase /// - there is a change in how skills/items give ASPD /// - some skill/item ASPD bonuses won't stack //#define RENEWAL_ASPD #endif // _CONFIG_RENEWAL_H_ this is the video i provide. [media=]http://www.youtube.com/watch?v=LSh0TRCz4z4&feature=youtu.be[/media] Solved: set this. no_skill_delay: 1
  8. this map work find. make sure map catcher and map index you insert correctly and in client side you have put the map file and put in mapnametable.
  9. any one have make your own custom card? why my custom card sprites insert armor those no appear? normal card those all appear when insert armor those. but effect working. hmm. how to make it appear?
  10. how to make delete character without the need of email? when i delete my char. it's call me type email. and after type it's say you entered birthday does not match. i was hoping to disable the need of email. to solved ths thing.
  11. oh.. i see. thanks. no wonder i cannot get.
  12. Solved: i should not touch the min and max i want normal card 15 % (1500) item_rate_card: 1500 item_rate_card_boss: 500 item_drop_heal_min: 1 item_drop_heal_max: 10000
  13. // The rate the common items are dropped (Items that are in the ETC tab, besides card) item_rate_common: 100 item_rate_common_boss: 100 item_drop_common_min: 1500 item_drop_common_max: 10000 // The rate healing items are dropped (items that restore HP or SP) item_rate_heal: 100 item_rate_heal_boss: 100 item_drop_heal_min: 1500 item_drop_heal_max: 10000 // The rate at which usable items (in the item tab) other then healing items are dropped. item_rate_use: 100 item_rate_use_boss: 100 item_drop_use_min: 1500 item_drop_use_max: 1500 // The rate at which equipment is dropped. item_rate_equip: 100 item_rate_equip_boss: 100 item_drop_equip_min: 1500 item_drop_equip_max: 1500 // The rate at which cards are dropped item_rate_card: 300 item_rate_card_boss: 100 item_drop_card_min: 500 item_drop_card_max: 500 // The rate adjustment for the MVP items that the MVP gets directly in their inventory item_rate_mvp: 100 item_drop_mvp_min: 1500 item_drop_mvp_max: 1500 // The rate adjustment for card-granted item drops. item_rate_adddrop: 100 item_drop_add_min: 1500 item_drop_add_max: 1500 // Rate adjustment for Treasure Box drops (these override all other modifiers) item_rate_treasure: 100 item_drop_treasure_min: 1 item_drop_treasure_max: 10000 can i ask about Drop rate? i dunno have set wrong or not. i Set like this Normal Card: 15% Normal Item: 15% Mvp Card : 5% Rare item Drop: 15% weird part are. i hunting creamy card very long still cannot get any card. hmm. 15% should be easy. why have two? item_drop_card_min: 500 item_drop_card_max: 500 and i set this item_rate_card: 300 so will be 3x 500=1500 = 15% correct me if wrong i just want 15% for all normal card hmm... ????
  14. i see. if mutes all player cannot use skill >.<. but if need 1 by 1 it's not the one i want. =) hope svn soon can implement a script for mutes certain map. i use to play ro. when pvp player so like talk and mostly are bad word like fxxk yxu / nxxb. i hope pvp no buddy can chat at pvp area. just keep quiet and peaceful play.
  15. not working. =.= still same Edit: sorry working. it's just take some minute only will change. dunno why.
  16. http://www.manaland.tk/info.php anyone know how to extend this free website? not enough for me to fill in my server infor http://upload.2essy....d/template6.zip images/container-bg.png cut the header and the body top so it will be three file there make the background the center one ( for the post ) so it'll adjust the height through your post
  17. anyone can make me a script for Mute certain map? in that map all player cannot talk or chat. i want make my pvp map not allow all ppl chat.
  18. weird.. already 4000 in there? my custom mob 3845+... hmmm any solution???
  19. very? cannot extend? ID 3500 < below custom mob will turn novice
  20. everything refer attach @@? why the server not reading ????? what happen ???? 3845,Demonring,Demonring,Demonring,70,208430,10000,5000,5000,1,411,999,60,70,35,20,10,80,70,30,2,3,0,6,67,133,100,700,100,100,0,0,0,0,0,0,0,673,3000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 3846,BlackWizard_Okto,BlackWizard_Okto,BlackWizard Okto,72,238430,11000,5000,5000,3,510,1111,62,73,5,70,12,100,126,33,5,6,1,6,80,133,100,700,100,100,0,0,0,0,0,0,0,673,5000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 3847,Mud_Monster,Mud_Monster,Mud Monster,75,258430,10000,5000,5000,1,500,1290,65,73,30,35,13,86,156,33,2,3,1,0,82,133,100,750,100,100,0,0,0,0,0,0,0,673,7000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 3848,Captain_Skull,Captain_Skull,Captain_Skull,80,302993,11000,7000,7000,1,660,1330,70,80,90,85,11,80,100,50,4,1,1,1,89,133,115,550,100,100,0,0,0,0,0,0,0,673,10000,675,3000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 3849,BloodySnake,BloodySnake,BloodySnake,80,334993,11000,7000,7000,2,860,1530,25,55,73,85,20,80,164,88,4,1,2,6,88,133,100,600,100,100,0,0,0,0,0,0,0,673,10000,675,5000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 3850,Tombeth,Tombeth,Tombeth,88,383993,10000,7000,7000,2,900,1660,90,60,50,30,18,90,100,50,4,1,1,0,82,133,100,650,100,100,0,0,0,0,0,0,0,673,10000,675,7000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 3851,Moonlight_Shadow,Moonlight_Shadow,Moonlight Shadow,90,429999,10000,7000,7000,2,777,1555,65,70,70,80,18,40,100,88,2,3,2,2,82,133,140,450,100,100,0,0,0,0,0,0,0,673,10000,673,9000,675,2000,0,0,0,0,0,0,0,0,0,0,0,0,0,0 3852,Master_Mong,Master_Mong,Master_Mong,92,463000,10000,7000,7000,1,950,1780,75,40,92,93,20,40,130,70,4,1,2,2,80,133,85,400,100,100,0,0,0,0,0,0,0,673,10000,673,10000,675,3000,0,0,0,0,0,0,0,0,0,0,0,0,0,0 3853,Undead_King,Undead_King,Undead_King,95,504444,10000,7000,7000,1,999,1880,50,42,90,130,25,130,150,100,4,1,1,1,89,133,85,480,100,100,0,0,0,0,0,0,0,673,10000,673,10000,675,5000,0,0,0,0,0,0,0,0,0,0,0,0,0,0 3854,Tink,Tink,Tink,97,330000,10000,5000,5000,2,500,1980,50,42,90,130,25,130,150,100,4,1,1,5,81,133,100,500,100,100,0,0,0,0,0,0,0,675,5000,675,5000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 3855,Bell,Bell,Bell,97,280000,10000,5000,5000,2,500,1480,30,70,80,120,25,120,140,90,4,5,1,5,81,133,100,550,100,100,0,0,0,0,0,0,0,673,10000,675,8000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 3856,Snowkid,Snowkid,Snowkid,98,387862,5000,5000,0,1,800,1955,30,70,90,130,30,135,145,95,2,3,1,0,81,0x37B5,100,620,420,360,0,0,0,0,0,0,0,673,10000,675,9000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 3857,Snowman,Snowman,Snowman,99,456666,5000,5000,0,1,999,2320,50,42,100,120,25,150,160,100,2,3,1,0,81,133,100,500,420,360,0,0,0,0,0,0,0,675,6500,675,6500,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 3858,Hallowring,Hallowring,Hallowring,99,1403000,10000,15000,15000,4,1000,9999,80,90,100,130,20,160,180,100,4,1,2,0,88,133,135,600,100,100,0,0,0,0,0,0,0,673,10000,673,10000,675,10000,675,10000,671,2000,1535,1000,0,0,0,0,0,0,0,0 3859,Meteor_Beast,Meteor_Beast,Meteor Beast,100,1703000,10000,15000,15000,4,1444,2530,80,90,120,130,20,160,160,100,4,4,2,2,83,133,135,500,135,100,0,0,0,0,0,0,0,673,10000,673,10000,675,10000,675,10000,671,4000,26016,1000,0,0,0,0,0,0,0,0 3860,Giant_baphomet,Giant_baphomet,Giant baphomet,100,2064000,100000,15000,15000,4,1670,3044,80,80,60,152,25,90,120,80,5,5,2,6,80,133,100,450,100,100,0,0,0,0,0,0,0,673,10000,673,10000,675,10000,675,10000,671,6000,26014,1000,0,0,0,0,0,0,0,0 3861,DestinyThrone,DestinyThrone,Destiny Throne,100,2700000,100000,15000,15000,4,1799,3399,80,90,150,100,100,130,200,50,4,5,2,0,80,133,135,300,135,100,0,0,0,0,0,0,0,673,10000,673,10000,675,10000,675,10000,671,10000,26011,1000,0,0,0,0,0,0,0,0 3862,Ultimate_Shadow,Ultimate_Shadow,Ultimate_Shadow,100,3500000,100000,15000,15000,4,1999,3688,90,120,199,110,100,188,200,75,4,5,1,6,87,133,80,200,135,100,0,0,0,0,0,0,0,673,10000,673,10000,675,10000,675,10000,671,10000,671,10000,26012,1000,0,0,0,0,0,0 3863,Hollow_Satan,Hollow_Satan,Hollow_Satan,100,4000000,100000,15000,15000,4,2500,4000,80,90,150,100,100,130,200,50,4,5,2,6,87,133,150,300,135,100,0,0,0,0,0,0,0,673,10000,673,10000,675,10000,675,10000,671,10000,671,5000,26007,1000,0,0,0,0,0,0 3864,Demon_God_Satan,Demon_God_Satan,Demon_God_Satan,151,7000000,0,15000,15000,2,3164,4588,400,65,165,182,180,225,180,89,10,12,2,6,87,0x37B5,100,76,540,432,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 mob_db2.txt
  21. Solved: forgot add .gat map for this script //========================================= //By : goddameit //Ver : 3 //========================================= prontera,157,185,4 script Warp Battle Ground Vg 100,{ warp "bat_room",154,150; end; } //=======================================================================// //===============================Register================================// //=======================================================================// bat_room,177,157,4 script Battleground Vg#1 100,{ end; OnInitC: if(!.k){end;} enablenpc strnpcinfo(0); waitingroom "Battle Ground",getvariableofnpc(.gameplayeramount,"batleVg"),"Battleground Vg#1::OnJoin",getvariableofnpc(.gameplayeramount,"batleVg"); end; OnJoin: if(getvariableofnpc(.game,"batleVg")==3){ mapannounce "bat_room","[battle Ground System] Wait for game over completely.",0; end; } set .k,0; set $bgvgbid1,waitingroom2bg("bat_b06",87,75,"","batleVg::OnGu1Die"); warpwaitingpc "bat_b06",87,75; delwaitingroom; disablenpc strnpcinfo(0); set getvariableofnpc(.game,"batleVg"),getvariableofnpc(.game,"batleVg")+1; if(getvariableofnpc(.game,"batleVg")==1){ donpcevent "batleVg::OnGameStart"; } end; OnPCLoadMapEvent: if(getcharid(4)){ bg_leave; dispbottom "======================================="; dispbottom "================[Leave]================"; dispbottom "======================================="; } end; } bat_room,177,142,4 script Battleground Vg#2 100,{ end; OnInitC: if(!.k){end;} enablenpc strnpcinfo(0); waitingroom "Battle Ground",getvariableofnpc(.gameplayeramount,"batleVg"),"Battleground Vg#2::OnJoin",getvariableofnpc(.gameplayeramount,"batleVg"); end; OnJoin: if(getvariableofnpc(.game,"batleVg")==3){ mapannounce "bat_room","[battle Ground System] Wait for game over completely.",0; end; } set .k,0; set $bgvgbid2,waitingroom2bg("bat_b06",311,224,"","batleVg::OnGu2Die"); warpwaitingpc "bat_b06",311,224; delwaitingroom; disablenpc strnpcinfo(0); set getvariableofnpc(.game,"batleVg"),getvariableofnpc(.game,"batleVg")+1; if(getvariableofnpc(.game,"batleVg")==1){ donpcevent "batleVg::OnGameStart"; } end; } //=======================================================================// //================================Set====================================// //=======================================================================// - script batleVg -1,{ ii: setarray .hpto,50,50,10000,90000,10000; //HP of Ground 1 , HP of Ground 2 , time 1(Register) , time 2(During) , time 3(Respwan) if(!getvariableofnpc(.k,"Battleground Vg#2")){ set getvariableofnpc(.k,"Battleground Vg#2"),1; donpcevent "Battleground Vg#2::OnInitC"; } if(!getvariableofnpc(.k,"Battleground Vg#1")){ set getvariableofnpc(.k,"Battleground Vg#1"),1; donpcevent "Battleground Vg#1::OnInitC"; } set .game,0; killmonsterall "bat_b06"; mapwarp "bat_b06","prontera",150,180; return; OnInit: set .gameplayeramount,1; callsub ii; //=======================================================================// //===============================SetWall=================================// //=======================================================================// setwall "bat_b06",327,173,5,6,1,"battleground Vg wall 1"; setwall "bat_b06",332,172,2,6,1,"battleground Vg wall 2"; setwall "bat_b06",244,185,3,4,1,"battleground Vg wall 3"; setwall "bat_b06",244,182,4,6,1,"battleground Vg wall 4"; setwall "bat_b06",67,128,10,1,1,"battleground Vg wall 5"; setwall "bat_b06",152,118,4,6,1,"battleground Vg wall 6"; setwall "bat_b06",156,118,5,4,1,"battleground Vg wall 7"; disablenpc "battleground Vg warp 1"; disablenpc "battleground Vg warp 2"; disablenpc "battleground Vg warp 3"; disablenpc "battleground Vg warp 4"; end; //=======================================================================// //================================Control================================// //=======================================================================// OnGameStart: bg_updatescore "bat_b06",.hpto[0],.hpto[1]; mapwarp "bat_b06","prontera",150,180; setarray .@k,gettime(3),gettime(2),gettime(1)+.hpto[2]/1000; while(.@k[2]>=60){ if(.@k[2]>=60){ setarray .@k[1],.@k[1]+1,.@k[2]-60; } if(.@k[1]>=60){ setarray .@k[0],.@k[0]+1,.@k[1]-60; } if(.@k[0]>=24){ set .@k[0],.@k[0]-24; } } announce "[battle Ground System] Will Start at "+.@k[0]+":"+.@k[1]+":"+.@k[2]+" !",0; sleep(.hpto[2]); OnTimerC: if(.game!=2){ sleep(2000); if(.game){ announce "[battle Ground System] Game Over.",0; } callsub ii; end; } announce "[battle Ground System] Go !",0; set .ib2,bg_monster($bgvgbid2,"bat_b06",326,149," ",1956,"batleVg::OnKiillT2"); set .ib1,bg_monster($bgvgbid1,"bat_b06",61,149," ",1916,"batleVg::OnKiillT1"); enablenpc "battleground Vg warp 1"; enablenpc "battleground Vg warp 2"; enablenpc "battleground Vg warp 3"; enablenpc "battleground Vg warp 4"; initnpctimer "#bgvg_heal1"; //=======================================================================// //=================================OnEnd=================================// //=======================================================================// OnTimerB: sleep(.hpto[3]); if(.hpto[0]>.hpto[1]){ set .@c4,1; }else if(.hpto[0]<.hpto[1]){ set .@c4,2; } announce "[battle Ground System] Ground "+(.@c4?.@c4+" Win":"Tie")+" !",0; callsub ii; end; //=======================================================================// //================================OnBreak================================// //=======================================================================// OnKiillT2: bg_warp $bgvgbid1,"bat_b06",87,75; bg_warp $bgvgbid2,"bat_b06",311,224; bg_updatescore "bat_b06",set(.hpto[0],.hpto[0]+3),set(.hpto[1],.hpto[1]-5); if(.hpto[0]>99){ bg_updatescore "bat_b06",99,.hpto[1]; } sleep(.hpto[4]); set .ib2,bg_monster($bgvgbid2,"bat_b06",326,149," ",1956,"batleVg::OnKiillT2"); end; OnKiillT1: bg_warp $bgvgbid1,"bat_b06",87,75; bg_warp $bgvgbid2,"bat_b06",311,224; bg_updatescore "bat_b06",set(.hpto[0],.hpto[0]-5),set(.hpto[1],.hpto[1]+3); if(.hpto[1]>99){ bg_updatescore "bat_b06",.hpto[0],99; } sleep(.hpto[4]); set .ib1,bg_monster($bgvgbid1,"bat_b06",61,149," ",1916,"batleVg::OnKiillT1"); end; //=======================================================================// //=================================OnDie=================================// //=======================================================================// OnGu1Die: OnGu2Die: getmapxy(@n$,@n,@b,0); if((getcharid(4)!=$bgvgbid2&&getcharid(4)!=$bgvgbid1)||@n$!="bat_b06"){ set @n$,"";set @n,0; set @b,0; end; } if(getcharid(4)==$bgvgbid2){ set .hpto[1],.hpto[1]-1; }else{ set .hpto[0],.hpto[0]-1; } if(.hpto[1]>99){ set .hpto[1],99; } if(.hpto[1]<0){ set .winn,1; set .hpto[1],0; } if(.hpto[0]>99){ set .hpto[0],99; } if(.hpto[0]<0){ set .winn,2; set .hpto[0],0; } bg_updatescore "bat_b06",.hpto[0],.hpto[1]; if(.winn){ announce "[battle Ground System] Ground "+.winn+" Win !",0; sleep 1000; callsub ii; mapwarp "bat_b06","prontera",150,180; set .game,3; } end; } //=======================================================================// //==================================Heal=================================// //=======================================================================// bat_b06,311,224,4 script #bgvg_heal1 139,{ OnTimer2000: unitwarp .ib2,"bat_b06",326,149; unitwarp .ib1,"bat_b06",61,149; if(getvariableofnpc(.game,"batleVg")==2){ unitwarp .ib1,"bat_b06",61,149; unitwarp .ib2,"bat_b06",326,149; specialeffect 573; donpcevent "#bgvg_heal2::OnDo"; areapercentheal "bat_b06",301,214,321,234,1+rand(2),1+rand(2); areapercentheal "bat_b06",77,65,97,85,1+rand(2),1+rand(2); sleep(1000); areapercentheal "bat_b06",301,214,321,234,1+rand(2),1+rand(2); areapercentheal "bat_b06",77,65,97,85,1+rand(2),1+rand(2); sleep(1000); areapercentheal "bat_b06",301,214,321,234,1+rand(2),1+rand(2); areapercentheal "bat_b06",77,65,97,85,1+rand(2),1+rand(2); sleep(1000); areapercentheal "bat_b06",301,214,321,234,1+rand(2),1+rand(2); areapercentheal "bat_b06",77,65,97,85,1+rand(2),1+rand(2); sleep(1000); areapercentheal "bat_b06",301,214,321,234,1+rand(2),1+rand(2); areapercentheal "bat_b06",77,65,97,85,1+rand(2),1+rand(2); sleep(1000); areapercentheal "bat_b06",301,214,321,234,1+rand(2),1+rand(2); areapercentheal "bat_b06",77,65,97,85,1+rand(2),1+rand(2); sleep(1000); initnpctimer; }else{ stopnpctimer; } end; } bat_b06,87,75,4 script #bgvg_heal2 139,{ OnDo: specialeffect 573; end; } //=======================================================================// //==================================Warp=================================// //=======================================================================// bat_b06,338,226,0 warp battleground Vg warp 1 2,2,bat_b06,331,170 bat_b06,286,228,0 warp battleground Vg warp 2 2,2,bat_b06,242,179 bat_b06,61,73,0 warp battleground Vg warp 3 2,2,bat_b06,65,133 bat_b06,114,72,0 warp battleground Vg warp 4 2,2,bat_b06,154,122 bat_b06,199,119,0 script #battleground Vg warp 5 45,2,2,{ if(getcharid(4)!=$bgvgbid1){end;} warp "bat_b06",87,75; end; } bat_b06,199,181,0 script #battleground Vg warp 6 45,2,2,{ if(getcharid(4)!=$bgvgbid2){end;} warp "bat_b06",311,224; end; } //=======================================================================// //================================Mapflag================================// //=======================================================================// bat_b06 mapflag battleground 2 bat_b06 mapflag nomemo bat_b06 mapflag nosave SavePoint bat_b06 mapflag noteleport bat_b06 mapflag nowarp bat_b06 mapflag nowarpto bat_b06 mapflag noreturn bat_b06 mapflag nobranch bat_b06 mapflag nopenalty bat_b06 mapflag monster_noteleport bat_room mapflag loadevent //=======================================================================// //===============================Function================================// //=======================================================================// function script BattleGroundVgFunction { getmapxy(@m$,@x,@y,0); if(getcharid(4)!=$bgvgbid1&&getcharid(4)!=$bgvgbid2&&@m$!="bat_b06"){ dispbottom "[You can't use this item]"; end; } bg_warp getcharid(4),@m$,@x,@y; end; }
×
×
  • Create New...