summaryrefslogtreecommitdiff
path: root/src/map/skill.c
diff options
context:
space:
mode:
authorrud0lp20 <rud0lp20@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-11-30 16:41:54 +0000
committerrud0lp20 <rud0lp20@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-11-30 16:41:54 +0000
commitd8514a81bbd118303e62e109ca56950b50fa82f3 (patch)
tree326195de0fe591b629dbc71174641ef231673faf /src/map/skill.c
parentde3e9a7aea38e374a91d9f036da043f14e58b9f3 (diff)
downloadhercules-d8514a81bbd118303e62e109ca56950b50fa82f3.tar.gz
hercules-d8514a81bbd118303e62e109ca56950b50fa82f3.tar.bz2
hercules-d8514a81bbd118303e62e109ca56950b50fa82f3.tar.xz
hercules-d8514a81bbd118303e62e109ca56950b50fa82f3.zip
Follow up r16981:
- Where it causes nullpo_info warnings or even map crash(bugreport:6954) - Fixed wrong display of info using HW_MAGICPOWER in pre-re/skill_cast_db.txt(bugreport:5663) Synced 'skill_cast_db.txt'(new skills only) of RE with PRE RE git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16988 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/skill.c')
-rw-r--r--src/map/skill.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index 2fe20e2ec..f599ed63d 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -16611,6 +16611,12 @@ static void skill_toggle_magicpower(struct block_list *bl, short skillid)
} else {
sc->data[SC_MAGICPOWER]->val4 = 1;
status_calc_bl(bl, status_sc2scb_flag(SC_MAGICPOWER));
+#ifndef RENEWAL
+ if(bl->type == BL_PC){// update current display.
+ clif_updatestatus(((TBL_PC *)bl),SP_MATK1);
+ clif_updatestatus(((TBL_PC *)bl),SP_MATK2);
+ }
+#endif
}
}
}