New abilities system


Ok so rewrote the abilities system tonight. I redid the baseabil, which meant I had to change all the abil classes. And redo them to work with the new system.

The only one that gave me a real problem with shockshield. It wasn’t firing right. For some reason it had two “mob” variables. And the way I was setting the mob variable it wasn’t liking. So back to editing the baseabil so I could add setMob, and SetTarget(incase I need it in the future). Then it was working, just using the wrong message. Little digging I found my message DB was messes up. It had a ton of duplicate records. So clean that up, and it was looking correct.

Then I noticed it wasn’t removing the shockshield abil when the spell wore off. But other spells wore off. So went to digging. I found that when a spell had one ability it wasn’t removing the abil from the player. So looking at the killspell method I noticed I never finished the method. I was only dealing with multiple abils for some reason, and only checking on some abils. So finished that method and everything started to work flawless.

So while digging into the code tonight I have noticed a few things that are broke. So got some time tomorrow I’m gonna ticker with them tomorrow.

Till next time…

Share