mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-15 20:51:29 +00:00
[Cleanup] Remove NPC::AddCash() from npc.cpp/npc.h (#3380)
# Notes - This is unused.
This commit is contained in:
parent
f548aeddb2
commit
056e429100
@ -832,14 +832,6 @@ void NPC::AddCash(uint16 in_copper, uint16 in_silver, uint16 in_gold, uint16 in_
|
||||
platinum = 0;
|
||||
}
|
||||
|
||||
void NPC::AddCash()
|
||||
{
|
||||
copper = zone->random.Int(1, 100);
|
||||
silver = zone->random.Int(1, 50);
|
||||
gold = zone->random.Int(1, 10);
|
||||
platinum = zone->random.Int(1, 5);
|
||||
}
|
||||
|
||||
void NPC::RemoveCash() {
|
||||
copper = 0;
|
||||
silver = 0;
|
||||
|
||||
@ -208,7 +208,6 @@ public:
|
||||
inline const ItemList &GetItemList() { return itemlist; }
|
||||
ServerLootItem_Struct* GetItem(int slot_id);
|
||||
void AddCash(uint16 in_copper, uint16 in_silver, uint16 in_gold, uint16 in_platinum);
|
||||
void AddCash();
|
||||
void RemoveCash();
|
||||
void QueryLoot(Client* to, bool is_pet_query = false);
|
||||
bool HasItem(uint32 item_id);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user