Jump to content
Sign in to follow this  
Rytech

r895 - Elemental System Recode Part 5

Recommended Posts

=General
*Elemental system recode part 5.
-This part focused on finishing up the rest of the AI related stuff, how the
-mode switching functions work, and all that happens while a mode is active and
-what happens during the switching of modes. Database relate stuff is updated
-to remove all the useless stuff not needed. Finally, some code was updated to
-be more compact and efficant now that things are finalized.
-
-With this step done the system is now complete enough to where I can start
-putting focus on coding in their skills. I can also focus on moving the sub-stat
-calculations to the elemental create function and also update the save data
-format for them. Which ever one I choose to work on next.

 

*Replaced the "elem_support" config with "elem_defensive_support" config.
-It works similar to the old one except it only applies to Defensive mode.
-Felt allowing a elemental to attack while in Wait or Passive mode was too much.

 

*Added "elem_defensive_attack_skill" config.
-Sets if a elemental can autocast its offensive skills in Defensive mode.
-Its set to no by default as you can trigger them using Elemental Action.

 

*Reaplced "natural_elem_healhp_interval" and "natural_elem_healsp_interval" with
-"natural_elem_healhp_interval" config. This is necessary due to the changes to
-their HP/SP regen mechanics.

 

*The "eleminfo" command no longer shows the elementals regen rate.

 

*Elemental type checks is switched to use the "elemental_get_type" function.

 

 

 

=Database
*Updated the elemental_db.
-Removed quite a number of columns since a lot of it is pointless. Most of a
-elementals sub-stats are set using formulas different from the norm.

 

*Removed the elemental_skill_db.
-Aegis has the skill selection and management hardcoded. Doing the same here
-showed to be much easier to do and is more efficant. Plus its easy to add new
-skills to the lists in the code if needed.

 

 

 

=Elementals
*Recoded the handling of HP/SP regen to official.
-HP/SP is no longer regenerated by normal means and is now done through the "Wait"
-mode status. While this means that status's that normally increases a player's
-regen rate no longer affects elementals, it also means status's that reduce or
-disables HP/SP regen won't affect elementals.
-
-For as long as the elemental is in the wait mode it will regen HP/SP. The regen
-can be doubled when standing in a level 1 insignia of the same element. Regen is
-only disabled when the elemental is in any of the 3 active modes...
-Passive / Defensive / Offensive.

 

*SP is now drained while in Passive and Defensive modes. If there's not enough SP
-to continue the state it will switch back to Wait mode.

 

*The masters SP will now be drained every 10 seconds for as long as the elemental
-is alive. If theres not enough SP to continue, the elemental will be lost.

 

*Elementals follow distance increased to 3.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.