The in-game search is a bit weird - I feel like I should make a final compendium on the matter at some point.
There's multiple sources it pulls from - translation and game data, and both have their own unique quirks. Try searching for the following:
- attack=4 - Game Data (Attack, not the official game term "power". It also works for "Health" or "Mana", and maybe more I haven't discovered.)
- #punchman or susan - Game Data (They're locale-independent search terms, defined for some cards. This is Sion and Nasus.)
- Nami - Localization (In addition to Nami, this also finds Riven and Reforge. Blade Fragments have a DyNAMIc Description.)
- Based - Localization (This finds Senna, Veigar, Caitlyn and Vi. Darkness and the cops have a description BASED on something else, either based on Targeting or based on Scene, whether they're in the hand or board.)
- {create} - Localization (Variables with {} are used in localization to refer to other cards to simplify the process. For example, Vanguard Sergeant's text reads "When I'm summoned, create a {create} in hand." so that "For Demacia" doesn't need to be translated. Variable names may differ across cards.}
On this matter: u\TankyPally is correct here. It's indeed a variable so that it can be increased by damage modifiers, or conditional damage numbers like Corina Veraza's "Magnum Opus" (deal damage based on the number of spells obliterated).
They're written as follows, taking [[Get Excited!]] as a simple and well-known example:
"card_01PZ039_Name": "Get Excited!",
"card_01PZ039_Name_UpperCase": "GET EXCITED!",
"card_01PZ039_Description": "To play, discard 1.\nDeal {Damage:3} to anything.",
"card_01PZ039_FlavorText": ""FIRE IN THE CABOODLE!" - Jinx",
"card_01PZ039_StringRef_TargetingText": "Discard 1",
"card_01PZ039_StringRef_SpellTag": "Discarding",
"card_01PZ039_StringRef_TargetingText2": "Deal {Damage:3} to anything",
"card_01PZ039_StringRef_SpellTag2": "{Damage:3} damage",
So you would need to search for "Deal {Damage:X} to" - the parenthesis aren't strictly necessary, you can also search for a substring like "Damage:X".
Still haven't had enough weirdness? There's also "Damage:Spell:1". Except it's not spells, it's mostly skills.
I'm not a Rioter, just a curious mind that decodes the game data. Source is mostly that and my own experimentation.