mirror of
https://github.com/ZhengPeiRu21/mod-individual-progression
synced 2025-11-29 23:44:51 +08:00
AttackStart function didnt work
need to figure out another way
This commit is contained in:
@@ -67,17 +67,6 @@ public:
|
|||||||
sIndividualProgression->CheckAdjustments(player);
|
sIndividualProgression->CheckAdjustments(player);
|
||||||
}
|
}
|
||||||
|
|
||||||
void AttackStart(Unit* target) override
|
|
||||||
{
|
|
||||||
if (target->IsPlayer())
|
|
||||||
{
|
|
||||||
if (!CanBeSeen(target->ToPlayer()))
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
SmartAI::AttackStart(target);
|
|
||||||
}
|
|
||||||
|
|
||||||
void OnPlayerResurrect(Player* player, float /*restore_percent*/, bool /*applySickness*/) override
|
void OnPlayerResurrect(Player* player, float /*restore_percent*/, bool /*applySickness*/) override
|
||||||
{
|
{
|
||||||
sIndividualProgression->CheckAdjustments(player);
|
sIndividualProgression->CheckAdjustments(player);
|
||||||
|
|||||||
Reference in New Issue
Block a user