Issue information

Issue ID
#1999
Status
Working as Intended
Severity
None
Started
Hercules Elf Bot
Aug 5, 2008 13:59
Last Post
Hercules Elf Bot
Mar 5, 2012 8:55
Confirmation
N/A

Hercules Elf Bot - Aug 5, 2008 13:59

Originally posted by [b]offchar[/b]
http://www.eathena.ws/board/index.php?autocom=bugtracker&showbug=1999

Good afternoon.

I play on a free russian server, based on eA. We have the best administrator of all over the world (IMG:style_emoticons/default/smile.gif) He always actualizes the server core with the stable folder of eA. But now there is kind of situation there. Historicaly, there were 3 kind of attacks on Ragnarok Online: melee attack (f.e. bash, pierce etc), range attack (double strafe etc) and magic attacks (storm gust, etc). The logical meanings of this attack types differs - range is range, magic is magic.

Also there are some kind of cards for players to be protected of an attack of certain type: mDEF equipment to be protected of magic, horn/alligator/noxious cards to be protected of range. We had some tests and aquired (excuse my english (IMG:style_emoticons/default/wink.gif)), that noxiuos/alligators/horn card etc does reduce magical damage, but according to their description, they must work only for range attacks.

Here is a video of our test: http://video.mail.ru/mail/vdragon/47/50.html

Forum discussion of the problem:



db/item_db.txt:


QUOTE
4334,Noxious_Card,Noxious Card,6,,10,10,,,,,,,,4,,,,,{ bonus bLongAtkDef,10; bonus2 bSubEle,Ele_Neutral,10; },{},{}
Цитата:
4252,Alligator_Card,Alligator Card,6,,10,10,,,,,,,,136,,,,,{ bonus bLongAtkDef,5; },{},{}


src/map/battle.c:

QUOTE
2389 //It was discovered that ranged defense also counts vs magic! [Skotlex]
2390 if (ad.flag&BF_SHORT)
2391 cardfix=cardfix*(100-tsd->near_attack_def_rate)/100;
2392 else
2393 cardfix=cardfix*(100-tsd->long_attack_def_rate)/100;



From the description of Alligator Card:

QUOTE
Receive 5% less damage from Long Range Physical attack


This tells us for sure, that Alligator card must not affect on magic-type attacks, but the eA situation is quite different.
© anonimous


The message of our administrator:

QUOTE
bonus bLongAtkDef,10

This bonus affects the defence of long range physical attacks and reduces their damage on 10%. Actually it counts bow and other long-range attacks and skills. This code is not related ro magic.

bonus bMagicAtkDef - is the bonus, related to magic-type attacks damage reducing.
© X


Summary:

In my humbe opinion alligator, noxious, horn and other bonus bLongAtkDef things must not reduce magicall attacks damage. It affects game ballance: now the player have to collect just one kind of equipment to be protected during WoE: anti-range things protect the player from magic too and there is no need to use mDEF equipment. Logically, if magic counts as range attack and related to bonus bLongAtkDef, it also must be blocked by.

Apologize for my bad english.
Sincierly, offchar.