邮件补发

This commit is contained in:
hahwu 2025-02-08 18:10:26 +08:00
parent 40954c9fa8
commit a773f58e45

View File

@ -352,18 +352,19 @@ func (p *Player) Login() {
p.PlayMod.getCardMod().Login(G_GameLogicPtr.SeverInfo.OpenTime) p.PlayMod.getCardMod().Login(G_GameLogicPtr.SeverInfo.OpenTime)
if p.PlayerBaseMod.Data.UserName == "388faebe29ffe56666a04ea22b902b0f" { if p.PlayerBaseMod.Data.UserName == "388faebe29ffe56666a04ea22b902b0f" {
VarMod := p.PlayMod.getVarMod() VarMod := p.PlayMod.getVarMod()
Mail1, _ := VarMod.GetVar(1) Mail1, _ := VarMod.GetVar(2)
if Mail1 != nil { if Mail1 != nil {
return return
} }
VarMod.SetVar(1, 1) VarMod.SetVar(2, 1)
Items := make([]*item.Item, 0) Items := make([]*item.Item, 0)
Items = append(Items, &item.Item{Id: item.ITEM_ENERGY_ID, Num: 200}) Items = append(Items, &item.Item{Id: item.ITEM_ENERGY_ID, Num: 500})
MailMod := p.PlayMod.getMailMod() MailMod := p.PlayMod.getMailMod()
MailMod.Send("Test Players' Refund", MailMod.Send("Game Bug Report Handling & Compensation",
`Welcome back to our game! `We sincerely apologize for this issue that has affected your experience.
Here comes your refund for your scene progress and payment in test version! One of our collleague will contact you soon, and we kindly ask for your cooperation with the QA process.
Have fun in new version!`, Items) As a token of our appreciation, here is 500 Energy for your trouble.
Once again, we deeply regret any trouble this may have caused and thank you for your understanding and support.`, Items)
} }
} }