Save-Point
Enemy Action Selection Fix - Printable Version

+- Save-Point (https://www.save-point.org)
+-- Forum: Material Development (https://www.save-point.org/forum-8.html)
+--- Forum: Scripts Database (https://www.save-point.org/forum-39.html)
+--- Thread: Enemy Action Selection Fix (/thread-2746.html)



Enemy Action Selection Fix - RPG Advocate - 03-03-2008

Enemy Action Selection Fix
by RPG Advocate
saved from Phylomortis.Com


Introduction
This script fixes two annoyances with the way the standard enemy action selection method determines which action an enemy will take. First, this script makes it so that actions with any rating will be chosen (action's rating / total rating of all actions x 100)% of the time, rather than completely excluding actions more than three rating units below the highest-rated action. Second, this script adds a method that excludes pointless actions, preventing monsters from doing nothing because they have, for instance, selected a skill they don't have enough SP to use, or have selected a skill that targets dead characters, but no monsters in the group are dead.


Demo
>Click<


Script
Enemy Action Selection Fix