public

Rpg Maker Developers Group

Simple enough for a child, powerful enough for a developer

2 Followers

Yanfly Base Troop Events + Yami Skill Equip + Turn Manager(custom)

BMM Archive · July 15, 2026

Preserved forum archive. This topic stores the original first post and locally mirrored RPG Maker Web attachments when available. It is posted by the BMMPlay archive account, not by the original creator.

Original Source

  • Original title: Yanfly Base Troop Events + Yami Skill Equip + Turn Manager(custom)
  • Original author: Rinobi
  • Original date: September 13, 2015
  • Source thread: https://forums.rpgmakerweb.com/threads/yanfly-base-troop-events-yami-skill-equip-turn-manager-custom.44720/
  • Source forum path: Game Development Engines > Ruby Game System (RGSS) Scripts > RGSSx Script Support

Summary

Scripts: Turn Manager Spoiler ################################################################################=begin#==============================================================================#------------------------------ Turn Manager ------------------------------------#==============================================================================#By: RinobiThis script is called once per turn in battle. --------------------------------------------------------------------------------Instructions:--------------------------------------------------------------------------------Plug & Play--------------------------------------------------------------------------------List of Effects:--------------------------------------------------------------------------------Grand Blaze: Deals fire damage to all enemies until user cancels or depletes mp.Steel Hurricane: Deals physical damage, same rules as above.Bullet Hell: Also deals physical damage, same rules apply.Dusk Flame: Deals 10x the user's INT value whenever the affected enemy attacks.Rogue Demise: Survive fatal damage once, and restore 25% of MHP.Phoenix Floret: Survive fatal damage once, and restore 50% of MHP.Winged Embrace: Receive less damage and restore HP per...

Archived First Post

Scripts:

https://yanflychannel.wordpress.com/rmvxa/utility-scripts/base-troop-events/

http://forums.rpgmakerweb.com/index.php?/topic/6727-skill-equip/

Turn Manager

################################################################################=begin#==============================================================================#------------------------------ Turn Manager ------------------------------------#==============================================================================#By: RinobiThis script is called once per turn in battle. --------------------------------------------------------------------------------Instructions:--------------------------------------------------------------------------------Plug & Play--------------------------------------------------------------------------------List of Effects:--------------------------------------------------------------------------------Grand Blaze: Deals fire damage to all enemies until user cancels or depletes mp.Steel Hurricane: Deals physical damage, same rules as above.Bullet Hell: Also deals physical damage, same rules apply.Dusk Flame: Deals 10x the user's INT value whenever the affected enemy attacks.Rogue Demise: Survive fatal damage once, and restore 25% of MHP.Phoenix Floret: Survive fatal damage once, and restore 50% of MHP.Winged Embrace: Receive less damage and restore HP per turn until TP runs out.Heaven's Rage: Boosts speed and damage until TP runs out.Pets are removed from battle upon death.Actor 20 isn't allowed to fight. (Testing)#==============================================================================#--------------------------------------------------------------------------------#==============================================================================#=end################################################################################module Turn_Manager  def self.turn_effects    $game_troop.members.each do |enemy|      if enemy.state?(103) # Grand Blaze        $game_party.members.each do |actor|          actor.remove_state(104) if actor.mp < 300          if !actor.state?(104)            enemy.remove_state(103)          end        end      end            if enemy.state?(142) # Steel Hurricane        $game_party.members.each do |actor|          actor.remove_state(143) if actor.mp < 850          if !actor.state?(143)            enemy.remove_state(142)          end        end      end            if enemy.state?(47) # Bullet Hell        $game_party.members.each do |actor|          actor.remove_state(48) if actor.mp < 100          if !actor.state?(48)            enemy.remove_state(47)          end        end      end      if !enemy.state?(134) # Dusk Flame        dfe = 0        dfe += 1        $game_variables[2500] = 0 if dfe < 1 && dfa < 1        dfe = 0      end    end#-------------------------------------------------------------------------------    $game_party.members.each do |a| # Rogue Demise      if a.state?(118) && a.hp < 1        a.hp += (a.mhp / 4).to_i        a.remove_state(118)      end      if a.state?(134) # Dusk Flame        dfa = 0        dfa += 1        $game_variables[2500] = 0 if dfa < 1 && dfe < 1        dfa = 0        a.force_action(22,-2)      end            if a.state?(165) && a.hp < 1 # Phoenix Floret        a.hp += (a.mhp / 2).to_i        a.remove_state(165)      end            if a.state?(20) && a.tp < 40 # Winged Embrace        a.remove_state(20) ; a.remove_state(21)      end            if a.state?(26) && a.tp < 20 # Heaven's Rage        a.remove_state(26) ; a.remove_state(27)      end    end#-------------------------------------------------------------------------------    if $game_actors[11].state?(1) then $game_party.remove_actor(11) end    if $game_actors[12].state?(1) then $game_party.remove_actor(12) end    if $game_actors[13].state?(1) then $game_party.remove_actor(13) end    if $game_actors[15].state?(1)      $game_party.remove_actor(15) ; $game_switches[100] = false      $game_party.members.each do |ao|        ao.remove_state(183)      end    end    if $game_actors[16].state?(1) then $game_party.remove_actor(16) end    if !$game_actors[16].state?(185) then $game_party.remove_actor(16) end    if $game_actors[17].state?(1) then $game_party.remove_actor(17) end    if !$game_actors[17].state?(186) then $game_party.remove_actor(17) end    if $game_actors[18].state?(1) then $game_party.remove_actor(18) end    if !$game_actors[18].state?(187) then $game_party.remove_actor(18) end#-------------------------------------------------------------------------------    $game_party.remove_actor(20)  endend
Here's the setup:

Just flips a switch, turn effects does not run here.

Protected download

Turn Effects is run on turn one.

Protected download

(Hime's Troop Placeholders is not installed, so those are just comments)

So, whenever I load these scripts together, I get an error:

Protected download

If I remove any one of these scripts, the error does not occur. Now, all Base Troop Events does is run my bit of code for every battle, so I know that script in particular isn't the problem. Yami's Skill Equip and my Turn Manager are incompatible, but I'm not sure why.

Downloads / Referenced Files

Log in to download

Log in, then follow the RPG Maker Developers Group to see these download links.

Log in to download

Referenced Images / Attachments

problem1.PNG
problem1.PNG
problem2.PNG
problem2.PNG
problem3.PNG
problem3.PNG
Creator Claims / Removal

If you are the original creator and want this listing reassigned, edited, or removed, join BMMPlay and contact the moderators with proof that matches the original RPG Maker Web profile, linked GitHub, itch.io page, or another public creator identity.

#by#039#module#rpg-maker-archive#rgss-support

Replies (0)

No replies yet.

0 replies 1 view

Log in to reply.

User Avatar