User:LVL/Sandbox

From The Deadlock Wiki
Revision as of 16:59, 30 September 2025 by LVL (talk | contribs)
Jump to navigation Jump to search

Testing Module:LVL/Sandbox

--- Function: get_npc_var ---

  • Get StompDamage for npc_boss_tier2: Script error: No such module "LVL/Sandbox". (Expected: 350)
  • Get MaxHealth for neutral_trooper_strong: Script error: No such module "LVL/Sandbox". (Expected: 1760)
  • Get a stat from a non-existent NPC: Script error: No such module "LVL/Sandbox". (Expected: Error: NPC 'npc_that_does_not_exist' not found.)
  • Get a non-existent stat from a valid NPC: Script error: No such module "LVL/Sandbox". (Expected: 0)
  • Test with extra whitespace in arguments: Script error: No such module "LVL/Sandbox". (Expected: 300)

--- Function: get_list_elem ---

  • Get the 4th value from NearbyEnemyResistanceValues for npc_boss_tier2: Script error: No such module "LVL/Sandbox". (Expected: 20)
  • Get an out-of-bounds index from a list: Script error: No such module "LVL/Sandbox". (Expected: [blank])
  • Get a value from a non-existent list: Script error: No such module "LVL/Sandbox". (Expected: [blank])
  • Provide a non-numeric index: Script error: No such module "LVL/Sandbox". (Expected: Error: Invalid index provided. Must be a number.)

--- Function: get_ability_key ---

  • Get primary weapon for npc_boss_tier2_weak: Script error: No such module "LVL/Sandbox". (Expected: citadel_weapon_bosstier2_set)
  • Get signature ability 3 for npc_boss_tier2: Script error: No such module "LVL/Sandbox". (Expected: citadel_ability_tier2boss_stomp)
  • Get ability from an NPC with no BoundAbilities: Script error: No such module "LVL/Sandbox". (Expected: Error: NPC 'trooper_normal' has no 'BoundAbilities' data.)
  • Get a non-existent ability slot: Script error: No such module "LVL/Sandbox". (Expected: Error: Slot 'ESlot_That_Does_Not_Exist' not found for NPC 'npc_boss_tier2'.)