Issue Information
-
#004993
-
0 - None Assigned
-
Fixed
Issue Confirmations
-
Yes (0)No (0)
Originally posted by Kazukin
http://www.eathena.w...er&showbug=4993
When using BF_WEAPON skills on monsters with MD_PLANT mode set, battle_calc_weapon_attack() returns before applying gvg/bg damage modifiers to the actual damage, so BF_WEAPON skills do damage equal to the skill number of blows to these monsters.
Issue is that if monster is a crystal (or emperium if it had MD_PLANT mode set), this damage should have been reduced to 0, since they are immune to skills.
This issue can be reproduced by using Sonic Blow or Flying Kick (or any other BF_WEAPON skill) on ID#1914 and ID#1915 monsters on a battleground flagged map.
This post has been edited by Kazukin: Jul 7 2011, 06:38 PM
http://www.eathena.w...er&showbug=4993
When using BF_WEAPON skills on monsters with MD_PLANT mode set, battle_calc_weapon_attack() returns before applying gvg/bg damage modifiers to the actual damage, so BF_WEAPON skills do damage equal to the skill number of blows to these monsters.
Issue is that if monster is a crystal (or emperium if it had MD_PLANT mode set), this damage should have been reduced to 0, since they are immune to skills.
This issue can be reproduced by using Sonic Blow or Flying Kick (or any other BF_WEAPON skill) on ID#1914 and ID#1915 monsters on a battleground flagged map.
QUOTE
if( flag.infdef )
{ //Plants receive 1 damage when hit
if( flag.hit || wd.damage > 0 )
wd.damage = wd.div_; // In some cases, right hand no need to have a weapon to increase damage
if( flag.lh && (flag.hit || wd.damage2 > 0) )
wd.damage2 = wd.div_;
if( !(battle_config.skill_min_damage&1) )
//Do not return if you are supposed to deal greater damage to plants than 1. [Skotlex]
return wd;
}
{ //Plants receive 1 damage when hit
if( flag.hit || wd.damage > 0 )
wd.damage = wd.div_; // In some cases, right hand no need to have a weapon to increase damage
if( flag.lh && (flag.hit || wd.damage2 > 0) )
wd.damage2 = wd.div_;
if( !(battle_config.skill_min_damage&1) )
//Do not return if you are supposed to deal greater damage to plants than 1. [Skotlex]
return wd;
}
This post has been edited by Kazukin: Jul 7 2011, 06:38 PM
Originally posted by Ind
need source saying battleground crystals is not damaged by skills
need source saying battleground crystals is not damaged by skills
Originally posted by Triper
http://irowiki.org/wiki/Battlegrounds
Flavius
- Victory is obtained by destroying the opposing team's crystal.
- The crystal for each team is protected by 2 guardians that must be defeated before the crystal can be attacked.
- When the crystal is destroyed, your team gains one point. Your team wins if you obtain two points.
- Skills cannot be used on crystals.
- The cooldown period during which a player cannot participate in another Flavius battle is shown in a player's Quest Window.
- The winning team receives 12 Valor Badges, and the losing team 4.
- If there is a tie, both teams receive 4 Valor Badge.
http://irowiki.org/wiki/Battlegrounds
Originally posted by Ind
Thanks for the source Triper. unfortunately I found out that it already is skill-immune (requires battleground to be active in the map it is spawned), it has been fixed in a previous date i guess.
Thanks for the source Triper. unfortunately I found out that it already is skill-immune (requires battleground to be active in the map it is spawned), it has been fixed in a previous date i guess.