SunstriderEmu / BugTracker

Endless.gg bugtracker
https://endless.gg
30 stars 25 forks source link

Area wide spells #211

Open SUN-Leekie opened 5 years ago

SUN-Leekie commented 5 years ago

Description: There are events where a spell is supposed to be on every player in a zone at a given time. Examples:

We can see two types:

  1. Spells casted on players at one point which have an aura duration: Rallying Cry of the Dragonslayer & Hellscream's Warsong
  2. Area wide buffs without aura duration: Trollbane's Command, Nazgrel's Favor & K'iru's Song of Victory

How can we handle these? Not sure how for the first type but the second could probably be handled with a game_event and reference of it in spell_area.

Kittnz commented 5 years ago

How nost does the wachief blessing https://github.com/lh-server/core/blob/development/src/scripts/kalimdor/orgrimmar/orgrimmar.cpp#L540.

Anyway maybe a player script or we look (loop) for every player in the zone, add the buff or remove it

kelno commented 5 years ago

Hellscream's Warsong and Rallying Cry of the Dragonslayer Should both be done in scripts. The other two (Permanent buffs) are now implemented.