mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
Fixup/Spells
* fixed variable reuse
This commit is contained in:
@@ -2124,11 +2124,11 @@ class SpellList extends BaseType
|
|||||||
{
|
{
|
||||||
if ($addMask & GLOBALINFO_RELATED)
|
if ($addMask & GLOBALINFO_RELATED)
|
||||||
{
|
{
|
||||||
foreach (ChrClass::fromMask($this->curTpl['reqClassMask']) as $id)
|
foreach (ChrClass::fromMask($this->curTpl['reqClassMask']) as $cId)
|
||||||
$data[Type::CHR_CLASS][$id] = $id;
|
$data[Type::CHR_CLASS][$cId] = $cId;
|
||||||
|
|
||||||
foreach (ChrRace::fromMask($this->curTpl['reqRaceMask']) as $id)
|
foreach (ChrRace::fromMask($this->curTpl['reqRaceMask']) as $rId)
|
||||||
$data[Type::CHR_RACE][$id] = $id;
|
$data[Type::CHR_RACE][$rId] = $rId;
|
||||||
|
|
||||||
// play sound effect
|
// play sound effect
|
||||||
for ($i = 1; $i < 4; $i++)
|
for ($i = 1; $i < 4; $i++)
|
||||||
|
|||||||
Reference in New Issue
Block a user