Jump to content

Jarek

Members
  • Posts

    143
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by Jarek

  1. mes "[ MVP Summoner ]"; mes "show me if you have zeny"; if( Zeny < .@zenyCost ) { mes "sry you dont have zeny"; close; } else { set Zeny, Zeny - .@zenyCost; mes "[ MVP Summoner]"; mes "monster will be spawn soon"; close2; //You must use close2 instead of close sleep2 10000; //10s announce "MVP Has Been Spawned",bc_blue|bc_all; monster "guild_vs1",50,57,"Event Monster",1511,1,"Monster Event::OnThisMobDeath"; end; } OnThisMobDeath: announce ""+strcharinfo(0)+"killed the mvp",bc_blue|bc_all; end;
  2. Because itemskill makes character cast this skill (MC_IDENTIFY)
  3. 611,Spectacles,Magnifier,11,40,,50,,,,,0xFFFFFFFF,63,2,,,,,,{ itemskill "MC_IDENTIFY",1; },{},{} replace itemskill "MC_IDENTIFY",1; with atcommand "@identify";
  4. - script GuidBuff::GuildBuff -1,{ if(getcastledata(strnpcinfo(2),1) == getcharid(2)){ percentheal 100,100; skilleffect 34,0; sc_start SC_BLESSING,360000,10; skilleffect 29,0; sc_start SC_INCREASEAGI,360000,10; switch ( basejob ) { case Job_Alchemist: set .@spirit, 445; break; case Job_Monk: set .@spirit, 447; break; case Job_Star_Gladiator: set .@spirit, 448; break; case Job_Sage: set .@spirit, 449; break; case Job_Crusader: set .@spirit, 450; break; case Job_SuperNovice: set .@spirit, 451; break; case Job_Knight: set .@spirit, 452; break; case Job_Wizard: set .@spirit, 453; break; case Job_Priest: set .@spirit, 454; break; case Job_Bard: case Job_Dancer: set .@spirit, 455; break; case Job_Rogue: set .@spirit, 456; break; case Job_Assassin: set .@spirit, 457; break; case Job_Blacksmith: set .@spirit, 458; break; case Job_Hunter: set .@spirit, 460; break; case Job_Soul_Linker: set .@spirit, 461; break; default: if ( upper == 1 && baselevel < 70 ) set .@spirit, 494; } if ( .@spirit ) { sc_start4 sc_spirit, 360000, 5, .@spirit,0,0; skilleffect .@spirit, 5; } } end; } //add more duplicates here aldeg_cas01,<x>,<y>,0 duplicate(GuildBuff) Guild Buff#aldeg_cas01 696 gefg_cas01,<x>,<y>,0 duplicate(GuildBuff) Guild Buff#gefg_cas01 696 payg_cas01,<x>,<y>,0 duplicate(GuildBuff) Guild Buff#payg_cas01 696 prtg_cas01,<x>,<y>,0 duplicate(GuildBuff) Guild Buff#prtg_cas01 696
  5. http://pastebin.com/JA92Lv0u
  6. My bad OnPCLoadMapEvent: getmapxy(@map$, @x, @y, 0, strcharinfo(0)); if((getmapflag(@map$,mf_pvp) || getmapflag(@map$,mf_gvg)) && checkwug() ) setoption Option_Wugrider,0; end; And don't forget that OnPCLoadMapEvent triggers only in a maps marked with the 'loadevent' mapflag
  7. Maybe like this OnPCLoadMapEvent: getmapxy(@map, @x, @y, 0, strcharinfo(0)); if ( (getmapflag(@map,mf_pvp) || getmapflag(@map,mf_gvg)) && checkwug() ) setoption Option_Wugrider,0; end; + you need to restrict mounting warg on this maps via skill_nocast_db.txt: 2241,6;
  8. That message is usually an indication that some of your files have modification times later than the current system time Simple solution: # touch <filename>
  9. val2 - Chance val1 - Skill Level
  10. map/status.c find case SC_DOUBLECAST: val2 = 30+10*val1; // Trigger rate break; replace with case SC_DOUBLECAST: val2 = 5+5*val1; // Trigger rate break;
  11. if((sd->class_&MAPID_UPPERMASK) == MAPID_ASSASSIN)
  12. UPDATE `cart_inventory`,`inventory`,`storage`,`guild_storage` SET `refine` = 5 WHERE `refine` = 20
  13. Find while(1) { mes "Select an option."; next; set .@i, select(" ~ ^0055FFRebirth^000000:"+((.ThirdClass)?" ~ ^FF0000Third Class^000000":"")+": ~ ^777777Cancel^000000"); if (.@i==3) close; mes "[Job Master]"; mes "Are you sure?"; next; Job_Menu(((.@i==1)?4001:roclass(.@eac|EAJL_THIRD))); mes "[Job Master]"; } Replace with while(1) { mes "Select an option."; next; if (select(" ~ ^0055FFRebirth^000000: ~ ^777777Cancel^000000") == 2) close; mes "[Job Master]"; mes "Are you sure?"; next; Job_Menu(4001); mes "[Job Master]"; }
  14. I think you should use "Job_Swordman" instead of "EAJ_SWORDMAN" etc
  15. src\map\skill.c // Automatic trigger of Warg Strike [Jobbie] if( pc_iswug(sd) && (sd->status.weapon == W_BOW || sd->status.weapon == W_FIST) && (skill=pc_checkskill(sd,RA_WUGSTRIKE)) > 0 && rnd()%1000 <= sstatus->luk*10/3+1 ) skill_castend_damage_id(src,bl,RA_WUGSTRIKE,skill,tick,0); Chance is "sstatus->luk*10/3+1"
  16. ID,Name 1056,SMOKIE 1104,COCOSmokie and Coco are two different monstersBest place for hunting Coco is mjolnir_01 (pre-re) or gef_fild02 (renewal)
  17. skill_require_db.txt Just replace 99 for 12 (knuckles)
  18. Just comment (or delete) related lines in data\viewpointtable.txt
×
×
  • Create New...