First Strike Skills
Authors: game_guy
Version: 1.0
Type: Battle Add-On
Key Term: Battle Add-On
IntroductionRemember how in pokemon games, there were certain moves like Quick Attack you would attack first no matter what? This does exactly that!
NOTE: I made a script called First Strike States. This allows skills to strike first instead of having to have a first strike state to attack first.
NOTE: If more then one actor/enemy uses a first strike skill, the fastest will attack first.
NOTE: Depending if you place this below or above First Strike States things may change. (If you use First Strike States.) If Above: Battlers with a First Strike State will attack first then first strike skills. If Below: Battlers that use a First Strike Skill will use the skill first then battlers will attack with first strike states.
Features- Setup as many skills
- Skills attack first at every turn
ScreenshotsN/A
DemoN/A
Script#===============================================================================
# First Strike Skills
# Author game_guy
# Version 1.0
#-------------------------------------------------------------------------------
# Intro:
# Remember how in pokemon games, there were certain moves like Quick Attack you
# would attack first no matter what? This does exactly that!
# NOTE: I made a script called First Strike States. This allows skills to strike
# first instead of having to have a first strike state to attack first.
# NOTE: If more then one actor/enemy uses a first strike skill, the fastest
# will attack first.
#
# Features:
# Setup as many skills
# Skills attack first at every turn
#
# Instructions:
# Go down to Config and set everything up.
#
# First_Strike_Skills = array of skill id's
# Every skill you want to be a First Strike Skill, place the id in the array.
#
# Compatability:
# Not tested with SDK.
# Made for the Default Battle System
# Will probably not work with RTAB (Not Tested)
#
# Credits:
# game_guy ~ For making it
# Shining Riku ~ For the idea based from First Strike States
#===============================================================================
module GameGuy
#==========================================
# Config
#==========================================
First_Strike_Skills = [57]
#==========================================
# End Config
#==========================================
end
class Scene_Battle
alias gg_attack_first_skills_lat make_action_orders
def make_action_orders
gg_attack_first_skills_lat
@tempa = @action_battlers
@tempa2 = []
@tempa3 = []
for i in @tempa
if i.current_action.kind == 1 &&
GameGuy::First_Strike_Skills.include?(i.current_action.skill_id)
@tempa2.push(i)
else
@tempa3.push(i)
end
end
@action_battlers = []
@tempa2.each {|i| @action_battlers.push(i)}
@tempa3.each {|i| @action_battlers.push(i)}
end
end
InstructionsI recommend placing below my First Strike States (if using)
Rest is in the script.
CompatibilityNot tested with SDK.
Made for Default Battle System.
Probably won't work with RTAB (Not Tested)
Credits and Thanks- game_guy ~ For making it
- Shining Riku ~ For the idea of it based from First Strike States
Author's NotesEnjoy!