• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Go で書き直した Ikemen


Commit MetaInfo

Revisão659447c367aeee77b5ffe49d248566691e8bfd29 (tree)
Hora2019-01-12 08:28:04
AutorShinLucho <shinlucho@gmai...>
CommiterShinLucho

Mensagem de Log

Explod random displacement changed

Mudança Sumário

Diff

--- a/src/bytecode.go
+++ b/src/bytecode.go
@@ -2441,10 +2441,10 @@ func (sc explod) Run(c *Char, _ []int32) bool {
24412441 e.offset[1] = exp[1].evalF(c) * lclscround
24422442 }
24432443 case explod_random:
2444- rndx := exp[0].evalF(c) * lclscround
2444+ rndx := exp[0].evalF(c) * lclscround * 0.5
24452445 e.offset[0] += RandF(-rndx, rndx)
24462446 if len(exp) > 1 {
2447- rndy := exp[1].evalF(c) * lclscround
2447+ rndy := exp[1].evalF(c) * lclscround * 0.5
24482448 e.offset[1] += RandF(-rndy, rndy)
24492449 }
24502450 case explod_postype: