mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-16 18:52:22 +00:00
[Feature] Implement OP_CashReward (#2307)
* Implement OP_CashReward Tit opcode needs verifying still, I think it's correct. Added Perl and lua client CashReward functions * Forgot AddMoneyToPP call somehow * Switch QuestManager::givecash to CashReward packet * Fix extra comma
This commit is contained in:
committed by
GitHub
parent
ce74ac9913
commit
139845f971
+2
-16
@@ -1183,26 +1183,12 @@ void QuestManager::givecash(uint32 copper, uint32 silver, uint32 gold, uint32 pl
|
||||
platinum
|
||||
)
|
||||
) {
|
||||
initiator->AddMoneyToPP(
|
||||
initiator->CashReward(
|
||||
copper,
|
||||
silver,
|
||||
gold,
|
||||
platinum,
|
||||
true
|
||||
platinum
|
||||
);
|
||||
|
||||
if (initiator) {
|
||||
initiator->MessageString(
|
||||
Chat::MoneySplit,
|
||||
YOU_RECEIVE,
|
||||
Strings::Money(
|
||||
platinum,
|
||||
gold,
|
||||
silver,
|
||||
copper
|
||||
).c_str()
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user