Azerothcore-wotlk: Braziers fire damage radius too large [$25 awarded]

Created on 31 Oct 2019  路  16Comments  路  Source: azerothcore/azerothcore-wotlk

SMALL DESCRIPTION:

The fire damage radius of various braziers and other similar game objects is too large.

EXPECTED BLIZZLIKE BEHAVIOUR:

You should only get fire damage if standing very close to the braziers.

CURRENT BEHAVIOUR:

You suffer fire damage even when standing 1-2 yards away from the game object.

STEPS TO REPRODUCE THE PROBLEM:
  • near Thrall in Orgrimmar (.go 1923.89 -4198.55 42.1597 1)
  • in the cave in Valley of Trials (.go -605.034 -4172.43 41.0001 1)
EXTRA NOTES:

none

BRANCH(ES):

master

AC HASH/COMMIT:

2cb28e5f5342e92934b5d7d3acd771a7785be82d

OPERATING SYSTEM:

Ubuntu 16.04

MODULES:

mod-autobalance
mod-npc-beastmaster
mod-transmog
mod-weapon-visual

OTHER CUSTOMIZATIONS:

none


The $25 bounty on this issue has been claimed at Bountysource.

Bounty

Most helpful comment

It does not really solve this. Although the radius is decreased, it still is big enough to hurt the player while standing away from the fire. I want to solve this by a GameObjectAI script but this will take some time. But after I'm finished it will also solve the other issue.

All 16 comments

All fire, whether it's chimney or even campfires the radius is too wide

@Stoabrogga
image

I don't know if it's a hack.But it works.

Hmm, I think this issue can be closed. According to Spell.dbc the EffectRadiusIndex is 7 for spell 7897 and 15 for 7902. When looking up those indices in SpellRadius.dbc then 7 is 2 yards radius and 15 is 3 yards radius. So this seems to be blizzlike as it is now, although it looks strange to me.

if it makes no sense to burn players where there is no fire, i'm for fixing it xD

but maybe it's working fine on other fire sources?

I think this can be fixed much easier:

UPDATE `gameobject_template` SET `Data2` = 1 WHERE `entry` = 2061;

After applying this it looks good to me.

what is it??

Reducing the diameter when the trap game object should trigger from 2 to 1 yards.

good no?

It's working for all campfires too?

Yes, that's for every game object in the world which uses 2061 as template (it's a trap type). I've began working on a much better solution which also fixes #2396 but currently have no time to finish it for the next days (perhaps weeks).

so it's a hackfix ?

It does not really solve this. Although the radius is decreased, it still is big enough to hurt the player while standing away from the fire. I want to solve this by a GameObjectAI script but this will take some time. But after I'm finished it will also solve the other issue.

Done, see PR #2432, which should also fix #2396.

I tested it and it worked great

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Maurowin picture Maurowin  路  3Comments

wampirr picture wampirr  路  3Comments

STARRHELD picture STARRHELD  路  4Comments

Wokwer picture Wokwer  路  4Comments

aradep picture aradep  路  3Comments