summaryrefslogtreecommitdiff
path: root/src/map/pc.c
diff options
context:
space:
mode:
authorAsheraf <acheraf1998@gmail.com>2018-07-19 03:25:45 +0100
committerAsheraf <acheraf1998@gmail.com>2018-07-19 05:37:49 +0100
commitb4a5462cb762d03273b054708fe3378f6d82ede3 (patch)
tree53f652ef56a27ac305c4b9fce9bd9b609de163f3 /src/map/pc.c
parent15fa09b8754c3c77b636a4f1466cb8fca0e690f1 (diff)
downloadhercules-b4a5462cb762d03273b054708fe3378f6d82ede3.tar.gz
hercules-b4a5462cb762d03273b054708fe3378f6d82ede3.tar.bz2
hercules-b4a5462cb762d03273b054708fe3378f6d82ede3.tar.xz
hercules-b4a5462cb762d03273b054708fe3378f6d82ede3.zip
Add support for bodystyle in stylist shop ui
Diffstat (limited to 'src/map/pc.c')
-rw-r--r--src/map/pc.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/map/pc.c b/src/map/pc.c
index cd49a6dbf..89d414263 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -12272,6 +12272,15 @@ static void pc_init_exp_groups(void)
}
}
+static bool pc_has_second_costume(struct map_session_data *sd)
+{
+ nullpo_retr(false, sd);
+
+ if ((sd->job & JOBL_THIRD) != 0)
+ return true;
+ return false;
+}
+
static void do_final_pc(void)
{
@@ -12673,4 +12682,5 @@ void pc_defaults(void)
pc->check_basicskill = pc_check_basicskill;
pc->isDeathPenaltyJob = pc_isDeathPenaltyJob;
+ pc->has_second_costume = pc_has_second_costume;
}