update GetUdMonsterPoint

This commit is contained in:
wish
2024-02-25 21:54:41 +11:00
parent 6e7faf9900
commit 6b32e36aa4

View File

@@ -4,6 +4,7 @@ import (
"database/sql/driver" "database/sql/driver"
"encoding/hex" "encoding/hex"
"encoding/json" "encoding/json"
"erupe-ce/common/mhfmon"
"erupe-ce/common/stringsupport" "erupe-ce/common/stringsupport"
_config "erupe-ce/config" _config "erupe-ce/config"
"math/rand" "math/rand"
@@ -301,119 +302,119 @@ func handleMsgMhfGetUdMonsterPoint(s *Session, p mhfpacket.MHFPacket) {
MID uint8 MID uint8
Points uint16 Points uint16
}{ }{
{MID: 0x01, Points: 0x3C}, // em1 Rathian {MID: mhfmon.Rathian, Points: 60},
{MID: 0x02, Points: 0x5A}, // em2 Fatalis {MID: mhfmon.Fatalis, Points: 90},
{MID: 0x06, Points: 0x14}, // em6 Yian Kut-Ku {MID: mhfmon.YianKutKu, Points: 20},
{MID: 0x07, Points: 0x50}, // em7 Lao-Shan Lung {MID: mhfmon.LaoShanLung, Points: 80},
{MID: 0x08, Points: 0x28}, // em8 Cephadrome {MID: mhfmon.Cephadrome, Points: 40},
{MID: 0x0B, Points: 0x3C}, // em11 Rathalos {MID: mhfmon.Rathalos, Points: 60},
{MID: 0x0E, Points: 0x3C}, // em14 Diablos {MID: mhfmon.Diablos, Points: 60},
{MID: 0x0F, Points: 0x46}, // em15 Khezu {MID: mhfmon.Khezu, Points: 70},
{MID: 0x11, Points: 0x46}, // em17 Gravios {MID: mhfmon.Gravios, Points: 70},
{MID: 0x14, Points: 0x28}, // em20 Gypceros {MID: mhfmon.Gypceros, Points: 40},
{MID: 0x15, Points: 0x3C}, // em21 Plesioth {MID: mhfmon.Plesioth, Points: 60},
{MID: 0x16, Points: 0x32}, // em22 Basarios {MID: mhfmon.Basarios, Points: 50},
{MID: 0x1A, Points: 0x32}, // em26 Monoblos {MID: mhfmon.Monoblos, Points: 50},
{MID: 0x1B, Points: 0x0A}, // em27 Velocidrome {MID: mhfmon.Velocidrome, Points: 10},
{MID: 0x1C, Points: 0x0A}, // em28 Gendrome {MID: mhfmon.Gendrome, Points: 10},
{MID: 0x1F, Points: 0x0A}, // em31 Iodrome {MID: mhfmon.Iodrome, Points: 10},
{MID: 0x21, Points: 0x50}, // em33 Kirin {MID: mhfmon.Kirin, Points: 80},
{MID: 0x24, Points: 0x64}, // em36 Crimson Fatalis {MID: mhfmon.CrimsonFatalis, Points: 100},
{MID: 0x25, Points: 0x3C}, // em37 Pink Rathian {MID: mhfmon.PinkRathian, Points: 60},
{MID: 0x26, Points: 0x1E}, // em38 Blue Yian Kut-Ku {MID: mhfmon.BlueYianKutKu, Points: 30},
{MID: 0x27, Points: 0x28}, // em39 Purple Gypceros {MID: mhfmon.PurpleGypceros, Points: 40},
{MID: 0x28, Points: 0x50}, // em40 Yian Garuga {MID: mhfmon.YianGaruga, Points: 80},
{MID: 0x29, Points: 0x5A}, // em41 Silver Rathalos {MID: mhfmon.SilverRathalos, Points: 90},
{MID: 0x2A, Points: 0x50}, // em42 Gold Rathian {MID: mhfmon.GoldRathian, Points: 80},
{MID: 0x2B, Points: 0x3C}, // em43 Black Diablos {MID: mhfmon.BlackDiablos, Points: 60},
{MID: 0x2C, Points: 0x3C}, // em44 White Monoblos {MID: mhfmon.WhiteMonoblos, Points: 60},
{MID: 0x2D, Points: 0x46}, // em45 Red Khezu {MID: mhfmon.RedKhezu, Points: 70},
{MID: 0x2E, Points: 0x3C}, // em46 Green Plesioth {MID: mhfmon.GreenPlesioth, Points: 60},
{MID: 0x2F, Points: 0x50}, // em47 Black Gravios {MID: mhfmon.BlackGravios, Points: 80},
{MID: 0x30, Points: 0x1E}, // em48 Daimyo Hermitaur {MID: mhfmon.DaimyoHermitaur, Points: 30},
{MID: 0x31, Points: 0x3C}, // em49 Azure Rathalos {MID: mhfmon.AzureRathalos, Points: 60},
{MID: 0x32, Points: 0x50}, // em50 Ashen Lao-Shan Lung {MID: mhfmon.AshenLaoShanLung, Points: 80},
{MID: 0x33, Points: 0x3C}, // em51 Blangonga {MID: mhfmon.Blangonga, Points: 60},
{MID: 0x34, Points: 0x28}, // em52 Congalala {MID: mhfmon.Congalala, Points: 40},
{MID: 0x35, Points: 0x50}, // em53 Rajang {MID: mhfmon.Rajang, Points: 80},
{MID: 0x36, Points: 0x6E}, // em54 Kushala Daora {MID: mhfmon.KushalaDaora, Points: 110},
{MID: 0x37, Points: 0x50}, // em55 Shen Gaoren {MID: mhfmon.ShenGaoren, Points: 80},
{MID: 0x3A, Points: 0x50}, // em58 Yama Tsukami {MID: mhfmon.YamaTsukami, Points: 80},
{MID: 0x3B, Points: 0x6E}, // em59 Chameleos {MID: mhfmon.Chameleos, Points: 110},
{MID: 0x40, Points: 0x64}, // em64 Lunastra {MID: mhfmon.Lunastra, Points: 100},
{MID: 0x41, Points: 0x6E}, // em65 Teostra {MID: mhfmon.Teostra, Points: 110},
{MID: 0x43, Points: 0x28}, // em67 Shogun Ceanataur {MID: mhfmon.ShogunCeanataur, Points: 40},
{MID: 0x44, Points: 0x0A}, // em68 Bulldrome {MID: mhfmon.Bulldrome, Points: 10},
{MID: 0x47, Points: 0x6E}, // em71 White Fatalis {MID: mhfmon.WhiteFatalis, Points: 110},
{MID: 0x4A, Points: 0xFA}, // em74 Hypnocatrice {MID: mhfmon.Hypnocatrice, Points: 250},
{MID: 0x4B, Points: 0xFA}, // em75 Lavasioth {MID: mhfmon.Lavasioth, Points: 250},
{MID: 0x4C, Points: 0x46}, // em76 Tigrex {MID: mhfmon.Tigrex, Points: 70},
{MID: 0x4D, Points: 0x64}, // em77 Akantor {MID: mhfmon.Akantor, Points: 100},
{MID: 0x4E, Points: 0xFA}, // em78 Bright Hypnoc {MID: mhfmon.BrightHypnoc, Points: 250},
{MID: 0x4F, Points: 0xFA}, // em79 Lavasioth Subspecies {MID: mhfmon.RedLavasioth, Points: 250},
{MID: 0x50, Points: 0xFA}, // em80 Espinas {MID: mhfmon.Espinas, Points: 250},
{MID: 0x51, Points: 0xFA}, // em81 Orange Espinas {MID: mhfmon.BurningEspinas, Points: 250},
{MID: 0x52, Points: 0xFA}, // em82 White Hypnoc {MID: mhfmon.WhiteHypnoc, Points: 250},
{MID: 0x53, Points: 0xFA}, // em83 Akura Vashimu {MID: mhfmon.AqraVashimu, Points: 250},
{MID: 0x54, Points: 0xFA}, // em84 Akura Jebia {MID: mhfmon.AqraJebia, Points: 250},
{MID: 0x55, Points: 0xFA}, // em85 Berukyurosu {MID: mhfmon.Berukyurosu, Points: 250},
{MID: 0x59, Points: 0xFA}, // em89 Pariapuria {MID: mhfmon.Pariapuria, Points: 250},
{MID: 0x5A, Points: 0xFA}, // em90 White Espinas {MID: mhfmon.PearlEspinas, Points: 250},
{MID: 0x5B, Points: 0xFA}, // em91 Kamu Orugaron {MID: mhfmon.KamuOrugaron, Points: 250},
{MID: 0x5C, Points: 0xFA}, // em92 Nono Orugaron {MID: mhfmon.NonoOrugaron, Points: 250},
{MID: 0x5E, Points: 0xFA}, // em94 Dyuragaua {MID: mhfmon.Dyuragaua, Points: 250},
{MID: 0x5F, Points: 0xFA}, // em95 Doragyurosu {MID: mhfmon.Doragyurosu, Points: 250},
{MID: 0x60, Points: 0xFA}, // em96 Gurenzeburu {MID: mhfmon.Gurenzeburu, Points: 250},
{MID: 0x63, Points: 0xFA}, // em99 Rukodiora {MID: mhfmon.Rukodiora, Points: 250},
{MID: 0x65, Points: 0xFA}, // em101 Gogomoa {MID: mhfmon.Gogomoa, Points: 250},
{MID: 0x67, Points: 0xFA}, // em103 Taikun Zamuza {MID: mhfmon.TaikunZamuza, Points: 250},
{MID: 0x68, Points: 0xFA}, // em104 Abiorugu {MID: mhfmon.Abiorugu, Points: 250},
{MID: 0x69, Points: 0xFA}, // em105 Kuarusepusu {MID: mhfmon.Kuarusepusu, Points: 250},
{MID: 0x6A, Points: 0xFA}, // em106 Odibatorasu {MID: mhfmon.Odibatorasu, Points: 250},
{MID: 0x6B, Points: 0xFA}, // em107 Disufiroa {MID: mhfmon.Disufiroa, Points: 250},
{MID: 0x6C, Points: 0xFA}, // em108 Rebidiora {MID: mhfmon.Rebidiora, Points: 250},
{MID: 0x6D, Points: 0xFA}, // em109 Anorupatisu {MID: mhfmon.Anorupatisu, Points: 250},
{MID: 0x6E, Points: 0xFA}, // em110 Hyujikiki {MID: mhfmon.Hyujikiki, Points: 250},
{MID: 0x6F, Points: 0xFA}, // em111 Midogaron {MID: mhfmon.Midogaron, Points: 250},
{MID: 0x70, Points: 0xFA}, // em112 Giaorugu {MID: mhfmon.Giaorugu, Points: 250},
{MID: 0x72, Points: 0xFA}, // em114 Farunokku {MID: mhfmon.Farunokku, Points: 250},
{MID: 0x73, Points: 0xFA}, // em115 Pokaradon {MID: mhfmon.Pokaradon, Points: 250},
{MID: 0x74, Points: 0xFA}, // em116 Shantien {MID: mhfmon.Shantien, Points: 250},
{MID: 0x77, Points: 0xFA}, // em119 Goruganosu {MID: mhfmon.Goruganosu, Points: 250},
{MID: 0x78, Points: 0xFA}, // em120 Aruganosu {MID: mhfmon.Aruganosu, Points: 250},
{MID: 0x79, Points: 0xFA}, // em121 Baruragaru {MID: mhfmon.Baruragaru, Points: 250},
{MID: 0x7A, Points: 0xFA}, // em122 Zerureusu {MID: mhfmon.Zerureusu, Points: 250},
{MID: 0x7B, Points: 0xFA}, // em123 Gougarf {MID: mhfmon.Gougarf, Points: 250},
{MID: 0x7D, Points: 0xFA}, // em125 Forokururu {MID: mhfmon.Forokururu, Points: 250},
{MID: 0x7E, Points: 0xFA}, // em126 Meraginasu {MID: mhfmon.Meraginasu, Points: 250},
{MID: 0x7F, Points: 0xFA}, // em127 Diorekkusu {MID: mhfmon.Diorex, Points: 250},
{MID: 0x80, Points: 0xFA}, // em128 Garuba Daora {MID: mhfmon.GarubaDaora, Points: 250},
{MID: 0x81, Points: 0xFA}, // em129 Inagami {MID: mhfmon.Inagami, Points: 250},
{MID: 0x82, Points: 0xFA}, // em130 Varusaburosu {MID: mhfmon.Varusaburosu, Points: 250},
{MID: 0x83, Points: 0xFA}, // em131 Poborubarumu {MID: mhfmon.Poborubarumu, Points: 250},
{MID: 0x8B, Points: 0xFA}, // em139 Gureadomosu {MID: mhfmon.Gureadomosu, Points: 250},
{MID: 0x8C, Points: 0xFA}, // em140 Harudomerugu {MID: mhfmon.Harudomerugu, Points: 250},
{MID: 0x8D, Points: 0xFA}, // em141 Toridcless {MID: mhfmon.Toridcless, Points: 250},
{MID: 0x8E, Points: 0xFA}, // em142 Gasurabazura {MID: mhfmon.Gasurabazura, Points: 250},
{MID: 0x90, Points: 0xFA}, // em144 Yama Kurai {MID: mhfmon.YamaKurai, Points: 250},
{MID: 0x92, Points: 0x78}, // em146 Zinogre {MID: mhfmon.Zinogre, Points: 120},
{MID: 0x93, Points: 0x78}, // em147 Deviljho {MID: mhfmon.Deviljho, Points: 120},
{MID: 0x94, Points: 0x78}, // em148 Brachydios {MID: mhfmon.Brachydios, Points: 120},
{MID: 0x96, Points: 0xFA}, // em150 Toa Tesukatora {MID: mhfmon.ToaTesukatora, Points: 250},
{MID: 0x97, Points: 0x78}, // em151 Barioth {MID: mhfmon.Barioth, Points: 120},
{MID: 0x98, Points: 0x78}, // em152 Uragaan {MID: mhfmon.Uragaan, Points: 120},
{MID: 0x99, Points: 0x78}, // em153 Stygian Zinogre {MID: mhfmon.StygianZinogre, Points: 120},
{MID: 0x9A, Points: 0xFA}, // em154 Guanzorumu {MID: mhfmon.Guanzorumu, Points: 250},
{MID: 0x9E, Points: 0xFA}, // em158 Voljang {MID: mhfmon.Voljang, Points: 250},
{MID: 0x9F, Points: 0x78}, // em159 Nargacuga {MID: mhfmon.Nargacuga, Points: 120},
{MID: 0xA0, Points: 0xFA}, // em160 Keoaruboru {MID: mhfmon.Keoaruboru, Points: 250},
{MID: 0xA1, Points: 0xFA}, // em161 Zenaserisu {MID: mhfmon.Zenaserisu, Points: 250},
{MID: 0xA2, Points: 0x78}, // em162 Gore Magala {MID: mhfmon.GoreMagala, Points: 120},
{MID: 0xA4, Points: 0x78}, // em164 Shagaru Magala {MID: mhfmon.ShagaruMagala, Points: 120},
{MID: 0xA5, Points: 0x78}, // em165 Amatsu {MID: mhfmon.Amatsu, Points: 120},
{MID: 0xA6, Points: 0xFA}, // em166 Elzelion {MID: mhfmon.Eruzerion, Points: 250},
{MID: 0xA9, Points: 0x78}, // em169 Seregios {MID: mhfmon.Seregios, Points: 120},
{MID: 0xAA, Points: 0xFA}, // em170 Bogabadorumu {MID: mhfmon.Bogabadorumu, Points: 250},
} }
resp := byteframe.NewByteFrame() resp := byteframe.NewByteFrame()