summaryrefslogtreecommitdiff
path: root/src/echar/init.c
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-09-27 23:21:26 -0300
committerJesusaves <cpntb1@ymail.com>2020-09-27 23:21:26 -0300
commitd0f528217d160222464e9847de1c735ac96902f8 (patch)
tree801a1c54c17056cedf9848e91bf0ada4e53656d9 /src/echar/init.c
parent7fc3f47e2660ae5b88a4dcdc1c1ca2e6f41ecd9e (diff)
downloadevol-hercules-d0f528217d160222464e9847de1c735ac96902f8.tar.gz
evol-hercules-d0f528217d160222464e9847de1c735ac96902f8.tar.bz2
evol-hercules-d0f528217d160222464e9847de1c735ac96902f8.tar.xz
evol-hercules-d0f528217d160222464e9847de1c735ac96902f8.zip
Force all parties to have EXP sharing by default, and this share to be uneven.
Initial version. Very very messy, totally **untested**, with zeny feature removed. And a compile error on battle_config >.> *sigh* But oh well, must submit this to MR list before deadline, so it can be reviewed properly and etc. - It is still 23:22 so \o/
Diffstat (limited to 'src/echar/init.c')
-rw-r--r--src/echar/init.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/echar/init.c b/src/echar/init.c
index 8b7a343..31faf8a 100644
--- a/src/echar/init.c
+++ b/src/echar/init.c
@@ -37,6 +37,7 @@
#include "ecommon/init.h"
#include "echar/char.h"
#include "echar/config.h"
+#include "echar/int_party.h"
#include "plugins/HPMHooking.h"
@@ -70,6 +71,11 @@ HPExport void plugin_init (void)
addHookPre(chr, mmo_gender, echar_mmo_gender);
addHookPre(chr, changecharsex, echar_changecharsex);
+ // Other stuff (alphabetically sorted as usual)
+ addHookPre(inter_party, check_lv, einter_party_check_lv);
+ addHookPre(inter_party, change_option, einter_party_change_option_pre);
+
+
addHookPost(chr, send_HC_ACK_CHARINFO_PER_PAGE, echar_send_HC_ACK_CHARINFO_PER_PAGE_post);
addHookPost(chr, mmo_char_send_characters, echar_mmo_char_send_characters_post);
addHookPost(chr, parse_char_connect, echar_parse_char_connect_post);