Fixed LookAt resetting rotation when looking at self
Fixed BattleNpcs running to their target's exact position instead of the closest position they can attack from
Rewrote aoe checks for cone and line aoes and added minimum distance values
Added height checks for commands
Fixed combo effects repeating for every target hit by AoE attacks
Fixed teleport sometimes not raising (I think)
Fixed gear checks in some command scripts
Added stoneskin effect to database.
Fixed Rampage not working
Fixed bug where abilities didn't equip correctly when leveling up
Added a temporary fix for returning while dead
Added handling for abilities that don't have an actiontype set, like elusive jump
Added formulas for base EXP gain and chain experience
Added basic scripts for most player abilities and effects
Added stat gains for some abilities
Changed status flags
Fixed bug with player death
Fixed bug where auto attacks didnt work when not locked on
Added traits
Added the combo and proc systems
Added scripts for most weaponskill and spells as well as some abilities and status effects
Added support for multihit attacks
Added AbilityState for abilities
Added hiteffects that change based on an attack's parameters
Added positionals
Changed how targeting works for battlecommands
Fixed bug that occurred when moving or swapping hotbar commands
Fixed bug that occurred when losing status effects
Base
- gcseals.lua
Helper functions for GC seals. Tables the seal caps per rank and checks against it when adding seals.
Commands
- PartyTargetCommand.lua :
Handles markers above head. Basic documentation, only works on self. "Heart" doesn't work, client bug?
Eventually will need an object in the party class to handle tracking marked players/targets for the group.
Class Scripts
- PopulaceCaravanAdviser.lua
Documented. Can purchase gysahl greens from them, unsure what else their use is.
- PopulaceCaravanGuide.lua
Documented the Caravan Guide NPC, who escorts the chocobos with you.
- PopulaceCaravanManager.lua
NPC who handles signing up for Caravan escort, among other functions.
- PopulaceSpecialEventCryer.lua
Covers three NPCs for the Foundation Event. They handle trading specific items in exchange for GC seals.
Unique ID Script fixes
- flame_private_sisimuza_tetemuza.lua
Foundation Event NPC functions laid out.
- flame_sergeant_mimio_mio.lua
Foundation Event NPC functions laid out.
- serpent_lieutenant_marette.lua
Foundation Event NPC functions laid out.
- serpent_private_tristelle.lua
Foundation Event NPC functions laid out.
- serpent_sergeant_frilaix.lua
Foundation Event NPC functions laid out.
- serpent_sergeant_nelhah.lua
Removed unique script. PopulaceSpecialEventCryer handles it.
- ansgor.lua
Had incorrect defaultTalk value
- ne_of_eshtaimes.lua
Door @ !warp 209 -139 206.113 195 Had incorrect mapObj value.
- AddItem functions to cast INV_ERROR to INT for LUA
- Fixed unique item check. It was checking for Rare flag, not EX
Scripts :
Base
- shop.lua : Functions for buying/selling from a variety of shop scripts
Commands
- EmoteStandardCommand.lua fixed not being able to use emotes when sitting
- DiceCommand.lua fixed. No arguments sets default value of 100 as per the ingame description.
Max value raised from 999 to 1000.
GM Commands
- speed.lua fixed when using single argument
- nudge.lua fixed sanitizing. Made arguments reversible to allow !nudge up 10 & !nudge 10 up
- giveitem.lua added inv_error handling. Need to do to rest of item commands at some point
- givecurrency.lua changed to have you enter a regex'd name of item rather than item ID.
Eg. "!givecurrency fire_crystal 10". Added inv_error handling to it.
- warpplayer.lua added. Moves yourself to name of player, or moves first player to second player
- warpid.lua added. For warping to the first instance of an actor's uniqueId the server comes across.
- quest.lua added. For adding/adjusting quests for debugging them.
Class Scripts
- PopulaceBlackMarketeer.lua updated to utilize shop.lua
- PopulaceShopSalesman.lua updated to utilize shop.lua
- PopulaceCompanyShop.lua updated to utilize shop.lua
- PopulaceCompanyBuffer.lua added and documented along with menu layout. Needs working status effect to finish.
- PopulaceCompanyGLPublisher.lua added. Mostly documented, barely functional.
- PopulaceCompanyGuide.lua added. Documented, fully functional.
- PopulaceCompanyOfficer.lua added. Documented. Menus work. Needs GC rank table at some point
for documenting GC ranks/seal caps.
- PopulaceCompanySupply.lua added and mostly documented. Read-only basic menu flow, static LUA tables
used to set it up, will need SQL tables at some point to replace them with.
Some guesswork on what menus show since no video reference could be found.
- PopulaceGuildShop.lua updated. Mostly documented. Read-only shop menus.
- fixed auto attack anim for mobs (<3 u ion)
- added hotbar timer updates (<3 u azia)
- fixed actor block bug
- cleaned up substate retardation
- fixed some targetfind issues
- added despawn state
- added messages for in progress commands
- added fields for aoe target, range, battleAnimation to server_battle_commands table
- did stuff with magicstate/attackstate
- fixed status effect tick
- added regen status (todo: actually populate the table and use that name instead of enum's)
- added baseStats to char (todo: add bonuses and stuff on top of those, set charaWork values to the calculated ones + bonus)
- stubbed some ability stuff
- moved packet things to loop instead of session only
- added mob roaming and aggro
- todo: fix target find/detection/pathfinding speed/line of sight/line aoe length etc
- todo: see "// todo:" in code