Page 1 of 1

Latent MP Gain

Posted: Fri Jun 03, 2016 3:13 pm
by Avatarati
The following augment had a note next to it that said "Do via script."

(60,0,0,0,0);--Latent effect: Refresh+1 (Do via Script: triggered with your current weapon not drawn for 1MP/tick.)

Which file would I modify to add this augment? Not seeing anything in globals where I could insert something, and individual weapons (item files) isn't really an option for me.

Re: Latent MP Gain

Posted: Fri Jun 10, 2016 6:45 pm
by TeoTwawki
At the time that note was made, that augment existed for only 1 item in retail, so we had planned to just script the item to check for it. So in that case, it would be scripts\globals\items\item_name_here.lua

However since then it was decided we need to make latents possible anyway to handle some of the pet items that only work for specific pet types like "Automaton: statHere" and such. That hasn't been done yet.