mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-16 22:58:34 +00:00
Allow heroforge textures to be manipulated via perl
This commit is contained in:
+2
-2
@@ -2881,11 +2881,11 @@ void QuestManager::removetitle(int titleset) {
|
||||
initiator->RemoveTitle(titleset);
|
||||
}
|
||||
|
||||
void QuestManager::wearchange(uint8 slot, uint16 texture)
|
||||
void QuestManager::wearchange(uint8 slot, uint16 texture, uint32 hero_forge_model /*= 0*/, uint32 elite_material /*= 0*/)
|
||||
{
|
||||
QuestManagerCurrentQuestVars();
|
||||
if(owner){
|
||||
owner->SendTextureWC(slot, texture);
|
||||
owner->SendTextureWC(slot, texture, hero_forge_model, elite_material);
|
||||
if(owner->IsNPC()) {
|
||||
owner->CastToNPC()->NPCSlotTexture(slot, texture);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user