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?
Yanfly Battle Engine removes poison flash
● ARCHIVED · READ-ONLY
-
-
Anyone have any ideas?
-
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