Solved❗ FSOD Enemy attack cooldown

Posts 1–2 of 2 · Page 1 of 1
❗ FSOD Enemy attack cooldown
I'm working on adding the shatters to my private server, however I can't seem to get the right cooldown for Fire Mage. I'm trying to make them shoot super fast and I cant seem to make it shoot fast enough, it seems that once you go below 100 then it stays at a set attack speed? I just wanted to know if someone could tell me the lowest it goes or how to fix my problem. Thanks in advance!! (I need help with new State("fire2", )

Code:
            .Init("shtrs Fire Mage",
                new State(
                    new State("Wait",
                        new PlayerWithinTransition(5, "fire")
                            ),
                    new State("fire",
                        new Follow(0.5, range: 1),
                        new Shoot(10, 5, 10, projectileIndex: 0, coolDown: 1500),
                        new TimedTransition(10000, "fire2")
                            ),
                    new State("fire2",
                        new Shoot(10, 3, 10, projectileIndex: 1, coolDown: 20),
                        new TimedTransition(10000, "fire")
                        )
                    )
            )

EDIT: Problem solved!
Added:
Code:
                        new Shoot(10, 3, 8, projectileIndex: 1, coolDown: 5),
                        new Shoot(10, 3, 8, projectileIndex: 1, coolDown: 5, coolDownOffset: 10),
                        new Shoot(10, 3, 8, projectileIndex: 1, coolDown: 5),
                        new Shoot(10, 3, 8, projectileIndex: 1, coolDown: 5, coolDownOffset: 10),
Which might be giving him slightly stacked shots, but oh well. Much to lazy to fix it. Thanks for anyone who was going to help!
Quote Originally Posted by DickBlaster View Post
EDIT: Problem solved!
@Raple @Danny @Luis

Closerino
Posts 1–2 of 2 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us