UNPKG

@xaroth8088/random-names

Version:

A random name generator for all kinds of things

49 lines (48 loc) 11.7 kB
export default function animeAttacks() { let rnd; let rnd2; let rnd3; let rnd4; let names; const nm1 = ['Abominable', 'Aching', 'Adamantine', 'Adept', 'Advanced', 'Aggressive', 'Agile', 'Agonizing', 'Amplified', 'Ancient', 'Angelic', 'Angry', 'Arch', 'Azure', 'Basic', 'Black', 'Blinding', 'Bright', 'Brilliant', 'Brutal', 'Burning', 'Careless', 'Chaotic', 'Chief', 'Classic', 'Clean', 'Colossal', 'Combination', 'Complete', 'Complex', 'Composed', 'Confusing', 'Corrupt', 'Counter', 'Courageous', 'Crazed', 'Crazy', 'Crimson', 'Cruel', 'Crushing', 'Dancing', 'Dark', 'Dead', 'Deadly', 'Defensive', 'Defiant', 'Definitive', 'Delayed', 'Delirious', 'Demonic', 'Devouring', 'Dieing', 'Diligent', 'Direct', 'Dirty', 'Double', 'Draconic', 'Drunken', 'Dual', 'Dynamic', 'Eager', 'Elegant', 'Elementary', 'Enchanted', 'Enchanting', 'Enlightened', 'Enraged', 'Executing', 'Expert', 'Extreme', 'Fading', 'Faint', 'Fake', 'Falling', 'False', 'Fatal', 'Fearless', 'Feral', 'Firm', 'First', 'Flawless', 'Flowing', 'Flying', 'Focused', 'Forbidden', 'Forsaken', 'Frozen', 'Furious', 'Giant', 'Gigantic', 'Gilded', 'Glaring', 'Golden', 'Graceful', 'Grand', 'Grave', 'Greater', 'Grim', 'Hallowed', 'Haunting', 'Hidden', 'High', 'Hollow', 'Holy', 'Honored', 'Humming', 'Hungry', 'Identical', 'Impending', 'Impossible', 'Impure', 'Infinite', 'Iron', 'Leaping', 'Light', 'Living', 'Lucky', 'Majestic', 'Major', 'Minor', 'Misty', 'Mithril', 'Mixed', 'Monstrous', 'Mortal', 'Mysterious', 'Nimble', 'Numbing', 'Obsidian', 'Parallel', 'Perfect', 'Powerful', 'Primal', 'Primary', 'Prime', 'Pristine', 'Puny', 'Pure', 'Quick', 'Quiet', 'Rabid', 'Ragged', 'Rapid', 'Raw', 'Reckless', 'Reflecting', 'Regal', 'Rotten', 'Rough', 'Royal', 'Sadistic', 'Savage', 'Scarlet', 'Scathing', 'Sealed', 'Secret', 'Serene', 'Severing', 'Shallow', 'Shameless', 'Shining', 'Shocking', 'Silent', 'Silver', 'Simple', 'Single', 'Skeletal', 'Slaying', 'Smooth', 'Sneaky', 'Staight', 'Steel', 'Stunning', 'Subtle', 'Super', 'Superior', 'Surging', 'Surprise', 'Swift', 'Thundering', 'Timeless', 'True', 'Twin', 'Unholy', 'Unleashed', 'Vacuum', 'Vengeful', 'Vicious', 'Vile', 'Violent', 'Violet', 'Warped', 'Weeping', 'Whispered', 'White', 'Wicked', 'Wild', 'Winding', 'Wise', 'Wretched']; const nm2 = ['Angel', 'Annihilation', 'Arachnid', 'Armageddon', 'Ash', 'Assassin', 'Aura', 'Autumn', 'Avalanche', 'Bane', 'Barrier', 'Bear', 'Beast', 'Behemoth', 'Bird', 'Blessing', 'Blizzard', 'Blood', 'Blossom', 'Body', 'Bomb', 'Bone', 'Boulder', 'Bubble', 'Bug', 'Butterfly', 'Camouflage', 'Canine', 'Chain', 'Chakra', 'Chaos', 'Claw', 'Clone', 'Cloud', 'Cocoon', 'Cold', 'Comet', 'Cosmos', 'Crab', 'Crane', 'Crescent', 'Cricket', 'Crystal', 'Darkness', 'Day', 'Daydream', 'Death', 'Deception', 'Delusion', 'Demon', 'Diamond', 'Dragon', 'Dragonfly', 'Dream', 'Droplet', 'Dust', 'Earth', 'Earthquake', 'Echo', 'Electric', 'Elemental', 'Elephant', 'Enigma', 'Execution', 'Exorcism', 'Explosion', 'Falcon', 'Fang', 'Feather', 'Feline', 'Fire', 'Flame', 'Frost', 'Frostfire', 'Fury', 'Ghost', 'Giant', 'God', 'Golem', 'Gravity', 'Hawk', 'Head', 'Heaven', 'Hell', 'Hellfire', 'Hornet', 'Horror', 'Hot', 'Hurricane', 'Ice', 'Illusion', 'Impact', 'Inferno', 'Infinity', 'Instant', 'Jaw', 'Judgment', 'Ki', 'Lava', 'Leaf', 'Leech', 'Legend', 'Light', 'Lightning', 'Lily', 'Limbo', 'Lion', 'Lotus', 'Magma', 'Mania', 'Maple', 'Melting', 'Meteor', 'Mime', 'Mind', 'Mirror', 'Mist', 'Monkey', 'Moon', 'Moonlight', 'Mountain', 'Needle', 'Night', 'Nightmare', 'Nova', 'Oak', 'Oracle', 'Palm', 'Panther', 'Paragon', 'Paralysis', 'Petal', 'Phantom', 'Phoenix', 'Poison', 'Prism', 'Prison', 'Propulsion', 'Puppet', 'Quick', 'Rage', 'Rain', 'Rainbow', 'Retribution', 'Reverse', 'River', 'Rock', 'Sand', 'Scorpion', 'Secret', 'Serpent', 'Shadow', 'Shark', 'Skeleton', 'Sky', 'Smoke', 'Snake', 'Snow', 'Soul', 'Spider', 'Spiral', 'Spirit', 'Spring', 'Starfall', 'Starlight', 'Stealth', 'Stone', 'Storm', 'Summer', 'Sun', 'Sunlight', 'Supreme', 'Talon', 'Teardrop', 'Terror', 'Thorn', 'Thunder', 'Tiger', 'Tornado', 'Toxin', 'Tree', 'Turtle', 'Twin', 'Typhoon', 'Vapor', 'Vengeance', 'Venom', 'Void', 'Vortex', 'Water', 'Waterfall', 'Whirlwind', 'Wild', 'Willow', 'Wind', 'Wing', 'Winter', 'Wolf', 'Yang', 'Yin']; const nm3 = ['Ambush', 'Assault', 'Attack', 'Barrage', 'Bash', 'Binding', 'Bite', 'Blade', 'Blast', 'Blitz', 'Blow', 'Bolt', 'Bullet', 'Burst', 'Bust', 'Cannon', 'Chain', 'Charge', 'Chop', 'Clap', 'Claw', 'Coil', 'Crack', 'Crush', 'Cut', 'Dance', 'Dive', 'Drain', 'Eruption', 'Fall', 'Fang', 'Fist', 'Fists', 'Flash', 'Flush', 'Force', 'Fracture', 'Hit', 'Hurl', 'Impact', 'Jolt', 'Kick', 'Kiss', 'Knock', 'Launch', 'Method', 'Pound', 'Punch', 'Push', 'Raze', 'Release', 'Rush', 'Seal', 'Shatter', 'Shock', 'Shot', 'Slam', 'Slash', 'Smash', 'Spear', 'Spell', 'Stab', 'Stomp', 'Strike', 'Surge', 'Technique', 'Thrust', 'Trap', 'Trash', 'Volley', 'Wave', 'Whip']; const nm4 = ['Admired', 'Adored', 'Advanced', 'Aether', 'Alert', 'Anchored', 'Ancient', 'Angelic', 'Arctic', 'Aromatic', 'Authentic', 'Autumn', 'Beautiful', 'Beloved', 'Bitter', 'Bleak', 'Blind', 'Blissful', 'Bold', 'Bright', 'Brilliant', 'Broken', 'Bronze', 'Calm', 'Careful', 'Careless', 'Clouded', 'Colossal', 'Common', 'Composed', 'Corrupt', 'Crescent', 'Cruel', 'Damaged', 'Dapper', 'Darling', 'Dearest', 'Defensive', 'Demise', 'Demonic', 'Dependable', 'Determined', 'Devoted', 'Diligent', 'Dual', 'Dutiful', 'Eager', 'Earnest', 'Echo', 'Eclipse', 'Elegant', 'Enchanted', 'Enigma', 'Esteemed', 'Everlasting', 'Evil', 'Exalted', 'False', 'Fatal', 'Fearless', 'Flawless', 'Focused', 'Forceful', 'Forsaken', 'Fortunate', 'Gentle', 'Giant', 'Gigantic', 'Glacier', 'Glorious', 'Golden', 'Graceful', 'Grand', 'Grave', 'Gravity', 'Grim', 'Hallowed', 'Harmonic', 'Harmonious', 'Haunting', 'Heaven', 'Heavenly', 'Hell', 'Hibernating', 'Hidden', 'Hollow', 'Honored', 'Horizon', 'Humble', 'Hungry', 'Illusion', 'Imitation', 'Immortal', 'Juvenile', 'Kings', 'Last', 'Legend', 'Light', 'Living', 'Lone', 'Lonely', 'Lost', 'Loyal', 'Lucky', 'Lunar', 'Majestic', 'Menacing', 'Mild', 'Mysterious', 'Nimble', 'Outlandish', 'Parallel', 'Parasitic', 'Peaceful', 'Perfect', 'Poison', 'Powerful', 'Prestigious', 'Prime', 'Prism', 'Prison', 'Proud', 'Quick', 'Quiet', 'Radiant', 'Rainbow', 'Regal', 'Royal', 'Secret', 'Serene', 'Shadow', 'Silent', 'Skeletal', 'Solar', 'Spiteful', 'Spring', 'Stark', 'Summer', 'Swift', 'Toxin', 'True', 'Twilight', 'Twin', 'Vengeful', 'Venom', 'Void', 'Vortex', 'Watchful', 'Weather', 'Wicked', 'Wild', 'Winter', 'Wise', 'Worthy', 'Wretched', 'Zealous']; const nm5 = ['Alligator', 'Anaconda', 'Angel', 'Ape', 'Armadillo', 'Assassin', 'Aura', 'Axe', 'Baboon', 'Badger', 'Bandicoot', 'Basilisk', 'Bear', 'Beast', 'Beaver', 'Bee', 'Beetle', 'Behemoth', 'Bird', 'Blade', 'Blood', 'Blossom', 'Boa', 'Boar', 'Body', 'Bolt', 'Branch', 'Brook', 'Buffalo', 'Bug', 'Butterfly', 'Cat', 'Chain', 'Chameleon', 'Chimp', 'Claw', 'Clone', 'Cloud', 'Cobra', 'Cocoon', 'Comet', 'Condor', 'Cougar', 'Crab', 'Crane', 'Cricket', 'Crocodile', 'Crow', 'Deer', 'Demon', 'Dove', 'Dragon', 'Dragonfly', 'Eagle', 'Edge', 'Elephant', 'Falcon', 'Fang', 'Feather', 'Firefly', 'Fish', 'Flame', 'Fog', 'Forrest', 'Fox', 'Frog', 'Ghost', 'Giant', 'Goat', 'God', 'Golem', 'Gorilla', 'Grass', 'Hare', 'Hawk', 'Head', 'Hippo', 'Hook', 'Hornet', 'Horse', 'Hyena', 'Ice', 'Jackal', 'Jaguar', 'Katana', 'Leaf', 'Leech', 'Lemur', 'Light', 'Lightning', 'Lily', 'Lizard', 'Locust', 'Lotus', 'Lynx', 'Macaw', 'Magpie', 'Mandrill', 'Mantis', 'Meteor', 'Mime', 'Mind', 'Mist', 'Monkey', 'Moon', 'Moose', 'Mountain', 'Mouse', 'Mushroom', 'Needle', 'Night', 'Nightingale', 'Octopus', 'Oracle', 'Panda', 'Panther', 'Paragon', 'Petal', 'Phantom', 'Phoenix', 'Puppet', 'Raccoon', 'Rain', 'Ram', 'Rat', 'Raven', 'Rhino', 'Rock', 'Root', 'Rose', 'Salamander', 'Scorpion', 'Shark', 'Shield', 'Smoke', 'Snake', 'Snow', 'Spear', 'Spider', 'Spirit', 'Star', 'Sun', 'Swallow', 'Swan', 'Sword', 'Tiger', 'Titan', 'Toad', 'Tortoise', 'Tree', 'Turtle', 'Viper', 'Vulture', 'Wasp', 'Water', 'Wolf', 'Wolverine', 'World']; const nm6 = ['Accelerating', 'Activating', 'Adapting', 'Alighting', 'Anticipating', 'Arising', 'Assembling', 'Attaching', 'Attacking', 'Balancing', 'Battling', 'Beating', 'Bending', 'Binding', 'Biting', 'Bleeding', 'Blessing', 'Blinding', 'Blowing', 'Boiling', 'Bolting', 'Bouncing', 'Breaking', 'Breathing', 'Burning', 'Bursting', 'Carving', 'Casting', 'Catching', 'Changing', 'Charging', 'Chasing', 'Cheating', 'Chopping', 'Clinging', 'Coiling', 'Coming', 'Commanding', 'Confusing', 'Constructing', 'Containing', 'Contracting', 'Controlling', 'Copying', 'Cracking', 'Crashing', 'Crawling', 'Crossing', 'Crushing', 'Crying', 'Curving', 'Cutting', 'Dancing', 'Deceiving', 'Destroying', 'Directing', 'Diverting', 'Dividing', 'Diving', 'Doubling', 'Draining', 'Dreaming', 'Drinking', 'Drowning', 'Drumming', 'Eating', 'Eliminating', 'Ending', 'Enduring', 'Enforcing', 'Enhancing', 'Escaping', 'Expanding', 'Exploding', 'Extending', 'Extracting', 'Fading', 'Fearing', 'Feeding', 'Fetching', 'Fighting', 'Firing', 'Flowing', 'Flying', 'Forcing', 'Freezing', 'Frightening', 'Frying', 'Glowing', 'Grabbing', 'Grinding', 'Gripping', 'Growing', 'Guarding', 'Harming', 'Hating', 'Hiding', 'Hovering', 'Hurting', 'Hypnotizing', 'Injecting', 'Injuring', 'Intensifying', 'Interrupting', 'Jesting', 'Judging', 'Kicking', 'Killing', 'Knocking', 'Laughing', 'Launching', 'Leaping', 'Living', 'Melting', 'Misleading', 'Mixing', 'Multiplying', 'Obeying', 'Overflowing', 'Perfecting', 'Pinching', 'Planting', 'Possessing', 'Praying', 'Pretending', 'Preying', 'Protecting', 'Punching', 'Puncturing', 'Punishing', 'Radiating', 'Raging', 'Raining', 'Reducing', 'Reflecting', 'Reigning', 'Releasing', 'Removing', 'Repeating', 'Revealing', 'Riding', 'Ruining', 'Ruling', 'Running', 'Rushing', 'Saving', 'Scattering', 'Scorching', 'Scratching', 'Screaming', 'Shining', 'Shocking', 'Shooting', 'Singing', 'Sinning', 'Slaying', 'Sleeping', 'Smashing', 'Smiting', 'Sneaking', 'Spinning', 'Splitting', 'Stinging', 'Striking', 'Suffering', 'Tearing', 'Thrusting', 'Transforming', 'Twisting', 'Vanishing', 'Wandering', 'Watching', 'Whirling', 'Whistling']; const i = Math.floor(Math.random() * 10); { if (i < 2) { rnd = Math.floor(Math.random() * nm2.length); rnd2 = Math.floor(Math.random() * nm3.length); names = `${nm2[rnd]} ${nm3[rnd2]}`; } else if (i < 4) { rnd = Math.floor(Math.random() * nm1.length); rnd2 = Math.floor(Math.random() * nm2.length); rnd3 = Math.floor(Math.random() * nm3.length); names = `${nm1[rnd]} ${nm2[rnd2]} ${nm3[rnd3]}`; } else if (i < 6) { rnd = Math.floor(Math.random() * nm4.length); rnd2 = Math.floor(Math.random() * nm5.length); rnd3 = Math.floor(Math.random() * nm6.length); rnd4 = Math.floor(Math.random() * nm3.length); names = `${nm4[rnd]} ${nm5[rnd2]}, ${nm6[rnd3]} ${nm3[rnd4]}`; } else if (i < 8) { rnd = Math.floor(Math.random() * nm4.length); rnd2 = Math.floor(Math.random() * nm5.length); rnd3 = Math.floor(Math.random() * nm6.length); rnd4 = Math.floor(Math.random() * nm5.length); while (rnd2 === rnd4) { rnd4 = Math.floor(Math.random() * nm5.length); } names = `${nm4[rnd]} ${nm5[rnd2]} ${nm6[rnd3]} ${nm5[rnd4]}`; } else { rnd = Math.floor(Math.random() * nm6.length); rnd2 = Math.floor(Math.random() * nm3.length); rnd3 = Math.floor(Math.random() * nm4.length); rnd4 = Math.floor(Math.random() * nm5.length); names = `${nm6[rnd]} ${nm3[rnd2]} of ${nm4[rnd3]} ${nm5[rnd4]}`; } return names; } }