Easy RPG Creator Wiki
Advertisement

Allows the retrieval of information in regards to the Weapons Tab data.  If you need to do anything that involves weapons, this needs to be attached to your scene.  (This includes the Equipment Menu and doesn't include the Inventory Manager, which does not actually require the handlers for weapons, armors, or items, or the chest system).  More information on each of the different fields can be found on the Weapons Tab page.

Here is a full list of the current custom blocks currently tied in to the Weapon Database Handler, and it is important to note that much of this same information is available by hovering over the custom block in Stencyl and looking to the bottom left side of the screen:

  • Get Name for Weapon <text> - Returns the name of the weapon as it appears in the database.  The <text> portion is where you can type in either the name of the weapon as it appears in the database, or the weapon's ID.
    Return Type: Text
  • Get ID for Weapon <text> - Returns the ID of an weapon as it appears in the database.  The <text> portion is where you can type in either the name of the weapon as it appears in the database, or the weapon's ID.
    Return Type: Number
  • Get Description for Weapon <text> - Returns the description of a database weapon. The <text> portion is where you can type in either the name of the weapon as it appears in the database, or the weapon's ID.
    Return Type: Text
  • Get Weapon Type for Weapon <text> - Returns the weapon type of a database weapon. The <text> portion is where you can type in either the name of the weapon as it appears in the database, or the weapon's ID.
    Return Type: Text
  • Get Price for Weapon <text> - Returns the price of a database weapon. The <text> portion is where you can type in either the name of the weapon as it appears in the database, or the weapon's ID.
    Return Type: Number
  • Get ATK for Weapon <text> - Returns the ATK of a database weapon. The <text> portion is where you can type in either the name of the weapon as it appears in the database, or the weapon's ID.
    Return Type: Number
  • Get DEF for Weapon <text> - Returns the DEF of a database weapon. The <text> portion is where you can type in either the name of the weapon as it appears in the database, or the weapon's ID.
    Return Type: Number
  • Get MATK for Weapon <text> - Returns the MATK of a database weapon. The <text> portion is where you can type in either the name of the weapon as it appears in the database, or the weapon's ID.
    Return Type: Number
  • Get MDEF for Weapon <text> - Returns the MDEF of a database weapon. The <text> portion is where you can type in either the name of the weapon as it appears in the database, or the weapon's ID.
    Return Type: Number
  • Get AGI for Weapon <text> - Returns the AGI of a database weapon. The <text> portion is where you can type in either the name of the weapon as it appears in the database, or the weapon's ID.
    Return Type: Number
  • Get LUCK for Weapon <text> - Returns the LUCK of a database weapon. The <text> portion is where you can type in either the name of the weapon as it appears in the database, or the weapon's ID.
    Return Type: Number
  • Get MHP for Weapon <text> - Returns the Max HP of a database weapon. The <text> portion is where you can type in either the name of the weapon as it appears in the database, or the weapon's ID.
    Return Type: Number
  • Get MMP for Weapon <text> - Returns the Max MP of a database weapon. The <text> portion is where you can type in either the name of the weapon as it appears in the database, or the weapon's ID.
    Return Type: Number
Advertisement