iliveoncaffiene
New Member
- Joined
- Apr 2, 2014
- Messages
- 26
- Reaction score
- 0
Sorry, I don't understand where or what exactly I should add in the TrinityExploreDungeon.cs
For the first code portion, look at similar examples in the code. I put it at:
Code:
/// <summary>
/// Not currently implimented
/// </summary>
[XmlAttribute("leaveWhenFinished", true)]
public bool LeaveWhenExplored { get; set; }
/// <summary>
/// Not currently implimented
/// </summary>
[XmlAttribute("leaveAfterBounty", true)]
public bool LeaveAfterBounty { get; set; }
The LeaveWhenExplored portion is already there, I added the LeaveAfterBounty portion (~ line 65 in file)
2nd portion, Ctrl + F for "CheckIsObjectiveFinished"
Look at the line that says:
Code:
new Decorator(ret => GetIsBountyDone(),
Code:
new Decorator(ret => LeaveAfterBounty && GetIsBountyDone(),