package WurstExportedObjects_w3h import ObjEditingNatives // Modified Table (contains all custom objects) @compiletime function create_w3h_BM01() let def = createObjectDefinition("w3h", 'BM01', 'Basl') ..setInt("wurs", 42) ..setString("fnam", "Shield Kit") ..setString("ftip", "Shield Kit") ..setString("fube", "This unit is protected by a shield that absorbs damage") ..setString("fart", "ReplaceableTextures\\CommandButtons\\BTNDivineIntervention.blp") @compiletime function create_w3h_BM02() let def = createObjectDefinition("w3h", 'BM02', 'Basl') ..setInt("wurs", 42) ..setString("fnam", "|cff00ff00Warning") ..setString("ftip", "|cff00ff00Warning") ..setString("fube", "Be cautious") ..setString("fart", "ReplaceableTextures\\CommandButtons\\BTNWellSpring.blp") @compiletime function create_w3h_BM03() let def = createObjectDefinition("w3h", 'BM03', 'Basl') ..setInt("wurs", 42) ..setString("fnam", "Blockade") ..setString("ftip", "Blockade") ..setString("fube", "This tower cannot attack until the blockading unit is killed.") ..setString("fart", "ReplaceableTextures\\CommandButtons\\BTNEnsnare.blp") @compiletime function create_w3h_BM04() let def = createObjectDefinition("w3h", 'BM04', 'Basl') ..setInt("wurs", 42) ..setString("fnam", "Tentacolous") ..setString("ftip", "Tentacolous") ..setString("fube", "The boss spawns tentacles when it loses hitpoints") ..setString("fart", "ReplaceableTextures\\CommandButtons\\BTNTentacle.blp") @compiletime function create_w3h_BM05() let def = createObjectDefinition("w3h", 'BM05', 'Basl') ..setInt("wurs", 42) ..setString("fnam", "Percentage Power") ..setString("ftip", "Percentage Power") ..setString("fube", "Deals 30% of max hp of the target in additional damage") ..setString("fart", "ReplaceableTextures\\CommandButtons\\BTNCriticalStrike.blp") @compiletime function create_w3h_BM06() let def = createObjectDefinition("w3h", 'BM06', 'Basl') ..setInt("wurs", 42) ..setString("fnam", "Hyper Aggression") ..setString("ftip", "Hyper Aggression") ..setString("fube", "Jumps towards any attacker. 4 second cooldown.") ..setString("fart", "ReplaceableTextures\\CommandButtons\\BTNAvengingWatcher.blp") // Original Table (contains all modified default objects) // Wurst does not support modifying default objects // but you can copy these functions and replace 'xxxx' with a new, custom id.