SWGEmu SWGEMU-468

(unstable)(fixed)Mantis #0003587 Reduced Maintenance Fees for Merchants

Closed on 07 Feb

  •  
  •  
  •  
  •  
  • Author
  • Moderator
  • Reviewers

SWGEMU-468 9

Summarize the review outcomes (optional)
 
#permalink

Details

Warning: no files are visible, they have all been filtered.
Participant Role Time Spent Comments Latest Comment
Author 1h 30m 4 I thought that the bonus should only be applied when the ...
Moderator 1m    
Reviewer - 0% complete      
Reviewer - 50% complete 22m 5 You still need to run this code here otherwise the mainte...
Reviewer - 0% complete      
Reviewer - 0% complete 1m    
oru
Reviewer - 0% complete      
Reviewer - 0% complete      
Reviewer - 0% complete 0m    
Total   1h 54m 9  
#permalink

Objectives

Added additional checks when paying maintenance to structures to ensure that the paying player is entitled to reduced maintenance fees. Updated 28JAN2013

#permalink

Summary

Patch committed to unstable branch.

#permalink

Issues Raised From Comments

Key Summary State Assignee
#permalink

General Comments

17 Dec 12

Loshult says:

This is already handled in StructureObjectImplementation.cpp, line 275-280.

18 Dec 12

Galameed says:

Yes I know that it is however my all the buildings are calling that event. I added it in another spot to address the different buildings

26 Jan

Loshult says:

Remove the code in StructureObjectImplementation and ensure that all types of paying maintenance uses the payMaintenance method in the structure manager instead.

28 Jan

Galameed says:

Ok Code removed in StructureObjectImplementation. I have tested it on several factories and homes and it appears to still work as intended. The reduced fees also appear to go away when a player without the skill pays maintenance as well.

/src/server/.../structure/StructureManager.cpp Changed 2
Open in IDE #permalink
/src/server/.../structure/StructureManager.cpp Changed 1
Open in IDE #permalink
/src/server/.../structure/StructureManager.cpp Changed  
Open in IDE #permalink
/src/.../structure/StructureObjectImplementation.cpp Changed   2
Open in IDE #permalink

Review updated: Reload | Ignore | Collapse

You cannot reload the review while writing a comment.

Create Issue

X
Assign To Me

Log time against