summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-01-07 15:35:25 -0200
committerJesusaves <cpntb1@ymail.com>2019-01-07 15:35:25 -0200
commit1bf0522b01041d75f44fc511471a583407818126 (patch)
tree5b2d014855e7181c76307d9460587131c3dd869f
parent0b31b60345a4023c40ce3750188463db9d88950a (diff)
downloadserverdata-1bf0522b01041d75f44fc511471a583407818126.tar.gz
serverdata-1bf0522b01041d75f44fc511471a583407818126.tar.bz2
serverdata-1bf0522b01041d75f44fc511471a583407818126.tar.xz
serverdata-1bf0522b01041d75f44fc511471a583407818126.zip
Base Level and Luck can now affect the mercenary you'll get.
It raises in an absolute way the merc rates, up to 2%. This means a level 100 player with 100 luck have 2.5% chance to get a 5 star.
-rw-r--r--db/re/item_db.conf6
1 files changed, 3 insertions, 3 deletions
diff --git a/db/re/item_db.conf b/db/re/item_db.conf
index 4264d7d79..3a1b0dc57 100644
--- a/db/re/item_db.conf
+++ b/db/re/item_db.conf
@@ -11436,7 +11436,7 @@ item_db: (
noauction: true
}
Script: <"
- .@seed=rand(0, 10000);
+ .@seed=rand(0, 10000)-BaseLevel-readparam(bLuk);
// 0.5%
if (.@seed < 50) {
@@ -11481,7 +11481,7 @@ item_db: (
noauction: true
}
Script: <"
- .@seed=rand(0, 10000);
+ .@seed=rand(0, 10000)-BaseLevel-readparam(bLuk);
// 1.0%
if (.@seed < 100) {
@@ -11526,7 +11526,7 @@ item_db: (
noauction: true
}
Script: <"
- .@seed=rand(0, 10000);
+ .@seed=rand(0, 10000)-BaseLevel-readparam(bLuk);
// 2.0%
if (.@seed < 200) {