summaryrefslogtreecommitdiff
path: root/src/map/status.c
diff options
context:
space:
mode:
authorshennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-03-18 05:04:32 +0000
committershennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-03-18 05:04:32 +0000
commitbc4036d52e364c08be82db50aad5b06a85fcfb4f (patch)
treec334b74d30f59aa2856b3224b61aaf2d2418f762 /src/map/status.c
parent25005184d73ef92ff2aa2698e44de5c0c118aab0 (diff)
downloadhercules-bc4036d52e364c08be82db50aad5b06a85fcfb4f.tar.gz
hercules-bc4036d52e364c08be82db50aad5b06a85fcfb4f.tar.bz2
hercules-bc4036d52e364c08be82db50aad5b06a85fcfb4f.tar.xz
hercules-bc4036d52e364c08be82db50aad5b06a85fcfb4f.zip
Fixed Dragon (RK Mount) aspd and weight bonuses, bugreport:5386
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15710 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/status.c')
-rw-r--r--src/map/status.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/map/status.c b/src/map/status.c
index 77525aed1..340e58b8a 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -2779,7 +2779,8 @@ int status_calc_pc_(struct map_session_data* sd, bool first)
status->aspd_rate -= ((skill+1)/2) * 10;
if(pc_isriding(sd))
status->aspd_rate += 500-100*pc_checkskill(sd,KN_CAVALIERMASTERY);
-
+ else if( sd->sc.option&OPTION_DRAGON )
+ status->aspd_rate += 250-50*pc_checkskill(sd,RK_DRAGONTRAINING);
status->adelay = 2*status->amotion;
@@ -2797,6 +2798,8 @@ int status_calc_pc_(struct map_session_data* sd, bool first)
sd->max_weight += 2000*skill;
if(pc_isriding(sd) && pc_checkskill(sd,KN_RIDING)>0)
sd->max_weight += 10000;
+ else if( sd->sc.option&OPTION_DRAGON )
+ sd->max_weight += 200*pc_checkskill(sd,RK_DRAGONTRAINING);
if(sc->data[SC_KNOWLEDGE])
sd->max_weight += sd->max_weight*sc->data[SC_KNOWLEDGE]->val1/10;
if((skill=pc_checkskill(sd,ALL_INCCARRY))>0)