HerculesWS / Hercules

Hercules is a collaborative software development project revolving around the creation of a robust massively multiplayer online role playing game (MMORPG) server package. Written in C, the program is very versatile and provides NPCs, warps and modifications. The project is jointly managed by a group of volunteers located around the world as well as a tremendous community providing QA and support. Hercules is a continuation of the original Athena project.
http://herc.ws
GNU General Public License v3.0
892 stars 757 forks source link

Metallic Sound & Deep Sleep / Sleep damage #609

Open Helheim90X opened 9 years ago

Helheim90X commented 9 years ago

http://valhabar.roserver.net/foro/index.php?topic=17.0 http://irowiki.org/wiki/Metallic_Sound

Damage is not being increased in Sleep Status nor deep sleep... According to skill description:
Targets affected by Sleep or Deep Sleep receive 1.5x the damage. The SP drain is not increased. Targets affected by Deep Sleep also receive the 1.5x damage that Deep Sleep causes on the next attack (total of 2.25x damage) Targets affected by Deep Sleep also receive the 1.5x damage that Deep Sleep causes on the next attack (total of 2.25x damage).

Please, check it, it's tested in PVP...

MrKeiKun commented 3 years ago

if those are true... that means...

case WM_METALICSOUND:
    skillratio = 120 * skill_lv + 60 * ( sd? pc->checkskill(sd, WM_LESSON) : 10 );
    if (tsc) {
        if (tsc->data[SC_SLEEP])
            skillratio += 150;
        if (tsc->data[SC_DEEP_SLEEP)
            skillratio += 75;
    }
    RE_LVL_DMOD(100);
    break;