summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
authorInkfish <Inkfish@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-05-09 14:47:09 +0000
committerInkfish <Inkfish@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-05-09 14:47:09 +0000
commitaf46f27288833c9f7889f669491988bd8f6fb2a5 (patch)
tree2b9bfb7edaa0bfc013e5e4d864b9da07831fbb12 /src/map
parenta7d28720038070b6f8a15c707b38a0ce746c8206 (diff)
downloadhercules-af46f27288833c9f7889f669491988bd8f6fb2a5.tar.gz
hercules-af46f27288833c9f7889f669491988bd8f6fb2a5.tar.bz2
hercules-af46f27288833c9f7889f669491988bd8f6fb2a5.tar.xz
hercules-af46f27288833c9f7889f669491988bd8f6fb2a5.zip
* Fixed GX's skill level modifier is missing
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13745 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map')
-rw-r--r--src/map/battle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/battle.c b/src/map/battle.c
index 2b9443e82..d05f3ade5 100644
--- a/src/map/battle.c
+++ b/src/map/battle.c
@@ -2479,7 +2479,7 @@ struct Damage battle_calc_magic_attack(struct block_list *src,struct block_list
if( skill_num == CR_GRANDCROSS || skill_num == NPC_GRANDDARKNESS )
{ //Apply the physical part of the skill's damage. [Skotlex]
struct Damage wd = battle_calc_weapon_attack(src,target,skill_num,skill_lv,mflag);
- ad.damage = battle_attr_fix(src, target, wd.damage + ad.damage, s_ele, tstatus->def_ele, tstatus->ele_lv);
+ ad.damage = battle_attr_fix(src, target, wd.damage + ad.damage, s_ele, tstatus->def_ele, tstatus->ele_lv) * (100 + 40*skill_lv)/100;;
if( src == target )
{
if( src->type == BL_PC )