feat(Core/SmartScripts): Add distance option for SMART_ACTION_SOUND & SMART_ACTION_RANDOM_SOUND (#10255)

This commit is contained in:
IntelligentQuantum
2022-01-29 17:48:21 +03:30
committed by GitHub
parent 5ee89ebfba
commit 915b6a2738
2 changed files with 16 additions and 8 deletions

View File

@@ -685,6 +685,7 @@ struct SmartAction
{
uint32 sound;
SAIBool onlySelf;
uint32 distance;
} sound;
struct
@@ -694,6 +695,7 @@ struct SmartAction
uint32 sound3;
uint32 sound4;
SAIBool onlySelf;
uint32 distance;
} randomSound;
struct