This may not actually be every file, but I did the best I could.
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
Get rid of warning from godmode's 1 second tick regain.
Also remove sentinel since it redundantly add the same mod invincible uses, and add elemental sforzo
Fixes #4277
I cannot guarantee that the automation didn't mangle the human readability of a line or two someplace, but I did make sure the console log was clean of errors after.
Also, during this process a great many script errors were spotted. Most incidents were missing requires in quest scripts and these are now corrected.
Reasoning:
Many modern sites and services use the AT symbol (`@`) to direct messages to users, including the service currently hosting our repository. Someone unfamiliar with this (or simply doesn't consider it or doesn't care) can easily create situations where persons not involved in the project could be spammed.
The modifiers are no longer +5000 but are still so high you won't know the difference (certain situations were causing dropping godmode to leave the player with inaccurate stats).
CORE: GM commands are now loaded/ran at runtime allowing GMs to add/remove commands on the fly during runtime.
CORE: Removed commands.conf as it is no longer used.
SCRIPTS: Recoded all commands to follow suit with the new command system.
SCRIPTS: Modified a handful of scripts to have more error checks to prevent debug breaks.
SCRIPTS: Modified a handful of scripts to better handle their purpose.
- Implemented "enhances wyvern breath" equipment in both breath types
- @godmode Sentinel is no longer the worst Sentinel in history (yay UINTs)
- @godmode no longer grants a 3% magic haste when first activated (because Hundred Fists+Chain spell wasn't fast enough!)
SQL: Corrected recast of Deep Breathing
- Item mods for "enhances wyvern breath" gear
- Casting/recast times for Summoning spells now match the DATs, which should fix that odd casting delay
- Corrected Refulgent arrow element and animation. Don't commit when tired.
- Added Moongates to Ro'Maeve.
SCRIPTING:
- Added Sentinel. Damage reduction decays by 5% every 3 seconds for 30 seconds.
- Mob TP moves will now be affected by Damage Taken, Physical Damage Taken, and Magical Damage Taken.
- Moongates will automatically open from midnight to 3 AM, weather and lunar phase permitting. (thanks gedads and kjLotus)
- Further adjustments to @godmode to reduce status effect clutter. Invulnerability should now be absolute via Sentinel.
- Added Refulgent Arrow
- Corrected animations for Ancient and Warding Circle. Thank you galkasmash and _Guess for checking that.
- Added slot reservations to Moogle suit.
SCRIPTING:
- A few adjustments to @godmode. Please be careful with extremely large values for haste.
- Updated Tornado Kick to avoid errors.
- Scripted Refulgent Arrow.
Fixed an error with @changejob & @changesjob commands
Added some more 'generous' GM commands:
@givegil Link 100 - will give 100 gils to link or the players name
@giveitem Link 17440 - will give link or the player name 1 KC
@giveitem Link 1179 99 - will give link or the player name 99x tools
@setplayerlevel Link 30 - will change links or the player names level to 30
Added manafont & chainspell to godmode.