HerculesWS/Hercules

Long Range Attack Reflect Problem

Aristeus09 opened this issue · 9 comments

Describe the bug
Auto casting Fireball + Equipping Long Range Reflect Damage causing a huge damage.
I tried also in the melee reflect damage. the melee reflect damage is working fine.
only the long range reflect damage has a bug.

To Reproduce
Steps to reproduce the behavior:

  1. Equip Mutant Dragonoid Card, Kasa Card, Alchemy Gloves and an item that give reflect range damage.
  2. Then spam sharp shooting on the target that equipping those cards and an items that give reflect range damage.
  3. You will see target players will cast fireball in a big damage on the attacker even the target players have 1 int only.

Expected behavior
The damage should not be like that.

Screenshots
Test

System specs (please complete the following information):

  • OS: [Ubunu 18.04]
  • Hercules Version [2022.03.20]
  • Mode: [Pre-renewal]
  • Packet version: [20180621]
  • Client type: [RE]

How did you manage to reflect the damage? Can you provide the items you used to reflect the damage?

How did you manage to reflect the damage? Can you provide the items you used to reflect the damage?

i used a custom costume items and put a item script on it "bonus bLongWeaponDamageReturn,1;" and then on my general equips like valkyrie mant. i put kasa card, and on my weapon i put mutant dragonoid card, then i wear alchemy gloves and my other char which is sniper spam sharp shooting on my char that wearing those cards and items

image
Okay in this test my Paladin has this set of items including:

{
	Id: 19500
	AegisName: "T_Mr_Smile"
	Name: "T Mr Smile"
	Type: "IT_ARMOR"
	Loc: ["EQP_COSTUME_HEAD_MID", "EQP_COSTUME_HEAD_LOW"]
	Refine: false
	ViewSprite: 65
	Script: <" bonus bLongWeaponDamageReturn, 1; ">
},

I am unable to reproduce the bug you said relating to large amount of magic damage return even on 1 int.
image

i equip alchemy gloves and change the script of autospell into 100% and i equip a costume item that have long range reflect damage and then i spam sharp shooting as you can see in the video

Anyway, can you reproduce this on a clean Hercules? Cause right now I cannot really reproduce this.

@MrKeiKun to reproduce that you can't just stay in a cell. try walk around while spamming your sharp shooting in your target. i tried to stay in a cell and it won't proc but when i walk around while spamming my sharp shooting in the target same in the video above it will proc easily. don't forget to change the alchemy glove fireball into 100% chance to proc.

btw it won't proc in normal attack or other skills. it only happen when the attacker used sharp shooting skill

Is it reproducible in clean Hercules?
If yes, please share revision id used to reproduce the issue.