Jump to content
  • 0

Need help for this script please..


Brahms

Question


  • Group:  Members
  • Topic Count:  48
  • Topics Per Day:  0.02
  • Content Count:  149
  • Reputation:   3
  • Joined:  07/29/16
  • Last Seen:  

can someone help me with my hunting mission script? i just want to know how to configure or change the points you gain after u completed every quest for easy to hard.. i want to make it 10 points for the first quest, 15 on 2nd quest, 20 on 3rd quest and 25 for the fourth quest,, here's the script thank you..

OnInit:
set .Delay,1; // Quest delay, in hours (0 to disable).
set .Quests,4; // Number of subquests per quest (increases rewards).
set .Multiplier,60; // Multiplier for Zeny reward calculation.
setarray .Count[0], // Min and max monsters per subquest (increases rewards).
150,200;
setarray .Shop[0], // Reward items: <ID>,<point cost> (about 10~20 points per hunt).
7077,150,7079,150,7080,150,7081,150,7082,150,7083,150,7084,150,7085,150,7086,150,7087,150,7088,150,7089,150,7090,150,7091,150,7092,150;
setarray .Restrict$[0], // Blacklisted mob IDs.
   "1003,1006,1017,1021,1022,1027,1043,1062,1075,1096,"+
   "1108,1120,1136,1137,1168,1171,1172,1173,1198,1200,"+
   "1203,1204,1205,1210,1212,1217,1218,1244,1245,1247,",
   "1250,1259,1262,1268,1270,1311,1313,1388,1407,1411,"+
   "1414,1496,1501,1502,1515,1618,1624,1625,1626,1629,"+
   "1669,1674,1675,1676,1677,1678,1679,1681,1834,1835,"+
   "1868,1990,1991,1996,1997,1998";
setarray .NoRange[0], // Blacklisted mob ID ranges.
   1077,1094,  1180,1188,  1219,1242,  1282,1310,  1323,1365,
   1392,1400,  1417,1493,  1517,1613,  1639,1652,  1657,1668,
   1682,1692,  1703,1713,  1718,1769,  1784,1829,  1838,1864,
   1870,1986;
set .NoMVP$, // Blacklisted MVPs.
   "1038,1039,1046,1059,1112,1115,1147,1150,1157,1159,1190,"+
   "1251,1252,1272,1312,1373,1389,1511,1623,1630,1779,1832";

npcshopdelitem "mission_shop",512;
for(set .@i,0; .@i<getarraysize(.Shop); set .@i,.@i+2)
npcshopadditem "mission_shop", .Shop[.@i], .Shop[.@i+1];
end;
}
- shop mission_shop -1,512:-1
Edited by Emistry
Please use CODEBOX.
Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10018
  • Reputation:   2370
  • Joined:  10/28/11
  • Last Seen:  

change this https://github.com/rathena/rathena/blob/master/npc/custom/quests/hunting_missions.txt#L197

#Mission_Points += .@Mission_Points;

into

#Mission_Points += ( 10 + ( #Mission_Done * 5 ) );
#Mission_Done++;

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...