Commit graph

82 commits

Author SHA1 Message Date
Xaver-DaRed
cd80aeb449 Move damage adjustment function location (out of spell specific file) 2026-01-21 19:24:16 +01:00
sruon
858cfa2252 Set action packet values after final modifiers 2025-12-13 10:02:31 -07:00
Umeboshi
5c2b34c850 [lua] Move functions from global to utils. 2025-12-12 11:07:14 -08:00
Umeboshi
1ff0937819 [lua] Move skill utility functions to combat global. 2025-12-12 04:33:35 -08:00
Xaver-DaRed
b8aa0f4ede Retire breathDmgTaken() lua function 2025-11-19 04:50:30 +01:00
Xaver-DaRed
62ea25ff8d Convert TMDA function to a global "damage taken" function 2025-11-19 04:50:22 +01:00
Xaver-DaRed
21dbd71691 Separate absorption and nullification calculations 2025-11-19 03:37:11 +01:00
sruon
9be820544d Use ability attack type 2025-11-17 22:05:07 -07:00
sruon
94c294f65e Refactor how lua records action packet damage 2025-11-17 00:45:37 -07:00
sruon
9128031173 Reworked action structs 2025-11-16 23:40:55 -07:00
sruon
8e54b28bc9 SPECEFFECT deprecated in favor of ActionInfo 2025-11-16 19:51:16 -07:00
WinterSolstice8
091084f280 [lua] Replace utils.thirdeye with new combat function 2025-10-28 18:10:41 -06:00
Umeboshi
94d737dd8e [core][lua] handleSevereDamage Lua binding 2025-08-19 03:00:49 -07:00
Xaver-DaRed
445371efb4 Retire c++ lua call for magic damage taken 2025-04-26 20:29:49 +02:00
WinterSolstice8
d34dc4a949 [lua] Adjust Chi Blast to use correct params on xi.ability.adjustDamage
Rename param inputs on xi.ability.adjustDamage
2025-02-19 14:04:22 -07:00
hooksta4
edfd41f8fb
Chore: Cleanup Mixed British/American Spelling to American English (#6470) 2024-12-01 20:55:23 +00:00
WinterSolstice8
b725e21ecf [lua] Chi blast is now breath damage
* Chi blast also now adjusts for Phalanx
2024-04-22 20:09:35 -06:00
Xaver-DaRed
da6767bf59 Enable Third Eye to block ranged attacks
Co-authored-by: TiberonKalkaz <TiberonKalkaz@users.noreply.github.com>
2024-01-09 20:51:04 +01:00
claywar
74e0a6789a
Move ability enums, attach ability functions to xi.ability 2023-08-23 15:09:41 -04:00
claywar
e78f81f68c
[chore] Remove unnecessary comments and newlines
Additional newlines removed, fix roe references


Fix multiple newlines
2023-08-07 13:57:37 -04:00
claywar
5e3211a2b0
[chore] Remove all requires for scripts/globals/msg
Fix lines from search and replace


Fix last line length
2023-07-15 10:41:03 -04:00
claywar
478d95fd11
[chore] Remove status global requires
Part one of the removal, to be continued

Fix comment alignment
2023-06-01 18:33:34 -04:00
Xaver-DaRed
3818088e59 Implement Resist! and add magic burst messages to msg file. 2022-12-18 12:53:47 +01:00
claywar
d0ea013126
[chore] Add newline after end at same indent level (2) 2022-11-22 14:42:58 -05:00
WinterSolstice8
5a4f4a27ec [lua] Cleanup hardcoded IDs in ability.lua 2022-11-13 21:14:40 -08:00
claywar
e857df9b0f
[chore] Use multiple lines for long conditions (1) 2022-11-13 10:54:35 -05:00
claywar
a24cee9a62
[chore] Remove outer parens from Lua conditions (12) 2022-11-04 10:44:34 -04:00
claywar
1e4a4cb666
[chore] Remove outer parens from Lua conditions (8) 2022-11-03 16:36:32 -04:00
claywar
ea4fa8290e
[chore] Update multiline conditionals to conform with CI 2022-10-23 17:59:41 -04:00
claywar
5d490f3e15
[chore] Update lua scripts for required space after comma if not followed by newline 2022-10-21 15:55:16 -04:00
WinterSolstice8
630cb9102d [core] [lua] [SMN] Implement "petskill" subsystem, implement casting of Siren, and Welt BP
* Add SMN job helper
2022-07-23 23:31:28 -07:00
WinterSolstice8
112fc672d0 [core] [RUN] Add "modifier" to action, add MB message to Swipe/Lunge, fixup reaction bits 2022-07-05 23:56:31 -07:00
WinterSolstice8
12eb4a39a0 [lua] add damage type to AbilityFinalAdjustments in scripts/globals/ability.lua for magicDmgTaken 2022-06-05 15:29:32 -07:00
WinterSolstice8
80b7a546be [core] [lua] [RUN] Implement Liement, add MDT/DT/Phalanx/Stoneskin checks where appropriate
* see https://www.bg-wiki.com/ffxi/Liement
* Adjust spikes damage to allow for absorbing
* Adjust spikes calls to use some actual message IDs instead of hardcodes
* Add core handler to check for Liement absorb
* Change some RUN effect removal to be silent
* Add range to Liement, which is not normally used unless you have Epeolatry's mod by design
* Update SteamJacket handler to pass in the element instead of hardcoded "ELEMENTAL" damage
* Adjust spell_damage.lua to have MDT + MDTII cap
2022-06-05 01:25:24 -07:00
WinterSolstice8
2bea9d5397 [RUN] implement One For All
* Add various missing Phalanx/Stoneskin checks
2022-05-20 14:17:50 -07:00
claywar
d2da1327f6
Replace references to MOBPARAM_WIPE_SHADOWS 2021-10-13 10:09:08 -04:00
claywar
97804b99df
Convert MOBPARAM_x to xi.mobskills.shadowBehavior, replace IGNORE_SHADOWS in scripts 2021-10-13 10:05:26 -04:00
wrenffxi
82ae027cd1 remove bewildered_daze (in favor of _1 through _5)
remove blind (in favor of blindness)
rename haste_samba_haste_effect to haste_samba_haste
remove impetus_effect (in favor of impetus)
comment out application of effects that are not yet implemented
rename WARRIOR_S_CHARGE to WARRIORS_CHARGE (and other effects with apostrophes)
replace TOO_HIGH with ALL_MISS
fix a few typoed effect names
update some entries in status_effects.sql to match script names
2021-05-04 17:44:08 -04:00
TeoTwawki
c858fa3c75 soooo maybe there's like....a max number of mass change at once limit I wasn't aware of.. OOPS 2021-04-02 17:02:22 -04:00
TeoTwawki
09d90643fa Remove "branding" from all lua. 2021-04-01 15:10:15 -04:00
claywar
049fd2f64d Move ability.lua items to corsair job_utils 2021-02-05 07:49:22 -05:00
Zach Toogood
9000cf3ccb LuaRefactor: vector -> sol::table, pairs conversion, shared_ptr -> optional 2021-01-03 09:09:59 +02:00
wrenffxi
2a2eb5c2bf [lua] convert more pairs/ipairs 2021-01-02 04:14:40 -05:00
wrenffxi
91037837b7 [lua] remove some tabs, braces on new lines 2020-12-27 03:41:53 -05:00
Illzbee
4a69379bc3
updated branch to have deoffset abilities scripts 2020-09-20 19:16:49 -04:00
ibm2431
29d3623a2f Insert spaces between commas inside scripts 2020-07-27 20:18:00 -07:00
MrSent
544de38436
Job abilities enum-ed (#863)
* Job abilities enum-ed

Replaced cor die script magic numbers with the corresponding enums

Added every job ability missing from the enum in ability.lua,
these are just enums so they may or may not be in the sql yet.

* Removed _S_ from enums
2020-07-23 05:02:22 +00:00
Tyler
3f7bc30b00 add comment for clarity on phantom roll cooldown 2020-06-17 12:21:49 -07:00
Tyler
20f079920a remove cooldown on double-up after using a roll 2020-06-14 18:43:28 -07:00
MrHappyAsthma
a55f7a7001 Bulk remove semicolons from most of the Lua in scripts/globals.
Command applied:
find . -type f -name "*.lua" | xargs -d '\n' sed -i 's/;//g'

Semicolons are not appropriate in Lua per the style guidelines:
https://github.com/project-topaz/topaz/blob/master/CONTRIBUTING.md

NOTE: I skipped /globals/weaponskills for now, since many files have
a valid use of semicolons (for multiple statements on the same line).
I'll audit those separately.

This change is just a style change, no functionality has been changed.
2020-02-22 19:37:33 -08:00