mirror of
https://github.com/liyunfan1223/mod-playerbots.git
synced 2026-02-21 02:20:00 +01:00
Does not reassign castCount so it being casted only once
This commit is contained in:
parent
1f8b34778c
commit
b61690ce7a
@ -74,8 +74,7 @@ bool CastCustomSpellAction::Execute(Event event)
|
|||||||
itemTarget = *items.begin();
|
itemTarget = *items.begin();
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
castCount = atoi(param.c_str());
|
if (atoi(param.c_str()) > 0)
|
||||||
if (castCount > 0)
|
|
||||||
text = text.substr(0, pos);
|
text = text.substr(0, pos);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user