Remove Medicated Effect
-
- Posts: 33
- Joined: Wed Dec 03, 2014 2:17 pm
Remove Medicated Effect
How would one remove the medicated effect from foods like the Red Curry Bun?
Re: Remove Medicated Effect
You can't remove the medicated effect from medicines. You can remove the food effect with an antacid, get killed, etc.. See http://wiki.ffxiclopedia.org/wiki/Food_(Status_Effect)
-- Whasf
-
- Posts: 33
- Joined: Wed Dec 03, 2014 2:17 pm
Re: Remove Medicated Effect
No, I mean from a scripting method. I have manually removed the medicated effect from medicines by adjusting each individual medicine. Now I am wondering about the food, but would rather not have to change each instance.
Re: Remove Medicated Effect
All food is the same status effect, can't normally have more than one of it. The stats are set in the item script instead of a script for EFFECT_FOOD and it find which stats to use by looking at the subID to match it with an itemID. If you remove the check for food effects on item use you'd still have the effect already present so you'd have to either make food effect over-wright itself or or allow multiple copies (but multiple food effects would be nuts, even without any technical difficulties).
Hi, I run The Demiurge server.
Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live. - Martin Golding
Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live. - Martin Golding
DO NOT PRIVATE MESSAGE ME ABOUT BUGSPLS USE [ code ] CODE TAGS [ /code ] WHEN POSTING CODE
-
- Posts: 33
- Joined: Wed Dec 03, 2014 2:17 pm
Re: Remove Medicated Effect
That's what I was looking for. Thanks!