I tried having ChatGPT generate a script where an enemy troop is able to target all dead actors (not troops) so the enemy can resurrect the party after the main protagonist snaps the boss out of the evil corruption the main villain and final boss bestowed upon her. However, what ChatGPT gave me does not work. It does not target dead party members. Or at least the remove death and recover HP 100% is not being applied.
The script it gave me (The comments have been modified by me) is:
However, it does not work. The skill with the tag has a remove death and recover HP effect set but nothing happens when the boss uses the move.
Those who are willing, feel free to add your name to the credit section of the comments at the top as the editor or fixer or whatever.
Help will be appreciated. Doubt I will get help being that the issues I have been facing have gotten nothing so far but I hope that at least someone here can fix this script.
The script it gave me (The comments have been modified by me) is:
Ruby:
#==============================================================================
# ** Skill_ResurrectAllDeadEnemies
#------------------------------------------------------------------------------
# This script allows a skill to target all dead enemies for resurrection.
# Place the <ResurrectAllDeadEnemies> tag in the skill's note box.
#==============================================================================
# Generated by ChatGPT Model:gpt-3.5-turbo-16k
# Prompt initiated by: Moltres Rider
#==============================================================================
# ** Prompt
#------------------------------------------------------------------------------
# Generate a ruby script **in RPG Maker VX Ace format** that allows a skill
# to target all dead enemies so a boss can resurrect the player's party at
# a certain point in the fight.
# - The script should be accompanied by a tag that I would need to put in
# the skill's note box stating that that skill targets all dead enemies.
#==============================================================================
# ** Instructions
#------------------------------------------------------------------------------
# To use this script, follow these steps:
# 1. Open your RPG Maker VX Ace project.
# 2. Go to the Database and navigate to the Skills section.
# 3. Select the skill you want to target all dead enemies with.
# 4. In the skill's note box, add the following tag: `<ResurrectAllDeadEnemies>`
# 5. Save your project.
#==============================================================================
# ** Credit
#------------------------------------------------------------------------------
# Credit: Moltres Rider and Linear Pair of Angles Productions in the credits
# It would also be a good idea to credit ChatGPT and OpenAi as well
#==============================================================================
# ,.
# .:
# ;X
# i2X
# rZr
# iai
# X@0 :i:
# .Z@@S .;XSX7i,
# :WBW00 .;S2Sr,.
# i7 iM00MZBZ i: :XZB@MZ
# ;S7 iMMBMZrXBMX:Xi raBBW@@B;
# 2XX: ;MMa7: ;M8ZX, raWWW0BB8Z2
# 20rr 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7XXSa,
# WZZ2aaZZZX7;r;;;Z2r 8@0aa: :SZZZ2Za2X2,
# S@aaZa00BB8SXr77Xr,.:iii0aX ZMZZS;
# SW2aX7. 082XXXSXr: i; ;; SMBZ8a:
# 002ZSX .@Z2Z7XS,;XXSX:iX, ,:ir ,8;ri
# S@WS28Sai ,@Z22XX :. ::: :22Xr ri rX
# ,:iaZZ8W8X, .BZ2aX; .:..rXX7;7r.
# ,XaX7 :i Si ;0BSaZS2. .7:
# ., ,i;Xi :X .iB@0ZW8Xr
# ;Xi :X; rXXX, ;Xr2r
# . rr,:.;7 Xi
# ;;. ,;,
#==============================================================================
class Game_Action
alias skill_resurrect_all_dead_enemies_make_targets make_targets
def make_targets
if @subject.is_a?(Game_Actor) && item && item_resurrects_all_dead_enemies?
return Array.new($game_troop.dead_members)
else
return skill_resurrect_all_dead_enemies_make_targets
end
end
def item_resurrects_all_dead_enemies?
item && item.note.include?("<ResurrectAllDeadEnemies>")
end
end
However, it does not work. The skill with the tag has a remove death and recover HP effect set but nothing happens when the boss uses the move.
Those who are willing, feel free to add your name to the credit section of the comments at the top as the editor or fixer or whatever.
Help will be appreciated. Doubt I will get help being that the issues I have been facing have gotten nothing so far but I hope that at least someone here can fix this script.