Originally Posted by
Marxlne
Yes, i thought it was clear how it worked when i posted my vid way back 2017 but yes it is exactly how it works atm. I just draw a rough diagram , maybe it's helping people to better understand how it works. Shield-Smash hits mobs in the 2.5m range, 180 degree arc in front of the TARGETED MOB's VIEW:
In my example all mobs inside the 180 degree arc will be hit by Shield-Smash, even mobs behind Guardian. Mobs outside of 2.5m range will not get hit.
Funny thing is: This bug should be easily fixable. It happens because of a mixup of how damage is applied to mobs single target vs. AoE.
Single target skills apply their damage to the targeted mob. Pseude code:
Code:
Mob myMob = player.getTarget();
myMob.applySkillDamage();
AoE skills first create a list of mobs who are in the area (circle, cone, whatever). (The function that returns this list has a number "maximum targets" as parameter.) Then, skill damage is applied to each of these targets. Pesudo code:
Code:
MobList myMobList = player.getMobsInFrontalCone(5)
for each Mob in myMobList
{
Mob.applySkillDamage()
};
In the case of Shield Smash, it probably looks like this:
Code:
MobList myMobList = player.getTarget().getMobsInFrontalCone(5)
for each Mob in MobList
{
Mob.applySkillDamage()
};
Because the getTarget() function sits between the player object and the cone calculation function, the cone is calculated from the targeted mob, not from the player.
Would be nice if a dev could check this is what happens...