mirror of
https://github.com/gooba42/adventureland.git
synced 2026-10-15 02:49:28 -05:00
@@ -197,6 +197,22 @@ conditions={
|
|||||||
"buff":True,
|
"buff":True,
|
||||||
"ui":True,
|
"ui":True,
|
||||||
},
|
},
|
||||||
|
"massexchange":{
|
||||||
|
"skin":"skill_massexchange",
|
||||||
|
"name":"Mass exchange",
|
||||||
|
"explanation": "Reduces the time of your next exchange or compound by 50%.",
|
||||||
|
"duration":10*1000,
|
||||||
|
"buff":True,
|
||||||
|
"ui":True,
|
||||||
|
},
|
||||||
|
"massexchangepp":{
|
||||||
|
"skin":"skill_massexchangepp",
|
||||||
|
"name":"Mass exchange++",
|
||||||
|
"explanation": "Reduces the time of your next exchange or compound by 90%.",
|
||||||
|
"duration":10*1000,
|
||||||
|
"buff":True,
|
||||||
|
"ui":True,
|
||||||
|
},
|
||||||
"darkblessing":{
|
"darkblessing":{
|
||||||
"skin":"skill_dbuff",
|
"skin":"skill_dbuff",
|
||||||
"name":"Dark Blessing",
|
"name":"Dark Blessing",
|
||||||
|
|||||||
@@ -472,6 +472,8 @@ positions={
|
|||||||
"skill_throw":["skills",1,5],
|
"skill_throw":["skills",1,5],
|
||||||
"skill_massproduction":["skills",2,5],
|
"skill_massproduction":["skills",2,5],
|
||||||
"skill_massproductionpp":["skills",3,5],
|
"skill_massproductionpp":["skills",3,5],
|
||||||
|
"skill_massexchange":["skills",4,5],
|
||||||
|
"skill_massexchangepp":["skills",5,5],
|
||||||
|
|
||||||
#paladin
|
#paladin
|
||||||
"skill_mshield":["skills",0,11],
|
"skill_mshield":["skills",0,11],
|
||||||
|
|||||||
@@ -373,6 +373,28 @@ skills={
|
|||||||
"mp":200,
|
"mp":200,
|
||||||
"cooldown":50,
|
"cooldown":50,
|
||||||
},
|
},
|
||||||
|
"massexchange":{
|
||||||
|
"type":"skill",
|
||||||
|
"skin":"skill_massexchange",
|
||||||
|
"condition":"massexchange",
|
||||||
|
"class":["merchant"],
|
||||||
|
"name":"Mass Exchange",
|
||||||
|
"explanation":"Adds a 1-time use buff that speeds up the next exchange by 50%. The buff expires in 10 seconds if not used.",
|
||||||
|
"level":40,
|
||||||
|
"mp":30,
|
||||||
|
"cooldown":50,
|
||||||
|
},
|
||||||
|
"massexchangepp":{
|
||||||
|
"type":"skill",
|
||||||
|
"skin":"skill_massexchangepp",
|
||||||
|
"condition":"massexchangepp",
|
||||||
|
"class":["merchant"],
|
||||||
|
"name":"Mass Exchange++",
|
||||||
|
"explanation":"Adds a 1-time use buff that speeds up the next exchange by 90%. The buff expires in 10 seconds if not used.",
|
||||||
|
"level":70,
|
||||||
|
"mp":200,
|
||||||
|
"cooldown":50,
|
||||||
|
},
|
||||||
"throw":{
|
"throw":{
|
||||||
"type":"skill",
|
"type":"skill",
|
||||||
"skin":"skill_throw",
|
"skin":"skill_throw",
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 18 KiB |
+14
-2
@@ -5602,7 +5602,17 @@ function init_io() {
|
|||||||
player.p.stats.exchanges[dropId] = (player.p.stats.exchanges[dropId] || 0) + 1;
|
player.p.stats.exchanges[dropId] = (player.p.stats.exchanges[dropId] || 0) + 1;
|
||||||
consume(player, data.item_num, def.e);
|
consume(player, data.item_num, def.e);
|
||||||
const num = add_item(player, "placeholder");
|
const num = add_item(player, "placeholder");
|
||||||
const ms = gameplay === "hardcore" ? 400 : 3000 + Math.floor(Math.random() * 3000);
|
let ms = gameplay === "hardcore" ? 400 : 3000 + Math.floor(Math.random() * 3000);
|
||||||
|
if (player.s.massexchange) {
|
||||||
|
ms /= 2;
|
||||||
|
delete player.s.massexchange;
|
||||||
|
ex = "+u+cid";
|
||||||
|
}
|
||||||
|
if (player.s.massexchangepp) {
|
||||||
|
ms /= 10;
|
||||||
|
delete player.s.massexchangepp;
|
||||||
|
ex = "+u+cid";
|
||||||
|
}
|
||||||
player.q.exchange = { ms: ms, len: ms, name: item.name, id: dropId, q: def.e, num: num };
|
player.q.exchange = { ms: ms, len: ms, name: item.name, id: dropId, q: def.e, num: num };
|
||||||
if (suffix) {
|
if (suffix) {
|
||||||
player.q.exchange.s = suffix;
|
player.q.exchange.s = suffix;
|
||||||
@@ -8647,7 +8657,9 @@ function init_io() {
|
|||||||
data.name == "mcourage" ||
|
data.name == "mcourage" ||
|
||||||
data.name == "mfrenzy" ||
|
data.name == "mfrenzy" ||
|
||||||
data.name == "massproduction" ||
|
data.name == "massproduction" ||
|
||||||
data.name == "massproductionpp"
|
data.name == "massproductionpp" ||
|
||||||
|
data.name == "massexchange" ||
|
||||||
|
data.name == "massexchangepp"
|
||||||
) {
|
) {
|
||||||
consume_mp(player, gSkill.mp);
|
consume_mp(player, gSkill.mp);
|
||||||
player.s[gSkill.condition] = { ms: G.conditions[gSkill.condition].duration };
|
player.s[gSkill.condition] = { ms: G.conditions[gSkill.condition].duration };
|
||||||
|
|||||||
Reference in New Issue
Block a user