Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reflect Issue #2133

Open
RadianFord opened this issue May 9, 2017 · 6 comments
Open

Reflect Issue #2133

RadianFord opened this issue May 9, 2017 · 6 comments
Labels
component:skill A fault that deals specifically with a skill mode:prerenewal A fault that exists within the pre-renewal mode priority:medium A fault that makes rAthena have significant repercussions but does not render rAthena unusable status:confirmed Issue that has been validated by a developer to affect rAthena status:need more info Issue that needs more information from a creditable source type:bug Issue that is a bug within rAthena

Comments

@RadianFord
Copy link
Contributor

RadianFord commented May 9, 2017

  • Client Date: 2015 05 13
  • Server Mode: Pre Renewal
  • Description of Issue:

    • Result: Champion received reflect from Paladin w/ +15 Valk Garment, Reflect Shield and Auto Guard.
    • Expected Result: If Paladin receive damage champion will also receive a reflect damage from Asura skill.
    • How to Reproduce: https://rathena.org/board/topic/110855-asura-reflect-when-missed-wtf/#comment-324552 I'll link the topic from the forum.
    • Official Information: No official information about this im just concerned about this.
  • Modifications that may affect results: Modification or None it still the same.

@Jeybla Jeybla added mode:prerenewal A fault that exists within the pre-renewal mode status:need more info Issue that needs more information from a creditable source labels May 9, 2017
@RadianFord
Copy link
Contributor Author

Is there any temporary fix for this issue?

@anacondaq

This comment was marked as abuse.

@Jeybla
Copy link
Contributor

Jeybla commented Oct 7, 2017

Result: Champion received reflect from Paladin w/ +15 Valk Garment, Reflect Shield and Auto Guard.
Expected Result: If Paladin receive damage champion will also receive a reflect damage from Asura skill.

Looks like you're missing an information what the bug actually is about?

From the forum thread:

when i use asure on them and miss i get the damage back to me!
I want to asura don't be reflected when missed! or asura or all skills, the mod tha is easier to do... any ideia?

So the champion is getting reflect damage even though the damage skill (Asura Strike) missed.
To reproduce this issue... How am I supposed to make Asura Strike miss?

@Jeybla Jeybla added priority:medium A fault that makes rAthena have significant repercussions but does not render rAthena unusable status:unable to reproduce Issue that was unable to be reproduced on rAthena type:bug Issue that is a bug within rAthena component:skill A fault that deals specifically with a skill and removed priority:medium A fault that makes rAthena have significant repercussions but does not render rAthena unusable labels Oct 7, 2017
@Jeybla
Copy link
Contributor

Jeybla commented Oct 7, 2017

It's possible to miss using Auto Guard. But it takes a few attempts.

Asura Strike missed without giving any reflect damage, when the Pala is not wearing a Valkyria's Manteau. If the Paladin is wearing a Valkyria's Manteau, the damage is reflected even if it missed. Though the skill Reflect Shild isn't needed to reproduce this issue.
Tested on 54a119c in Pre-Renewal mode.

Edit:
Why are these two reflect types (Reflect Shield and short_weapon_damage_return) not calculated equally? The function battle_calc_return_damage is called in two completely different places with a flipped status_reflect value. Unfortunately there is no comment why it's important to differentiate status reflect and other reflect values?

int64 battle_calc_return_damage(struct block_list* bl, struct block_list *src, int64 *dmg, int flag, uint16 skill_id, bool status_reflect){
[...]
	if (flag & BF_SHORT) {//Bounces back part of the damage.
		if ( !status_reflect && sd && sd->bonus.short_weapon_damage_return ) {
			rdamage += damage * sd->bonus.short_weapon_damage_return / 100;
			rdamage = i64max(rdamage,1);
		} else if( status_reflect && sc && sc->count ) {
			if( sc->data[SC_REFLECTSHIELD] ) {
[...]

@Jeybla Jeybla added status:confirmed Issue that has been validated by a developer to affect rAthena and removed status:unable to reproduce Issue that was unable to be reproduced on rAthena labels Oct 7, 2017
@BringerxD
Copy link

how to fix this problem?

@sgsilva
Copy link

sgsilva commented Jun 2, 2020

up

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:skill A fault that deals specifically with a skill mode:prerenewal A fault that exists within the pre-renewal mode priority:medium A fault that makes rAthena have significant repercussions but does not render rAthena unusable status:confirmed Issue that has been validated by a developer to affect rAthena status:need more info Issue that needs more information from a creditable source type:bug Issue that is a bug within rAthena
Projects
None yet
Development

No branches or pull requests

5 participants