summaryrefslogtreecommitdiff
path: root/src/emap/status.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-10-19 19:56:32 +0300
committerAndrei Karas <akaras@inbox.ru>2015-10-19 19:56:32 +0300
commit9c4e88cfd0687a2e01522c58f932d3f40d468d6b (patch)
tree3a59ddefb0a0b5851d95f500b998a3b4f43526af /src/emap/status.c
parent73defa73651a5e6f7683dc90ab465d19496b8cca (diff)
downloadevol-hercules-9c4e88cfd0687a2e01522c58f932d3f40d468d6b.tar.gz
evol-hercules-9c4e88cfd0687a2e01522c58f932d3f40d468d6b.tar.bz2
evol-hercules-9c4e88cfd0687a2e01522c58f932d3f40d468d6b.tar.xz
evol-hercules-9c4e88cfd0687a2e01522c58f932d3f40d468d6b.zip
Add fixed bonuses for new mounts.
Diffstat (limited to 'src/emap/status.c')
-rw-r--r--src/emap/status.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/emap/status.c b/src/emap/status.c
index bbbd34c..9575e1f 100644
--- a/src/emap/status.c
+++ b/src/emap/status.c
@@ -19,6 +19,7 @@
#include "map/script.h"
#include "map/status.h"
+#include "emap/horse.h"
#include "emap/data/itemd.h"
#include "emap/data/npcd.h"
#include "emap/struct/itemdext.h"
@@ -123,5 +124,16 @@ int estatus_calc_pc_additional(struct map_session_data* sd,
// here can be refine bonuses
}
+
+ horse_add_bonus(sd);
+
return 0;
}
+
+unsigned short estatus_calc_speed_post(unsigned short retVal,
+ struct block_list *bl,
+ struct status_change *sc,
+ int *speed)
+{
+ return horse_add_speed_bonus(BL_CAST(BL_PC, bl), retVal);
+}