Yanfly Battle Engine removes poison flash

EctoWarrior

Villager
Member
Joined
Jul 24, 2013
Messages
26
Reaction score
3
First Language
English
Primarily Uses
I've been having a problem with the Yanfly Battle Engine. I've seen this problem posted on Yanfly's Wordpress, but since he's on hiatus it went unanswered. After installing this script, it seems to remove the red flash effect when an actor is poisoned. The actor will still take damage, but there is no flash. I also know that it's a problem with poison only, normal floor damage still works fine. Any way to fix this?
 

EctoWarrior

Villager
Member
Joined
Jul 24, 2013
Messages
26
Reaction score
3
First Language
English
Primarily Uses
Anyone have any ideas?
 

Xypher

Veteran
Veteran
Joined
Apr 1, 2012
Messages
148
Reaction score
26
Primarily Uses
add this somewhere below materials and change the 2 $game_party.s_any?(2) to your poison state id

Code:
class Game_Party < Game_Unit   def s_any?(state_id)    members.any? {|actor| actor.state?(state_id)}  end endclass Game_Actor < Game_Battler     def turn_end_on_map    if $game_party.steps % steps_for_turn == 0      on_turn_end      perform_map_damage_effect if $game_party.s_any?(2)    end  end end
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts

People3_5 and People3_8 added!

so hopefully tomorrow i get to go home from the hospital i've been here for 5 days already and it's driving me mad. I miss my family like crazy but at least I get to use my own toiletries and my own clothes. My mom is coming to visit soon i can't wait to see her cause i miss her the most. :kaojoy:
Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.

Forum statistics

Threads
105,868
Messages
1,017,081
Members
137,582
Latest member
Spartacraft
Top