http://www.yanfly.moe/wiki/index.php?title=Freeze_(MV_Plugin_Tips_%26_Tricks)&feed=atom&action=historyFreeze (MV Plugin Tips & Tricks) - Revision history2024-03-28T22:57:21ZRevision history for this page on the wikiMediaWiki 1.32.2http://www.yanfly.moe/wiki/index.php?title=Freeze_(MV_Plugin_Tips_%26_Tricks)&diff=2594&oldid=prevYanfly: Created page with "{{Yanfly Tips & Tricks MV |preview = <youtube>https://www.youtube.com/watch?v=OsT3cSdPSs4</youtube> |desc = Freeze from Final Fantasy 9 is a pretty brutal status effect. It..."2019-07-05T14:52:41Z<p>Created page with "{{Yanfly Tips & Tricks MV |preview = <youtube>https://www.youtube.com/watch?v=OsT3cSdPSs4</youtube> |desc = Freeze from Final Fantasy 9 is a pretty brutal status effect. It..."</p>
<p><b>New page</b></p><div>{{Yanfly Tips & Tricks MV<br />
|preview = <youtube>https://www.youtube.com/watch?v=OsT3cSdPSs4</youtube><br />
<br />
|desc = <br />
Freeze from Final Fantasy 9 is a pretty brutal status effect. It stuns the battler. And to remove it, a fire skill has to be used on the battler to thaw it. If not and a physical hit is dealt instead, the battler instantly dies! Here’s how to create that nasty status effect in RPG Maker MV!<br />
<br />
|required = <br />
* [[Buffs & States Core (YEP)|Buffs & States Core]]<br />
<br />
|instructions =<br />
Follow video instructions.<br />
<br />
; If you wish to give priority to fire damage thawing the battler:<br />
<br />
<pre><br />
<Custom Respond Effect><br />
// Get the fire element ID.<br />
var fire = 3;<br />
// Check if fire damage is dealt.<br />
if (this.item().damage.elementId === fire) {<br />
// Get the Freeze status effect ID.<br />
var stateId = 110;<br />
// Remove the status effect from target.<br />
target.removeState(stateId);<br />
// Check if physical damage is dealt.<br />
} else if (this.isPhysical() && target.result().hpDamage > 0) {<br />
// Set the target's HP to 0.<br />
target.setHp(0);<br />
}<br />
</Custom Respond Effect><br />
</pre><br />
<br />
; If you wish to give priority to physical damage killing the battler:<br />
<br />
<pre><br />
<Custom Respond Effect><br />
// Get the fire element ID.<br />
var fire = 3;<br />
// Check if physical damage is dealt.<br />
if (this.isPhysical() && target.result().hpDamage > 0) {<br />
// Set the target's HP to 0.<br />
target.setHp(0);<br />
// Check if fire damage is dealt.<br />
} else if (this.item().damage.elementId === fire) {<br />
// Get the Freeze status effect ID.<br />
var stateId = 110;<br />
// Remove the status effect from target.<br />
target.removeState(stateId);<br />
}<br />
</Custom Respond Effect><br />
</pre><br />
<br />
Have fun with it!<br />
<br />
}}</div>Yanfly