@@ -472,8 +472,8 @@ func init() {
472
472
thingPice := (priceList [info .Name ] - (durationList [info .Name ] - durable ) - maintenance * 2 +
473
473
induceLevel * 600 * discountList ["诱钓" ]/ 100 +
474
474
favorLevel * 1800 * discountList ["海之眷顾" ]/ 100 ) * discountList [info .Name ] / 100
475
- if strings .Contains (thingName , "初始木竿" ){
476
- thingPice = priceList ["木竿" ]+ priceList ["木竿" ] * discountList ["木竿" ]/ 100
475
+ if strings .Contains (thingName , "初始木竿" ) {
476
+ thingPice = priceList ["木竿" ] + priceList ["木竿" ]* discountList ["木竿" ]/ 100
477
477
}
478
478
pice = append (pice , thingPice )
479
479
} else {
@@ -621,7 +621,7 @@ func init() {
621
621
Number : 1 ,
622
622
Other : thing .Other ,
623
623
}
624
- if thingName == "初始木竿" {
624
+ if thingName == "初始木竿" {
625
625
newCommodity .Name = "木竿"
626
626
}
627
627
} else {
@@ -800,8 +800,8 @@ func drawStroeInfoImage(stroeInfo []store) (picImage image.Image, err error) {
800
800
induceLevel , _ := strconv .Atoi (poleInfo [2 ])
801
801
favorLevel , _ := strconv .Atoi (poleInfo [3 ])
802
802
pice = (priceList [info .Name ] - (durationList [info .Name ] - durable ) - maintenance * 2 + induceLevel * 600 + favorLevel * 1800 ) * discountList [info .Name ] / 100
803
- if strings .Contains (name , "初始木竿" ){
804
- pice = priceList ["木竿" ]+ priceList ["木竿" ] * discountList ["木竿" ]/ 100
803
+ if strings .Contains (name , "初始木竿" ) {
804
+ pice = priceList ["木竿" ] + priceList ["木竿" ]* discountList ["木竿" ]/ 100
805
805
}
806
806
} else {
807
807
pice = priceList [info .Name ] * discountList [info .Name ] / 100
0 commit comments