summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2022-07-28 00:29:19 -0300
committerJesusaves <cpntb1@ymail.com>2022-07-28 00:29:19 -0300
commit2f9ba20dec23060ea21d90feb358da7691993d67 (patch)
tree2e60569b33f8ee7f6c9a5f6c5177f84f2f1c6d58
parent6ae2f97570075290d4661b92756a1e189f41097d (diff)
downloadsdk-2f9ba20dec23060ea21d90feb358da7691993d67.tar.gz
sdk-2f9ba20dec23060ea21d90feb358da7691993d67.tar.bz2
sdk-2f9ba20dec23060ea21d90feb358da7691993d67.tar.xz
sdk-2f9ba20dec23060ea21d90feb358da7691993d67.zip
The Elves are now a valid faction. Also, fix bugs
-rw-r--r--qeditor.rpy8
-rw-r--r--qeditor_adv.rpy17
-rw-r--r--ueditor_adv.rpy3
3 files changed, 20 insertions, 8 deletions
diff --git a/qeditor.rpy b/qeditor.rpy
index 5d91bb2..2137e0b 100644
--- a/qeditor.rpy
+++ b/qeditor.rpy
@@ -244,15 +244,19 @@ init python:
qeid=len(allquests)
qefl=1
qec=1
+ qdf=qeid*5
+ qrq=qeid-1
else:
qeid=90000
qefl=4
qec=20
+ qdf=50
+ qrq=1
allquests.append({
"quest_id": qeid,
- "difficulty": qeid*5,
- "requeriment": qeid-1,
+ "difficulty": qdf,
+ "requeriment": qrq,
"cost": qec,
"flags": qefl,
"music": "bgm03",
diff --git a/qeditor_adv.rpy b/qeditor_adv.rpy
index a531355..be86f04 100644
--- a/qeditor_adv.rpy
+++ b/qeditor_adv.rpy
@@ -61,14 +61,21 @@ label qeditor_supernew:
"Please select the theme"
"The Empire":
python:
- avail=[950001, 950002, 950003, 950004, 950005]
+ avail=[950000, 950001, 950002, 950003, 950004, 950005]
subid=renpy.random.choice(avail)
avail.remove(subid)
bosid=renpy.random.choice(avail)
avail.remove(bosid)
mobid=avail
#"The Bandits":
- #"The Elves":
+ "The Elves":
+ python:
+ avail=[950200, 950201, 950202, 950203, 950204, 950205, 950206, 950207, 950208, 950209, 950210]
+ subid=renpy.random.choice(avail)
+ avail.remove(subid)
+ bosid=renpy.random.choice(avail)
+ avail.remove(bosid)
+ mobid=avail
#"The Dark Horde":
#"The Darklanders":
#"The Rebels":
@@ -112,9 +119,9 @@ label qeditor_supernew:
"music": "bgm03",
"bg": "battle",
"loot": [
- ["1010", int(1000+(qeid/5*25))],
- ["1020", int(100+(qeid/5*10))],
- ["1030", int(10+(qeid/5))]
+ ["1010", int(1000+(qeid//5*25))],
+ ["1020", int(100+(qeid//5*10))],
+ ["1030", int(10+(qeid//5))]
],
"waves": []})
diff --git a/ueditor_adv.rpy b/ueditor_adv.rpy
index 9f53a02..32ac53d 100644
--- a/ueditor_adv.rpy
+++ b/ueditor_adv.rpy
@@ -79,7 +79,7 @@ label ueditor_supernew:
atd = " +%d" % i
allunitsbase.append({"skill_id": 0,
"strength": 500,
- "rare": rar+i,
+ "rare": rar,
"name": "%s%s" % (name, atd),
"ability_id": 0,
"attribute": ele,
@@ -94,6 +94,7 @@ label ueditor_supernew:
"flavor": desc})
current = len(allunitsbase)-1
ueditor_recalc(False, shp, ssr)
+ rar += 1
i+=1
pass