Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- In file data1\Assets\tpp\script\lib\TppStory.lua
- Line 595 : function e.CanArrivalQuietInMB(n)
- Immediately after, add:
- gvars.str_didLostQuiet=false
- TppBuddy2BlockController.SetObtainedBuddyType(BuddyType.QUIET)
- TppBuddyService.UnsetDeadBuddyType(BuddyType.QUIET)
- TppBuddyService.UnsetBuddyCommonFlag(BuddyCommonFlag.BUDDY_QUIET_LOST)
- TppBuddyService.UnsetBuddyCommonFlag(BuddyCommonFlag.BUDDY_QUIET_HOSPITALIZE)
- TppBuddyService.SetSortieBuddyType(BuddyType.QUIET)
- TppBuddyService.SetFriendlyPoint(BuddyFriendlyType.QUIET,100)
- TppMotherBaseManagement.RefreshQuietStatus()
- The final result would be:
- function e.CanArrivalQuietInMB(n)
- gvars.str_didLostQuiet=false
- TppBuddy2BlockController.SetObtainedBuddyType(BuddyType.QUIET)
- TppBuddyService.UnsetDeadBuddyType(BuddyType.QUIET)
- TppBuddyService.UnsetBuddyCommonFlag(BuddyCommonFlag.BUDDY_QUIET_LOST)
- TppBuddyService.UnsetBuddyCommonFlag(BuddyCommonFlag.BUDDY_QUIET_HOSPITALIZE)
- TppBuddyService.SetSortieBuddyType(BuddyType.QUIET)
- TppBuddyService.SetFriendlyPoint(BuddyFriendlyType.QUIET,100)
- TppMotherBaseManagement.RefreshQuietStatus()
- local i=TppBuddy2BlockController.DidObtainBuddyType(BuddyType.QUIET)
- local e=not TppBuddyService.CheckBuddyCommonFlag(BuddyCommonFlag.BUDDY_QUIET_HOSPITALIZE)if n then
- e=true
- end
- local n=not TppBuddyService.CheckBuddyCommonFlag(BuddyCommonFlag.BUDDY_QUIET_LOST)local t=not TppBuddyService.IsDeadBuddyType(BuddyType.QUIET)return((i and e)and n)and t
- end
- function e.RequestLoseQuiet()if not gvars.str_didLostQuiet then
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement