TrinityCore / TrinityCore/TrinityCore

Spells Area - Allow restrict areas by Wmo Area ID

Open
#29,968 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Branch-master
Dominant language
C++
Stars
10.8k
Forks
6.4k
Avg merge
3d 16m
Merged PRs (30d)
6

Description

Description
  • Some aura spells need to be restricted just to a WMO area instead the whole area. Because blizz restrict the behaviour to these boundaries.
Expected behaviour

https://youtu.be/uZI_mYKrEG8?feature=shared&t=185

Check how the Guardian Aura for Dwarf is applied when you enter in Tomb, but the Tomb is just a WMO Area Id

Steps to reproduce the problem
  • Try create a spell_area with WMO area id as filter. You can't
Branch

master

TC rev. hash/commit

https://github.com/TrinityCore/TrinityCore/commit/c603c52a3d1d2d3b9aebe29bbb8f869ffb45e791

Operating system

All

Custom changes

None

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the current spell_area handling and how WMO Area IDs are represented, then reproduce the reported limitation by trying to create a spell_area with a WMO Area ID filter. Done means aura spells can be restricted to a WMO area boundary and the Guardian Aura example behaves correctly when entering the Tomb.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
game-dev
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.