diff options
author | Giacomo Pozzoni <giacomopoz@gmail.com> | 2020-08-16 16:50:04 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-16 16:50:04 +0200 |
commit | ca25e8d0199730c0976ebc37317e9407aceccc34 (patch) | |
tree | 5feb36989f5fd78fd6e720ef31512727656ad0da /src/server/shared/enuminfo_SharedDefines.cpp | |
parent | df29f605959aa449a3962199ee1cac3e09e05e38 (diff) |
Core/SAI: Spell casts that cannot be executed because the unit is currently casting another spell will be retried asap with priority over other events (#25238)
* Core/SAI: Spell casts that cannot be executed because the unit is currently casting another spell will be retried asap with priority over other events
* Core/SAI: Re-sort the events only when needed
* Fix some priority reset and wrong mEventSortingRequired handling
* Code cleanup.
Sort only events loaded from db (not stored events, not timed action list).
* Code cleanup.
Raise priority of failed casts so they are retried before other spells
* Keep priority of the action fails and is rescheduled on next update
* Don't try recasting a spell in SMART_ACTION_CAST if there are multiple targets and at least 1 was successful
Diffstat (limited to 'src/server/shared/enuminfo_SharedDefines.cpp')
0 files changed, 0 insertions, 0 deletions