diff options
-rw-r--r-- | db/job_db2.txt | 16 | ||||
-rw-r--r-- | npc/003-1/michel.txt | 2 | ||||
-rw-r--r-- | npc/items/rand_sc_heal.txt | 6 |
3 files changed, 12 insertions, 12 deletions
diff --git a/db/job_db2.txt b/db/job_db2.txt index b665f38f4..c254ef2f0 100644 --- a/db/job_db2.txt +++ b/db/job_db2.txt @@ -14,17 +14,17 @@ // // TMW2 default is: ,0,6,5,0,2,3,0,1,4,0 // -// Human -0,0,6,5,0,2,3,0,1,4,0,0,6,5,0,2,3,0,1,4,0 -// Ukar +// Human (max level = 100) +0,0,6,5,0,2,3,0,1,4,0,0,6,5,0,2,3,0,1,4,0,0,6,5,0,2,3,0,1,4,0,0,6,5,0,2,3,0,1,4,0,0,6,5,0,2,3,0,1,4,0,0,6,5,0,2,3,0,1,4,0,0,6,5,0,2,3,0,1,4,0,0,6,5,0,2,3,0,1,4,0,0,6,5,0,2,3,0,1,4,0,0,6,5,0,2,3,0,1,4,0 +// Ukar (max level = 20) 1,0,6,5,0,2,3,0,1,4,0,0,6,5,0,2,3,0,1,4,0 -// Redy +// Redy (max level = 20) 2,0,6,5,0,2,3,0,1,4,0,0,6,5,0,2,3,0,1,4,0 -// Elven +// Elven (max level = 20) 3,0,6,5,0,2,3,0,1,4,0,0,6,5,0,2,3,0,1,4,0 -// Orc +// Orc (max level = 20) 4,0,6,5,0,2,3,0,1,4,0,0,6,5,0,2,3,0,1,4,0 -// Raijin +// Raijin (max level = 20) 5,0,6,5,0,2,3,0,1,4,0,0,6,5,0,2,3,0,1,4,0 -// Tritan +// Tritan (max level = 20) 6,0,6,5,0,2,3,0,1,4,0,0,6,5,0,2,3,0,1,4,0 diff --git a/npc/003-1/michel.txt b/npc/003-1/michel.txt index ed0eef8bb..1024e401c 100644 --- a/npc/003-1/michel.txt +++ b/npc/003-1/michel.txt @@ -30,7 +30,7 @@ next; mes ""; - .@nb = query_sql("select name, base_level from `char` ORDER BY base_level DESC WHERE `guild_id`!=1 LIMIT 5", .@name$, .@value); + .@nb = query_sql("select name, base_level from `char` WHERE `guild_id`!=1 ORDER BY base_level DESC LIMIT 5", .@name$, .@value); mes l("##BHall Of Level: TOP5##b"); mes("1."+.@name$[0]+" ("+.@value[0]+")"); mes("2."+.@name$[1]+" ("+.@value[1]+")"); diff --git a/npc/items/rand_sc_heal.txt b/npc/items/rand_sc_heal.txt index 046b38e1c..bc3d870fe 100644 --- a/npc/items/rand_sc_heal.txt +++ b/npc/items/rand_sc_heal.txt @@ -38,7 +38,7 @@ } else { - @val3 = @val1; + @val1 = @val3; } return; } @@ -50,9 +50,9 @@ OnUse: .@vitality_bonus = min(@min, readparam(bVit) * BaseLevel / 20); .@rand_heal_val = rand(@min, @max); - // val3 is the heal value without the vitality bonus - @val3 = .@rand_heal_val / @delay; + // val1 used to be the heal value without the vitality bonus @val1 = (.@rand_heal_val + .@vitality_bonus) / @delay; + @val3 = (.@rand_heal_val + .@vitality_bonus) / @delay; if (@val3 <= 0) close; |