Jump to content

[Patch]Customer-Support-Mail via Mailbox


Recommended Posts

  • 39 years later...

Hi,

with this modification, GM's would be able to send customer support-mails via mailboxes! i think it's more blizzlike.

mail.cpp:

void WorldSession::HandleSendMail(WorldPacket & recv_data )
{
      ...

       MailStationery mailStationey = MAIL_STATIONERY_NORMAL;
   if(pl->isGameMaster() && pl->HasItemCount(18154,1,false)){ //player has GM active and has Blizzard Stationery in Bag
       mailStationey = MAIL_STATIONERY_GM;
   }
   WorldSession::SendMailTo(receive, MAIL_NORMAL, mailStationey, pl->GetGUIDLow(), GUID_LOPART(rc), subject, itemTextId, &mi, money, COD, MAIL_CHECK_MASK_NONE, deliver_delay);

}

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use