Edit request Code: yanfly item synthesis: formula check

● ARCHIVED · READ-ONLY
Started by Tiamat-86 1 posts View original ↗
  1. Item Synthesis Link

    I'd like item/weapon/armor note tag
    note tag runs an if formula check when crafting

    v[V] + Math.randomInt(100) >== X ? pass, instead synthesis item Y : fails, does normal synthesis
    V being your crafting skill as a variable
    X being item difficulty level
    Y being the item's high quality version ID

    Edit:
    <Custom Synthesis Effect>
    code
    </Custom Synthesis Effect>

    how do i make this run a common event?

    preferably just have code run the above formula twice
    once for chance to successfully craft item or fail and get no item,
    then run code again for high quality item ID or normal quality item ID

    which is what i'd be making the common events do but would require 1 event for every item

    (Can someone move this to plugin support please)