// TMW2 script // Author: Jesusalva // // Homunculus Evolution Configuration // Defines what evolves to what and their tiers and all that... function script HEC_GetTier { switch (getarg(0, gethominfo(1))) { case 6001: case 6002: case 6003: case 6004: case 6005: case 6006: case 6007: case 6008: return 1; case 6020: case 6021: case 6022: case 6023: return 2; // Elli's case, or no homunculus found default: return -1; } } // Returns -1 if no evolution available, 0 if it is complex (wrong function), or ID function script HEC_SimpleEvolve { switch (getarg(0, gethominfo(1))) { case 6001: case 6005: return 6020; case 6004: case 6006: return 6021; case 6002: case 6003: return 6022; case 6007: case 6008: return 6023; // Tier 2 -> 3 are complex evolutions with two choices case 6020: case 6021: case 6022: case 6023: return 0; // No evolution available default: return -1; } } // Return the class name from DB function script HEC_GetCName { switch (getarg(0, gethominfo(1))) { case 6001: return l("Mage"); case 6002: return l("Tanker"); case 6003: return l("Agile"); case 6004: return l("Strong"); case 6005: return l("Lucky"); case 6006: return l("Accurate"); case 6007: return l("All Rounder"); case 6008: return l("Superior Machine"); case 6010: return l("Elanore"); case 6020: return l("Ranger"); case 6021: return l("Warrior"); case 6022: return l("Stalwart"); case 6023: return l("Paladin"); // ??? default: return l("ERROR"); } }