summaryrefslogtreecommitdiff
path: root/npc/018-2-2/main.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/018-2-2/main.txt')
-rw-r--r--npc/018-2-2/main.txt11
1 files changed, 6 insertions, 5 deletions
diff --git a/npc/018-2-2/main.txt b/npc/018-2-2/main.txt
index 2d0c819c5..b4978d3ed 100644
--- a/npc/018-2-2/main.txt
+++ b/npc/018-2-2/main.txt
@@ -299,16 +299,17 @@ OnMaster14:
}
/*python
-df=[('Novice', 21),
- ('Intermed', 20),
- ('Advanc', 18),
- ('Expert', 15),
- ('Master', 15)]
+df=[('Novice', 21, 1),
+ ('Intermed', 20, 10),
+ ('Advanc', 18, 100),
+ ('Expert', 15, 1000),
+ ('Master', 15, 10000)]
for a in df:
i=0
while (i < a[1]):
print('On%s%d:' % (a[0], i))
+ print(' if (rand(0, 2000) >= readparam(Luk)+(strmobinfo(3,.%s_Mobs[%d])*5)+strmobinfo(7,.%s_Mobs[%d])) {getmapxy(.@m$, .@x, .@y, 0); makeitem(HeroCoin, %s, .@m$, .@x, .@y);}' % (a[0], i, a[0], i, a[2]))
print(' areamonster "018-2-2@%s", 20, 20, 220, 220, strmobinfo(1, .%s_Mobs[%d]), .%s_Mobs[%d], .%s_Ammo[%d], "#HH_CONTROLLER01::On%s%d"; end;' % (a[0][:1],a[0],i,a[0],i,a[0],i,a[0],i))
i+=1
*/