View difference between Paste ID: fVwh30yg and KUKF7Ted
SHOW: | | - or go back to the newest paste.
1
In file data1\Assets\tpp\script\lib\TppStory.lua
2
3
Line 595 : function e.CanArrivalQuietInMB(n)
4
5
Immediately after, add:
6
7
gvars.str_didLostQuiet=false
8
TppBuddy2BlockController.SetObtainedBuddyType(BuddyType.QUIET)
9
TppBuddyService.UnsetDeadBuddyType(BuddyType.QUIET)
10
TppBuddyService.UnsetBuddyCommonFlag(BuddyCommonFlag.BUDDY_QUIET_LOST)
11
TppBuddyService.UnsetBuddyCommonFlag(BuddyCommonFlag.BUDDY_QUIET_HOSPITALIZE)
12
TppBuddyService.SetSortieBuddyType(BuddyType.QUIET)
13
TppBuddyService.SetFriendlyPoint(BuddyFriendlyType.QUIET,100)
14-
TppMotherBaseManagement.RefreshQuietStatus()
14+
TppMotherBaseManagement.RefreshQuietStatus()
15
16
The final result would be:
17
18
function e.CanArrivalQuietInMB(n)
19
gvars.str_didLostQuiet=false
20
TppBuddy2BlockController.SetObtainedBuddyType(BuddyType.QUIET)
21
TppBuddyService.UnsetDeadBuddyType(BuddyType.QUIET)
22
TppBuddyService.UnsetBuddyCommonFlag(BuddyCommonFlag.BUDDY_QUIET_LOST)
23
TppBuddyService.UnsetBuddyCommonFlag(BuddyCommonFlag.BUDDY_QUIET_HOSPITALIZE)
24
TppBuddyService.SetSortieBuddyType(BuddyType.QUIET)
25
TppBuddyService.SetFriendlyPoint(BuddyFriendlyType.QUIET,100)
26
TppMotherBaseManagement.RefreshQuietStatus()
27
local i=TppBuddy2BlockController.DidObtainBuddyType(BuddyType.QUIET)
28
local e=not TppBuddyService.CheckBuddyCommonFlag(BuddyCommonFlag.BUDDY_QUIET_HOSPITALIZE)if n then
29
e=true
30
end
31
local n=not TppBuddyService.CheckBuddyCommonFlag(BuddyCommonFlag.BUDDY_QUIET_LOST)local t=not TppBuddyService.IsDeadBuddyType(BuddyType.QUIET)return((i and e)and n)and t
32
end
33
function e.RequestLoseQuiet()if not gvars.str_didLostQuiet then