Jump to content

Jarek

Members
  • Posts

    143
  • Joined

  • Last visited

  • Days Won

    2

Jarek last won the day on July 16 2022

Jarek had the most liked content!

1 Follower

About Jarek

  • Birthday 02/20/1989

Profile Information

Recent Profile Visitors

35693 profile views

Jarek's Achievements

Poring

Poring (1/15)

30

Reputation

18

Community Answers

  1. You can define itemshop: -%TAB%itemshop%TAB%<NPC Name>%TAB%<sprite id>,<costitemid>{:<discount>},<itemid>:<price>{,<itemid>:<price>...} where costitemid = 6379 And then just callshop this itemshop in case 4 callshop "<name>",<option>; callshop "<name>",<option>;
  2. src/map/status.cpp status_base_atk : #ifdef RENEWAL str = (dstr * 10 + dex * 10 / 5 + status->luk * 10 / 3 + level * 10 / 4) / 10; #else str += dex / 5 + status->luk / 5; #endif
  3. You have a few hidden symbols at first strnpcinfo(2) before and after 'o' Just retype this part
  4. I think this could be done via script with 'OnPCBaseLvUpEvent' label, rough outline: OnPCBaseLvUpEvent: if (BaseLevel = 50) { script of choosing 1st job here } else if (BaseLevel = 100) { script of choosing 2nd job here } else if (BaseLevel = 200) { up to Trans script } end;
  5. callshop "premiumshop",1; shop premiumship
  6. if( countitem (.@items[.@i]) < 1 ) goto L_NotEnough;
  7. After OnInit: add variable for base chance .craft_rate = 50; Before getitem .@q[0],.@q[2]; add this if ( rand(100) > (.craft_rate + readparam(bLuk)/10 + readparam(bDex)/6) ) { mes "[Quest Shop]"; mes "Item creation was failed."; close; }
  8. There is still '//' instead of '/' in division operation
  9. Restart server or @reloadnpcfile <file name>
  10. There are error messages at map_server?
  11. skill_cast_db.txt //-- WZ_METEOR 83,9600,2000:3000:3000:4000:4000:5000:5000:6000:6000:7000,0,2000:3000:3000:4000:4000:5000:5000:6000:6000:7000,5000,0,2400 2000:3000:3000:4000:4000:5000:5000:6000:6000:7000 This is number of meteors at skill level
  12. src\map\skil.cpp int skill_counter_additional_effect ... if( (attack_type&(BF_WEAPON|BF_SHORT)) == (BF_WEAPON|BF_SHORT) ) { sp += sd->bonus.sp_gain_value; sp += sd->sp_gain_race[status_get_race(bl)] + sd->sp_gain_race[RC_ALL]; hp += sd->bonus.hp_gain_value; } If you change condition like this if( attack_type&BF_WEAPON ) It will work with physical melee and ranged attacks
  13. Why are you use // in countitem(42500)//10 etc
  14. npc\guild2\agit_main_se.txt line 1507 OnTimer300000 OnTimer300000:
  15. Double check this: if( countitem (.@items[.@i]) ) goto L_NotEnough; If I have this item then I go to L_NotEnough? Probably should be: if( !countitem (.@items[.@i]) ) goto L_NotEnough;
×
×
  • Create New...