diff options
author | Giacomo Pozzoni <giacomopoz@gmail.com> | 2020-12-30 21:18:00 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-30 21:18:00 +0100 |
commit | 96b289cadbf304e427ddbd281d1a6f592af612a7 (patch) | |
tree | 1eaf6114ae071a252cbbb30345dcfcae7b216359 /src/server/game/Maps/Map.cpp | |
parent | f8afcec9f3efc58ce8a38a6c63e2ebfc24d2e01d (diff) |
Core/SAI: Fix SMART_EVENT_FLAG_NOT_REPEATABLE flag being ignored when specifying a chance (and other SMART_ACTION_CAST fixes) (#25778)
* Core/SAI: Fix SMART_EVENT_FLAG_NOT_REPEATABLE flag being ignored when specifying a chance
Fix SMART_EVENT_FLAG_NOT_REPEATABLE flag being ignored when specifying a chance, always making the action trigger.
* Fix SMART_ACTION_CAST with SMART_EVENT_FLAG_NOT_REPEATABLE not casting the spell at all if rolled chance was successful but creature couldn't cast the spell
* Prevent linked actions if SMART_ACTION_CAST couldn't be completed and will be retried later
Diffstat (limited to 'src/server/game/Maps/Map.cpp')
0 files changed, 0 insertions, 0 deletions