summaryrefslogtreecommitdiff
path: root/src/map/status.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-02-08 01:53:52 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-02-08 01:53:52 +0000
commit29c065193627bb85bc838b50f5c7d255e5894d85 (patch)
tree39e307588eff97ff085ad21b6aea5a7c5ab9b9cb /src/map/status.c
parent929ac35fb4e18b5c71ad267d692a5c7da28cd7fa (diff)
downloadhercules-29c065193627bb85bc838b50f5c7d255e5894d85.tar.gz
hercules-29c065193627bb85bc838b50f5c7d255e5894d85.tar.bz2
hercules-29c065193627bb85bc838b50f5c7d255e5894d85.tar.xz
hercules-29c065193627bb85bc838b50f5c7d255e5894d85.zip
- Removed the max level configs from battle/exp.txt
- Now NPC_POWERUP uses SC_INCATKRATE instead of SC_EXPLOSIONSPIRITS for enhancing damage. Instead of +1k atk per skilllv, it is +50% atk per skilllv. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5220 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/status.c')
-rw-r--r--src/map/status.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/map/status.c b/src/map/status.c
index 1a7dbb3d6..4ae4b81f7 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -2140,8 +2140,6 @@ int status_calc_watk(struct block_list *bl, int watk)
watk += watk * 3;
if(sc->data[SC_NIBELUNGEN].timer!=-1 && bl->type != BL_PC && (status_get_element(bl)/10)>=8)
watk += sc->data[SC_NIBELUNGEN].val2;
- if(sc->data[SC_EXPLOSIONSPIRITS].timer!=-1 && bl->type != BL_PC)
- watk += (1000*sc->data[SC_EXPLOSIONSPIRITS].val1);
if(sc->data[SC_CURSE].timer!=-1)
watk -= watk * 25/100;
if(sc->data[SC_STRIPWEAPON].timer!=-1 && bl->type != BL_PC)
@@ -4536,7 +4534,9 @@ int status_change_start(struct block_list *bl,int type,int val1,int val2,int val
val4 = gettick(); //Store time at which you started running.
calc_flag = 1;
break;
-
+ case SC_INCATKRATE: /* ATK%上昇 */
+ if (bl->type == BL_MOB)
+ sc->opt3 |= 8; //Simulate Explosion Spirits effect for NPC_POWERUP [Skotlex]
case SC_CONCENTRATE: /* 集中力向上 */
case SC_BLESSING: /* ブレッシング */
case SC_ANGELUS: /* アンゼルス */
@@ -4558,7 +4558,6 @@ int status_change_start(struct block_list *bl,int type,int val1,int val2,int val
case SC_INCFLEERATE: /* FLEE%上昇 */
case SC_INCMHPRATE: /* MHP%上昇 */
case SC_INCMSPRATE: /* MSP%上昇 */
- case SC_INCATKRATE: /* ATK%上昇 */
case SC_INCMATKRATE:
case SC_INCDEFRATE:
case SC_INCSTR:
@@ -5196,6 +5195,9 @@ int status_change_end( struct block_list* bl , int type,int tid )
case SC_ENERGYCOAT: /* エナジ?コ?ト */
sc->opt3 &= ~4;
break;
+ case SC_INCATKRATE: //Simulated Explosion spirits effect.
+ if (bl->type != BL_MOB)
+ break;
case SC_EXPLOSIONSPIRITS: // 爆裂波動
sc->opt3 &= ~8;
break;