Brings forever up to date with our 0.1.34 code for the WoW Forever client 1.60.1.70862.
Blizzlike only: fixes from real game data (packet captures, live hotfixes, player caches, Wowhead and Questie data,
VMaNGOS for the vanilla world) and server fixes. No custom items or custom content; every rate and option defaults
to Blizzard's behaviour.
What is new since 2ae1313e, in short:
- Clients 70790, 70840 and 70862: message numbers, mail, guild window, charters, contact list, add-on whispers.
- Crash and exploit fixes: guild ranks, loot of emptied veins, quest lookups, taxi mask, battleground templates,
vendor free buys, item sell price, auction house, falling out of the world, bnetserver request limit.
- Classes, talents, pets and buffs from the live game data and Blizzard's hotfixes of November.
- Quests, NPCs, spawns, trainers, loot, fishing, events, Merchant's Favor crates and writs, sealed crate turn-ins.
- Dungeon and raid scripts (Molten Core, Blackwing Lair, Zul'Gurub, Ahn'Qiraj, Shadowfang Keep, Deadmines ...).
- Pathing fixes that help pets and NPCs.
- Russian creature names, quest titles and quest texts.
- README: Blizzlike stance, branches, repack.
20 lines
848 B
C++
20 lines
848 B
C++
#include "tc_catch2.h"
|
|
|
|
#include "../../src/server/game/Spells/ClassicAuraCaster.h"
|
|
|
|
TEST_CASE("A bomb's explosion names the creature that cast the bomb, while it is still there", "[ClassicAuraCaster]")
|
|
{
|
|
CHECK(ClassicAuraCaster::UseAuraCaster(true, true, false)); // Geddon alive, a player carries the bomb: Geddon is the original caster
|
|
}
|
|
|
|
TEST_CASE("Without the aura's caster the explosion falls back to the holder", "[ClassicAuraCaster]")
|
|
{
|
|
CHECK_FALSE(ClassicAuraCaster::UseAuraCaster(false, false, false)); // caster gone (despawned after a wipe)
|
|
CHECK_FALSE(ClassicAuraCaster::UseAuraCaster(true, false, false)); // caster pointer exists but is not in the world
|
|
}
|
|
|
|
TEST_CASE("A self-cast aura needs no original caster", "[ClassicAuraCaster]")
|
|
{
|
|
CHECK_FALSE(ClassicAuraCaster::UseAuraCaster(true, true, true));
|
|
}
|