Page 1 of 1
Remove Medicated Effect
Posted: Thu Feb 05, 2015 8:20 pm
by fallen45078
How would one remove the medicated effect from foods like the Red Curry Bun?
Re: Remove Medicated Effect
Posted: Thu Feb 05, 2015 11:10 pm
by whasf
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)
Re: Remove Medicated Effect
Posted: Fri Feb 06, 2015 9:40 am
by fallen45078
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
Posted: Fri Feb 06, 2015 10:46 pm
by TeoTwawki
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).
Re: Remove Medicated Effect
Posted: Sun Feb 08, 2015 1:24 pm
by fallen45078
That's what I was looking for. Thanks!