View Single Post
08-30-19, 05:21 PM   #6
Motanum
A Murloc Raider
Join Date: Aug 2019
Posts: 5
I GOT IT WORKING!



It was an issue with the function calling, I am new to lua and had to add a myFunction(self, SpellID) which I wasn't aware, but I got find by adding print messages here and there.

It outputs to chat at the moment! And the way I got the 2 damage values is by looking for the first 2 damage values in the description, which for some spells, which lack a description will break the code. IS there a way to get the spell min and max damage cleanly? I tried looking at the API but I didn't find anything as obvious as with SpellPowerCost.

Now, I wish to create a frame, or display one that the base AddOnI have already instead of spamming my own chat.
  Reply With Quote