|ExpMessage 9.0.2 release||892 Bytes||Jan 8, 2021||9.0.2||0||Download|
|ExpMessage 8.011 release||892 Bytes||Nov 24, 2018||8.2.5 +1||212||Download|
This is my first attempt at making an addon, it is a very short and simple. I have no formal training in programming in Lua, I just picked it up by viewing online tutorials and other helpful websites. I made it mainly to see if I could. Originally I had no intention of spreading it around but some of my guild mates encouraged me to let them try it, so rather than try to email it or some other means of getting it out there I decided to see if I could get it published here on AddonsWoW.
All it does is creates a message in the main chat window that displays experience gained, experience needed, experience percentage, and times needed of the experience gain to level in the following format.
Exp gain: 132, Exp Needed: 276, Currently at 69.3%, Times: 3
This is obviously a very low level character who in this case killed a level six boar. Gaining 132 exp for the kill. Still needs 276 exp to reach the next level. Current Percentage is at 69.3% in the current level. Finally to reach the next level needs to kill 3 more level six boars. The times needed to level will vary depending on the gain, for example turning in a quest is generally far better exp than killing one or two enemies, therefore would need fewer times to make the next level.
The only time this message does not appear is when the character actually levels. To be honest I did not program it this way that is just how it worked out. I have made no attempt to fix this because, I felt there wasn't a need to print it since the character leveled. That and I am not entirely sure how to handle the different requirements for the new level as opposed to the previous level. Also the exp you gain could be significantly less since part of the exp was used to finish the previous level.
I do realize that this is like spamming myself (or you if you try it) but remember I just did this for fun to see if I could get it to work. Feel free to drop it once you see how it works. Of course to get it to work you can't be max level (IE gaining no exp), you actually have to earn exp for it to show up in your chat window. Also it only works in English, I have no plans to localize it to any other languages.