Issue information

Issue ID
#4993
Status
Fixed
Severity
None
Started
Hercules Elf Bot
Jul 8, 2011 1:37
Last Post
Hercules Elf Bot
Apr 4, 2012 8:34
Confirmation
N/A

Hercules Elf Bot - Jul 8, 2011 1:37

Originally posted by [b]Kazukin[/b]
http://www.eathena.ws/board/index.php?autocom=bugtracker&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;
}


This post has been edited by Kazukin: Jul 7 2011, 06:38 PM

Hercules Elf Bot - Dec 9, 2011 1:57

Originally posted by [b]Ind[/b]
need source saying battleground crystals is not damaged by skills

Hercules Elf Bot - Dec 9, 2011 3:20

Originally posted by [b]Triper[/b]
[quote name="iROWiki"]

[b]Flavius[/b][list]
[*]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.
[*][b]Skills cannot be used on crystals.[/b]
[*]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.
[/list]

[/quote]


http://irowiki.org/wiki/Battlegrounds

Hercules Elf Bot - Dec 9, 2011 3:23

Originally posted by [b]Ind[/b]
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.