-
Posts
143 -
Joined
-
Last visited
-
Days Won
2
Jarek last won the day on July 16 2022
Jarek had the most liked content!
About Jarek
- Birthday 02/20/1989
Profile Information
-
Gender
Male
-
Location
Muspelheim
- Github: j4r3k
- Discord: Jarek#3024
Jarek's Achievements
-
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>;
-
how change damage to 32k to 16k damage only
Jarek replied to australia's question in Source Requests
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 -
You have a few hidden symbols at first strnpcinfo(2) before and after 'o' Just retype this part
-
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;
-
callshop "premiumshop",1; shop premiumship
-
if( countitem (.@items[.@i]) < 1 ) goto L_NotEnough;
-
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; }
-
There is still '//' instead of '/' in division operation
-
Restart server or @reloadnpcfile <file name>
-
There are error messages at map_server?
-
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
-
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
-
Why are you use // in countitem(42500)//10 etc
-
npc\guild2\agit_main_se.txt line 1507 OnTimer300000 OnTimer300000:
-
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;