MGQ3 GC345's patch testing/Advanced

Advanced evades

 * You have the full control over both evade routines ("wind" and "water") if you want. You can set evade conditions and you can change the evade routine itself.


 * To start a customized evade routine - just use the custom dialogue as the skill_aqua= or skill_wind= target. The example: skill_aqua="!evade1". The game will go to the [evade1] routine.


 * Wind multi-evades are supported too.


 * Warning: the counterattack, 2 charged attacks, enemy healing, spirit canceling and AS summoning hit always and ignore both evade keys.


 * Warning: the customized evade routine not needs Sylph/Undine/Serene Mind/FAD. It starts always if defined. Because of this - it works in the surrender and request routines too. So you must check spirits and surrender conditions manually.


 * Supported commands for customized "water" evade routines:
 * var_ld, var_cal, var_cpa, var_jumpline, var_dice, var_dice2, gotoline - the syntax and usage are standard. Use these commands to calculate evade chances and to select the routine.
 * end - finishes the routine and return to the enemy attack (="no evade").
 * execute - this command starts the evade move (="the hero evades"). The syntax is ="execute[, ]". If is skipped - the game executes the standard "Serene Movement" (even if Undine or Serene Mind C aren't active).


 * Customized "wind" evade routine commands:
 * all of above commands. The standard wind evade works incorrectly if the %wind value is 0 so please check this (not use "execute" w/o parameters if %wind=0).


 * Customized "wind" multi-evade commands:
 * var_ld, var_cal, var_cpa, var_jumpline, var_dice, var_dice2, gotoline and end commands aren't changed.
 * the execute command evades 1 hit and continues an enemy attack.
 * the finish command evades 1 hit, skips all remaining hits and continues an enemy attack. The syntax is  ="finish[, ]".


 * Warning: the 1st hit evade is different for the "finish" command. The effect is same as the standard non-multi-evade, no post-attack messages etc.


 * Warning - be very accurate with the finish command. If an enemy attack not have the multi-evade flag - the finish command will be ignored. This can crash the evade logic or just freeze the script.

Example:

[skilla1] ... skill_wind="!evade1" ... [evade1] 100="var_ld,v19,wind" 101="var_cpa,v19,=,1" 102="var_jumpline,106" 103="var_cpa,v19,=,2" 104="var_jumpline,110" 105="end" 106="var_dice,v19,100" 107="var_cpa,v19,<,10" 108="var_jumpline,114" 109="end" 110="var_dice,v19,100" 111="var_cpa,v19,<,25" 112="var_jumpline,114" 113="end" 114="execute"
 * Supports both "Wind Wall" (10% chances) and "Wind Dance" (25% chances). Warning: the current beta not supports custom dialogues for the skill_windanno= key, I will add this in Beta 13.1.