Gwapowo / DuoEnhanced

A mod that adds many different types of duos, recreates vanilla blocks into duos, and duo units! Discord: gwapowo#0000
GNU General Public License v3.0
14 stars 3 forks source link

Super duo shoots 60 times per second, even when it shows 1200 per second. #8

Closed IlyaDudelzak closed 1 month ago

IlyaDudelzak commented 1 month ago

This is because game runs at 60 ticks per second, nothing can happen faster than that. To fix replace super-duo.hjson ammoTypes with this:

ammoTypes: {
    copper : {
        ammoPerShot: 20
        speed: 0
        damage: 8
        width: 7
        height: 9
        shootEffect: shootSmall
        smokeEffect: shootSmallSmoke
        lifetime: 0
        ammoMultiplier: 4
        fragBullet: {
            speed: 6
            damage: 8
            width: 7
            height: 9
            lifetime: 150
            }
        fragBullets: 20
        fragVelocityMin: 0.99
        fragOffsetMax: 1
        fragSpread: 0.05
        fragRandomSpread: 0.1
        }   
}
Gwapowo commented 1 month ago

very nice, thanks

in ilya we trust

Gwapowo commented 1 month ago

implemented