summaryrefslogtreecommitdiff
path: root/src/map/pc.h
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-08-14 11:00:40 -0300
committershennetsind <ind@henn.et>2013-08-14 11:00:40 -0300
commit0b05acb2fb1f64ec500b9b2ebc9cc9af08f36724 (patch)
treeaec5b9e26f80371d15840656515342450f21353b /src/map/pc.h
parentab1fad052cd771e183f496f5db922fa03a13edea (diff)
downloadhercules-0b05acb2fb1f64ec500b9b2ebc9cc9af08f36724.tar.gz
hercules-0b05acb2fb1f64ec500b9b2ebc9cc9af08f36724.tar.bz2
hercules-0b05acb2fb1f64ec500b9b2ebc9cc9af08f36724.tar.xz
hercules-0b05acb2fb1f64ec500b9b2ebc9cc9af08f36724.zip
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 <ind@henn.et>
Diffstat (limited to 'src/map/pc.h')
-rw-r--r--src/map/pc.h5
1 files changed, 5 insertions, 0 deletions
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;