summaryrefslogtreecommitdiff
path: root/src/map/battle.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-05-15 20:24:37 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-05-15 20:24:37 +0000
commit52d4a81ff51fed98838c25d5a65b8c5543dbc560 (patch)
tree31228cfd96307feebf659817559869257eb1c306 /src/map/battle.c
parent6cc1d4e8c5bbc053e74f2663c210d0232c10378e (diff)
downloadhercules-52d4a81ff51fed98838c25d5a65b8c5543dbc560.tar.gz
hercules-52d4a81ff51fed98838c25d5a65b8c5543dbc560.tar.bz2
hercules-52d4a81ff51fed98838c25d5a65b8c5543dbc560.tar.xz
hercules-52d4a81ff51fed98838c25d5a65b8c5543dbc560.zip
- Firepillar's damage per hit is now 100% MATK (rather than 20%) when the skill level is above 10.
- Sorted out the item_data structure, getiteminfo should work correctly now. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6608 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/battle.c')
-rw-r--r--src/map/battle.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/map/battle.c b/src/map/battle.c
index bbbd75f82..5df3bdc0b 100644
--- a/src/map/battle.c
+++ b/src/map/battle.c
@@ -2530,7 +2530,8 @@ struct Damage battle_calc_magic_attack(
skillratio += (100+skill_lv*10)*2/3-100;
break;
case WZ_FIREPILLAR:
- skillratio -= 80;
+ if (skill_lv <= 10)
+ skillratio -= 80;
break;
case WZ_SIGHTRASHER:
skillratio += 20*skill_lv;