summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLupus <Lupus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-04-01 09:00:22 +0000
committerLupus <Lupus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-04-01 09:00:22 +0000
commitb11dfba7a7ce1b7b5cfd114c066c0eb8614958c4 (patch)
tree4a96cd901f536fd2ce58353d45868f8cfad87dfb
parent69ee4c85476a1da4dd7a7ee23135203a41b10dd5 (diff)
downloadhercules-b11dfba7a7ce1b7b5cfd114c066c0eb8614958c4.tar.gz
hercules-b11dfba7a7ce1b7b5cfd114c066c0eb8614958c4.tar.bz2
hercules-b11dfba7a7ce1b7b5cfd114c066c0eb8614958c4.tar.xz
hercules-b11dfba7a7ce1b7b5cfd114c066c0eb8614958c4.zip
emsolute develop was incorrectly giving 49% / 51% instead of 50%/50%
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10106 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r--npc/guild/gldfunc_manager.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/npc/guild/gldfunc_manager.txt b/npc/guild/gldfunc_manager.txt
index b69ceb6f8..ccdce3c03 100644
--- a/npc/guild/gldfunc_manager.txt
+++ b/npc/guild/gldfunc_manager.txt
@@ -3,7 +3,7 @@
//===== By: ==================================================
//= jAthena - kalen (1.0) & eAthena Team
//===== Current Version: =====================================
-//= 1.6a
+//= 1.6b
//===== Compatible With: =====================================
//= eAthena 0.1+; RO Episode 4+
//===== Description: =========================================
@@ -129,7 +129,7 @@ function script F_GldManager {
set Zeny,Zeny-@eco_invest;
SetCastleData getarg(1),4,@TriggerE+1;
// if we learnt Emsolute Develop there's 50% chance to get +1 investment again
- SetCastleData getarg(1),2,@Economy + 1 + (getgdskilllv(@GID,10014)>0 && rand(100)>50 && @Economy<99);
+ SetCastleData getarg(1),2,@Economy + 1 + (@Economy<99 && rand(2) && getgdskilllv(@GID,10014));
mes "You have invested successfully.";
return 0;