Compare commits
No commits in common. "f15ce4ef8f56b17710d2a913c107369a147b78ab" and "292a5ea563827900ab48b8163a6f8388d6514d2c" have entirely different histories.
f15ce4ef8f
...
292a5ea563
|
@ -34,24 +34,14 @@ func (p *PluginSpecial) getCustomSpecial(m intf.Master) *Special {
|
||||||
}
|
}
|
||||||
func (p *PluginSpecial) BeforeDisplay(m intf.Master) {
|
func (p *PluginSpecial) BeforeDisplay(m intf.Master) {
|
||||||
Fortune := getCustomFortune(m)
|
Fortune := getCustomFortune(m)
|
||||||
//for _, float64s := range Fortune.Prize {
|
for _, float64s := range Fortune.Prize {
|
||||||
// for _, f := range float64s {
|
for _, f := range float64s {
|
||||||
// if f > 0 {
|
if f > 0 {
|
||||||
// sp := p.getCustomSpecial(m)
|
sp := p.getCustomSpecial(m)
|
||||||
// sp.Prize = Fortune.Prize
|
sp.Prize = Fortune.Prize
|
||||||
// return
|
return
|
||||||
// }
|
}
|
||||||
// }
|
|
||||||
//}
|
|
||||||
sp := p.getCustomSpecial(m)
|
|
||||||
if len(Fortune.Prize) == 0 {
|
|
||||||
sp.Prize = [][]float64{
|
|
||||||
{0, 0, 0},
|
|
||||||
{0, 0, 0, 0},
|
|
||||||
{0, 0, 0},
|
|
||||||
}
|
}
|
||||||
} else {
|
|
||||||
sp.Prize = Fortune.Prize
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
func (p *PluginSpecial) AfterSpin(m intf.Master) {
|
func (p *PluginSpecial) AfterSpin(m intf.Master) {
|
||||||
|
|
Loading…
Reference in New Issue