summaryrefslogtreecommitdiff
path: root/src/map/battle.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-02-01 19:14:28 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-02-01 19:14:28 +0000
commitbf07760665f25b3a80af93c7bc68427c1f77349c (patch)
tree5db4a28757064dfd690ab3c9955abb3b97d6991f /src/map/battle.c
parent16e98db60869923981239814297888b46a425c7c (diff)
downloadhercules-bf07760665f25b3a80af93c7bc68427c1f77349c.tar.gz
hercules-bf07760665f25b3a80af93c7bc68427c1f77349c.tar.bz2
hercules-bf07760665f25b3a80af93c7bc68427c1f77349c.tar.xz
hercules-bf07760665f25b3a80af93c7bc68427c1f77349c.zip
- Trick Dead makes you stop walking now.
- Falcon Assault only does 1 hit now. - Soul Burn is not affected by Lex Aeterna, not affected by target's cards. - Freeze and Stone take preference over Benedictio - Opt1 inducing SCs fail if the target has already another Opt1 - Fixed areamonster when the passed class is negative - Removed the clear screen when launching the server. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5156 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/battle.c')
-rw-r--r--src/map/battle.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/map/battle.c b/src/map/battle.c
index 5f014879f..39256a8f2 100644
--- a/src/map/battle.c
+++ b/src/map/battle.c
@@ -620,7 +620,7 @@ int battle_calc_damage(struct block_list *src,struct block_list *bl,int damage,i
return 0;
//Now damage increasing effects
- if(sc->data[SC_AETERNA].timer!=-1 && skill_num != PA_PRESSURE){
+ if(sc->data[SC_AETERNA].timer!=-1 && skill_num != PA_PRESSURE && skill_num != PF_SOULBURN){
damage<<=1;
if (skill_num != ASC_BREAKER || flag & BF_MAGIC) //Only end it on the second attack of breaker. [Skotlex]
status_change_end( bl,SC_AETERNA,-1 );
@@ -2655,7 +2655,8 @@ struct Damage battle_calc_magic_attack(
MATK_RATE(cardfix);
}
- if (tsd && skill_num != HW_GRAVITATION) { //Card fixes always apply on the target side. [Skotlex]
+ if (tsd && skill_num != HW_GRAVITATION && skill_num != PF_SOULBURN)
+ { //Card fixes always apply on the target side. [Skotlex]
short s_race2=status_get_race2(src);
short s_class= status_get_class(src);
short cardfix=100;