* Check statuses to determine valid lut entry
* Add duration field to statuses
* Rename buildEffects to make more sense
* Add basic generic handler for applying statuseffects
* Add more modifiers
* Add basic modifier impl for Chara
* Apply/remove modifiers for statuseffects
* Add some example statuses to lut
* Fix windows build error
* Don't clear tick effect
* Add status entry for Maim
* Apply status effects properly for self when having a target
* Fix hasStatusEffect to prevent duplicates
* Basic dot/hot ticks implemented
* Update HP on tick effects
* Apply effect to correct target
* Add method to simplify applying statuses to self
* Add job actions for warrior
* Add some actions and statuses for war
* Add even more modifiers
* Add statuseffect cost type
* Add option to not send statusremove order
* Change delModifier assert to return early instead
* Add option for scripts to enable the generic/lut handler
* Add enums for common action values
* fix indentation
* Fix modifier name for Defiance
* Remove status tick logging
* Move modifiers to statuseffect
* Add ParryPercent modifier
* Remove wrath when Defiance ends
* Apply modifiers in applyStatus
* Remove unused method
* Persistence for cross-class skills
* Add flags to StatusEffects
* Some exd struct fixes
* Some aoe work
* Add flags to lut
* Add missing changeclass
* Add SET_STATUS_ME to ActionIntegrity
* Improve offensive action check
* Add flag to overloaded applyStatusEffectSelf
* indentation fix
* Some calculation work
* Null-check ActionResultBuilder
---------
Co-authored-by: Lucy <44952533+Skyliegirl33@users.noreply.github.com>
Co-authored-by: Mordred <30826167+SapphireMordred@users.noreply.github.com>
- add actor and item names as comments
- add actor positions as comments (bnpc/eobj teris may be inaccurate)
- sort script entities properly with shameless natural sort steal
The generated onBNpcKill and onEObjHit functions were using the wrong
case for the constants they used. Ensure that they use the same case as
the declared constants, and reduce duplicate code.
Also, fix a typo in the onEObjHit function prototype which was causing
generated scripts to not compile properly, and revert the incorrect
addition (by me in an earlier commit) of "override".