From 9da7223209942907024898e76edb69ea598fcee0 Mon Sep 17 00:00:00 2001 From: Stefan Beller Date: Tue, 18 Jan 2011 23:16:25 +0100 Subject: rebalancing the ASTRAL_SOUL skill reviewed by fate --- src/map/pc.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'src/map/pc.c') diff --git a/src/map/pc.c b/src/map/pc.c index f85dfd7..851db13 100644 --- a/src/map/pc.c +++ b/src/map/pc.c @@ -1794,11 +1794,9 @@ int pc_calcstatus (struct map_session_data *sd, int first) if (sd->matk1 > MAGIC_SKILL_THRESHOLD) { int bonus = sd->matk1 - MAGIC_SKILL_THRESHOLD; - int bound = 2 * skill_power (sd, TMW_ASTRAL_SOUL); - if (bonus > bound) - bonus = (bonus * 100) / (100 + bonus - bound); - - sd->matk1 = MAGIC_SKILL_THRESHOLD + bonus; + // Ok if you are above a certain threshold, you get only (1/8) of that matk1 + // if you have Astral soul skill you can get the whole power again (and additionally the 1/8 added) + sd->matk1 = MAGIC_SKILL_THRESHOLD + (bonus>>3) + ((3*bonus*skill_power(sd, TMW_ASTRAL_SOUL))>>9); } #endif sd->matk2 = 0; -- cgit v1.2.3-60-g2f50