From 0b05acb2fb1f64ec500b9b2ebc9cc9af08f36724 Mon Sep 17 00:00:00 2001 From: shennetsind Date: Wed, 14 Aug 2013 11:00:40 -0300 Subject: Fix for Bug #7471 HELLO WORLD. DADDY IS BACK. Fixed ancient pc_calc_skillpoint bug that'd count guild skills towards the player's total. Special Thanks to malufett and the countless who provided us with debug information on this issue. This commit implements a temporary command @skdebug, in case there are people still reproducing the issue please include the output of this command in your new report, it displays the information required for us to adjust any possible oddities. http://hercules.ws/board/tracker/issue-7471-skill-points-not-evenly-distributed-anymore/ Signed-off-by: shennetsind --- src/map/pc.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/map/pc.h') diff --git a/src/map/pc.h b/src/map/pc.h index c2e834d1c..7db5c2fcc 100644 --- a/src/map/pc.h +++ b/src/map/pc.h @@ -510,6 +510,10 @@ struct map_session_data { struct HPluginData **hdata; unsigned int hdatac; + /* */ + struct { + unsigned int second,third; + } sktree; // temporary debugging of bug #3504 const char* delunit_prevfile; int delunit_prevline; @@ -960,6 +964,7 @@ struct pc_interface { #if defined(RENEWAL_DROP) || defined(RENEWAL_EXP) int (*level_penalty_mod) (int diff, unsigned char race, unsigned short mode, int type); #endif + int (*calc_skillpoint) (struct map_session_data* sd); }; struct pc_interface *pc; -- cgit v1.2.3-70-g09d2