Djinni Wiki

function ActionEquipMostDamagingRanged (object oVersus=OBJECT_INVALID)

The creature will equip the range weapon in its possession that can do the most damage. If no valid range weapon can be found, it will equip the most damaging melee weapon.

  • oVersus: You can try to get the most damaging weapon against oVersus
  • Return type: void
  • Include file: nwscriptdefn