Charm away!


Ok so finally got some time to sit down today and work on the fucking charm bug,  I tried a couple work arounds to get charm to work correctly can they kept messing up too.  So I was like ok lets make a couple variables in the actual charm abil to store everything I might need.  Well got it working and noticed that the name popped up wrong in one place.  So I look and I was still refrencing and old variable that was causing my problem in the first place. So thought to myself why is all the abils sharing the same mob info.  And then realize I was accessing the general variables set in the parent class.  So I assign the abil it’s own Mob and Player variable and shit worked.

I dance a little bit and thought lets check rez I have done a lot of changes to how abils where handled.  And bam java.lang.NullPointerException flying everywhere.  Damn it.  So I went and looked and saw it was using the parent variables too.  So set that up like it should be and it working no problems again.

I ran around town and graveyard charming and raising mobs running around with my 2 minions terrorizing people.  Was kinda fun I must admit.  So will get the latest bits on the server today.

Till next time…

Share