[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:
Michael Cook (mackal) authored and GitHub committed 2022-07-14 21:17:44 -05:00
1 parent ce74ac9913
commit 139845f971
14 files changed
+45 -16

No files matched your search

+1
View File
@@ -382,6 +382,7 @@ public:
void QuestReward(Lua_Mob target, uint32 copper, uint32 silver, uint32 gold, uint32 platinum, uint32 itemid, uint32 exp);
void QuestReward(Lua_Mob target, uint32 copper, uint32 silver, uint32 gold, uint32 platinum, uint32 itemid, uint32 exp, bool faction);
void QuestReward(Lua_Mob target, luabind::adl::object reward);
void CashReward(uint32 copper, uint32 silver, uint32 gold, uint32 platinum);
bool IsDead();
int CalcCurrentWeight();
int CalcATK();