Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #-------------------------------------------------------------------------------
- # Don't remove this header!
- #-------------------------------------------------------------------------------
- # All allies effect fix
- # by Trihan
- #
- # Version : 1.0
- #
- # This script is commissioned by Batworks Software.
- #-------------------------------------------------------------------------------
- #-------------------------------------------------------------------------------
- # Version History
- #-------------------------------------------------------------------------------
- # 1.0 - Initial script.
- #-------------------------------------------------------------------------------
- #-------------------------------------------------------------------------------
- # This script prevents "all allies" skills and items from applying to reserve
- # party members when used outside of battle.
- #-------------------------------------------------------------------------------
- class Scene_ItemBase < Scene_MenuBase
- alias :tlb_allalliesfix_item_target_actors :item_target_actors
- def item_target_actors
- if item.for_all?
- $game_party.battle_members
- else
- tlb_allalliesfix_item_target_actors
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment