2017-12-10

*This update focuses heavly on fixing all the common status's that were introduced during renewal and is long overdue. Resistance for success and duration are now official and items/equips should work better with them.
-Below is the changes, along with what to expect with this update.
-Of corse a few other things were done in this update as well.

*Changed the name of a few status's to be easier to refer to.
-whiteimprison -> imprison / freezing -> frost.
-Note: The confusion between freeze and freezing was annoying.
-So its best to refer to freezing as frost.

*Fixed a possible issue that allowed players to attack while on a rental mount.

*Did some code cleanup and optomize for the initChangeTables entrys for some status's.

*Corrected the immunity for pre-re common status's.
-Its been proven that the 97 stat immunity isn't real.
-The real immunity is with 100 of a certain stat.
-97 is high enough to bring success chances so low, the chance of getting affected by that certain status for some skills is near impossible.

*Implemented Basic Unit Controller Script Commands
-Added getunitname, setunitname, getunitdata, and setunitdata script commands.
-Split unitstop to unitstopattack and unitstopwalk.
-Expanded unitskilluseid and unitskillusepos to be able to adjust casttime of skill.
-Added two new monster modes: MD_NORANDOM_WALK and MD_NOCAST_SKILL.
-The areamonster script command now saves spawned monster game IDs in an array called $@mobid[].
-Adjusted other monster spawning script commands to return game ID.
-Updated documentation to reflect changes.

*Fixed "Leak Bug" & "Plant Protocol Bug"

*Added some missing script functions.

*Updated the const file with needed Effect and SC's.
-Should allow items and NPC's to better refer to the commons.

*Updated the exp requirements for levels 100 to 150 for mutated homunculus to be more well balanced. This is due to the big 2017 homunculus update on official which they switched back to the old exp table and extended it to level 175.

*WL_WHITEIMPRISON
-Skill now fails if casted on a boss/mvp monster.
-Corrected the duration reduction.
-Players reduce it with natural immunity which is by a percentage.
-Monsters reduce the duration by a fixed amount.

*WM_DANCE_WITH_WUG
-Adjusted the damage bonus on Ranger's Wug skills.
-Turns out a actural ATK bonus is given to Ranger/Minstrel/Wanderer players. ill have to code this in later on a future update.

*SO_ARRULLO
-Updated the duration reduction formula to follow the official formula.
-Skill animation now only appears on players affected successfully.
-Note: There's a client side bug that makes the particle effects sometimes appear on the wrong affected enemys. That can't be fixed.

*NC_MAGMA_ERUPTION; NC_MAGMA_ERUPTION_DOTDAMAGE
-Added support for these skills.

*WL_HELLINFERNO
-Recoded the skill.
-Now deals 2 seprate hits of damage.
-The first hit is fire damage and the 2nd hit is shadow damage.
-Chance of burning now only applies to the fire damage.
-Magic Power status now properly increases the damage of both hits.

*RA_ELECTRICSHOCKER
-Official duration reduction formula added.

*SR_FALLENEMPIRE
-Now uses its official status and prevents regular attacking and movement.

*SO_VACUUM_EXTREME
-Recoded the skill.
-Affected enemy's will now be pulled to the center of the AoE.
-Duration of status is now that of the AoE's remaining active time.
-Duration reduction formula updated to official.
-No longer affects those in Hallucination Walk or Hovering status.
-Note: The durations basicly act as strength power.
-The Vacuum's strength is affected by skill level and weakens over time as the AoE is active. The higher your STR, the stronger the vacuum's suction strength you can resist. 120 STR for example lets you resist a vacuum that has a duration or 6 seconds or less remaining.

*GN_SPORE_EXPLOSION
-Recoded the skill.
-Countdown now handled the same way like Venom Splasher.
-Target carrying the spore bomb will always be hit by the explosion.
-The explosion animation will now only appear on the exploading target.

*Boss/MVP's are immune to these status....
-Fear,Burning,Imprison,Deep Sleep, Frost, Crystalize.
-They are also immune to Guillotine Coss poisons.
-All common and new poison status's can't overlap (restart).

*Frost
-Reduces DEF by 30%. (10% if on a monster.)
-Reduces movement speed by 70%.
-Reduces ASPD by 30%
-Increases variable cast time by 50%
-Makes you immune to burning status.
-Duration can't be reduced below 10 seconds.
-Resistance formula updated.
-Only duration is reduceable and by a fixed amount.
-Duration: Time - 1000ms * (( VIT + DEX ) / 20)
-Duration can't be reduced below 10 seconds.
-Note: iRO was right about one thing. The 10% reduction on DEF, but it never said it was on monster's only while players got 30%.

*Crystalize
-Can't move, attack, use skills, or use items while active.
-Damage taken from wind attack is increased by 50%.
-Damage taken from daggers, swords, and bows is reduced by 50%.
-Damage taken from axes and maces is increased by 50%
-Fire attacks now remove the status.
-Takes 2% of your MaxHP and 1% of your MaxSP every second.
-The status will end if current SP goes below 1% MaxSP.
-Resistance formula updated.
-Only duration is reduceable and by a fixed amount.
-Duration: Time - 1000ms * VIT / 10