Help with custom weapon

kfritz411

Rookie
Mar 16, 2015
72
3
8
36
I'm going to start with "I have no earthly idea what I'm doing"

I've hacked this code together from several scripts. The Town Gate system works on double click, and when an ADMIN has the weapon equipped it attacks just fine.

However, when a PLAYER equips this weapon they can not attack. The doubleclick still works but there's no attack animation or damage being dealt. I have no idea why...

Any help would be greatly appreciated.

Thanks!
 

Attachments

Falkor

Squire
Apr 11, 2018
436
176
43
wpshard.com
Shard Name
Whispering Pines
Add this to your code and it'll work fine:

Code:
        public override float MlSpeed
        {
            get
            {
                return 2.50f;
            }
        }
The value is in seconds, so edit that as needed for weapon speed. There's "old speed", AOS speed, and Mondain's Legacy swing speed.
 
  • Like
Reactions: kfritz411

kfritz411

Rookie
Mar 16, 2015
72
3
8
36
Thank you soooooooooo much!!! that fixed it. I guess you don't know what ya don' t know, ya know?

Thanks again!