diff options
author | Giacomo Pozzoni <giacomopoz@gmail.com> | 2020-12-30 21:18:00 +0100 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2022-03-05 17:11:58 +0100 |
commit | da0d9ee28349d1974cdacc0e3ad5b3707af04a36 (patch) | |
tree | bdfeb15f65b4a48407fdc433559f6f12cf541880 /contrib/protoc-bnet/BnetCodeGenerator.cpp | |
parent | a8d00ddd69f3ff0f197b31d407e8c5112f229b4b (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
(cherry picked from commit 96b289cadbf304e427ddbd281d1a6f592af612a7)
Diffstat (limited to 'contrib/protoc-bnet/BnetCodeGenerator.cpp')
0 files changed, 0 insertions, 0 deletions