Original Source
- Original title: Slip damage red flash & Yanfly's Battle Engine
- Original author: Kes
- Original date: January 10, 2015
- Source thread: https://forums.rpgmakerweb.com/threads/slip-damage-red-flash-yanflys-battle-engine.35753/
- Source forum path: Game Development Engines > Ruby Game System (RGSS) Scripts > RGSSx Script Support
Summary
If you are using Yanfly's Battle Engine (found here) it suppresses the default red flash you get if you are walking around with e.g. poison. There is a small fix by Xpher for that which I'll give here for reference. Spoiler 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
Archived First Post
There is a small fix by Xpher for that which I'll give here for reference.
Can anyone see what it is in Yanfly's script which suppresses the default and come up with a minor mod to that script so that the default will work on all states? As so many people use Yanfly, this would be a real service if someone could sort it out.
Thanks very much.
Downloads / Referenced Files
Log in, then follow the RPG Maker Developers Group to see these download links.
Log in to downloadCreator 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.
Replies (0)
No replies yet.
Topic Summary
Loading summary...