Latent MP Gain

Post Reply
Avatarati
Posts: 53
Joined: Mon Jun 30, 2014 2:51 pm

Latent MP Gain

Post by Avatarati » Fri Jun 03, 2016 3:13 pm

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.

User avatar
TeoTwawki
Developer
Posts: 527
Joined: Mon Jul 15, 2013 9:50 pm

Re: Latent MP Gain

Post by TeoTwawki » Fri Jun 10, 2016 6:45 pm

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.
Hi, I run The Demiurge server.


Image
Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live. - Martin Golding
PLS USE [ code ] CODE TAGS [ /code ] WHEN POSTING CODE
DO NOT PRIVATE MESSAGE ME ABOUT BUGS

Post Reply