From eb0a137041d3a5ee6385762b8374e98b3867d5a0 Mon Sep 17 00:00:00 2001 From: skotlex Date: Fri, 23 Feb 2007 18:41:56 +0000 Subject: - Minor cleanups - Adjusted menu-based skills so you can't reuse the same skill until you've dealt with the menu. - Adjust autospells so that removing an autospell works when the script of the card that removes the autospell is triggered before the script that adds the spell. - The "requested name of gm-hidden char" warning will not be displayed when the object in question is an NPC (since you can use Intravision to do this). - Corrected the header format for invisible npcs. - Venom Knife no longer takes into accounts cards or EDP. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9905 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/battle.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/map/battle.c') diff --git a/src/map/battle.c b/src/map/battle.c index 1cce2fcba..6acee440e 100644 --- a/src/map/battle.c +++ b/src/map/battle.c @@ -1377,6 +1377,9 @@ static struct Damage battle_calc_weapon_attack( case AS_SONICBLOW: skillratio += -50+5*skill_lv; break; + case AS_VENOMKNIFE: + flag.cardfix = 0; + break; case TF_SPRINKLESAND: skillratio += 30; break; @@ -1639,7 +1642,8 @@ static struct Damage battle_calc_weapon_attack( if(sc->data[SC_EDP].timer != -1 && skill_num != ASC_BREAKER && - skill_num != ASC_METEORASSAULT) + skill_num != ASC_METEORASSAULT && + skill_num != AS_VENOMKNIFE) ATK_ADDRATE(sc->data[SC_EDP].val3); } -- cgit v1.2.3-70-g09d2