User:BryghtShadow/sandbox

From Mobius Final Fantasy Wiki
Jump to: navigation, search

Jobs[edit | edit source]

Job Cards
  • Onion Knight
  • Neophyte Ranger
  • Apprentice Mage
  • Warrior
  • Ranger
  • Mage
  • Knight
  • Hunter
  • White Mage
  • Dark Knight
  • Thief
  • Black Mage
  • Samurai
  • Assassin
  • Red Mage
  • Dragoon
  • Dancer
  • Scholar
  • Ace Striker
  • Mythic Knight
  • Mythic Ninja
  • Mythic Sage
  • Paladin
  • Viking
  • Devout
  • SOLDIER 1st Class
  • Berserker
  • Rogue
  • Occultist
  • Heretical Knight
  • Trainee Monk
  • Monk
  • Pugilist
  • Grappler
  • Bard
  • Hermit
  • Highwind
  • Judge Magister
  • Tactician
  • Balamb Mercenary
  • Tonberry Suit
  • Thief of Tantalus
  • Moogle Suit
  • Hope's Guide
  • Unbroken Hero
  • Knight of Etro
  • Last Hunter
  • Lightning
  • The Azure Witch
  • Esmeralda
  • Fauviste
  • Amalthea
  • Master Monk
  • Cloud Strife
  • Santa Lucia
  • Ninja
  • Glam Vamp
  • Hero of Despair
  • Sephiroth
  • Flower Girl of Midgar
  • Cait Sith Suit
  • Sage
  • Sword Saint
  • Cocoon Aviator
  • PSICOM Officer
  • Vesna Krasna
  • Eorzean Paladin
  • Y'shtola
  • Eorzean Bard
  • Battle Princess
  • Crimson Archer
  • Nachtflug
  • Primeval Witch
  • Prima Donna
  • Beach Queen
  • Deep Diver
  • Mellow Mermaid
  • Legendary Guardian
  • Tidus
  • Ascetic
  • Proud Cygnus
  • Yuna
  • Al Bhed Huntress
  • Vana'diel Geomancer
  • Vana'diel Monk
  • Shorn One
  • Skyseer
  • Nightwalker
  • Gambler
  • Materia Hunter
  • Tifa Lockhart
  • Agent of Scarlet Woe
  • Dawn Warrior
  • Freelancer
  • Wild Rider
  • Jet Stunner
  • Magitek Jester
  • Magitek Heroine
  • Épéiste
  • Gardien
  • Toreador
  • Gilgamesh
  • Cacciatrice
  • Stranger to the Mythos
  • Paradox Wanderer
  • Scharfrichter
  • Kämpfer
  • Tropical Traveler
  • Vagabond
  • Squall Leonhart
  • Squall
  • Sorceress's Knight
  • Sorceress of Oblivion
  • Reisender
  • Wahrsager
  • Aerith Gainsborough
  • Shinra Turk
  • Avalanche Heroine
  • The Phantom
  • The Mourner
  • The Sweetheart
  • Chevalier Noir
  • The Pure Lady
  • Jecht
  • Glamorous Black Mage
  • Sphere Hunter
  • Lady of the Lake
  • Wyrmlord
  • Raven Peeress
  • Earthshaker
  • Grand Général
  • The Phoenix
  • Bailarina
  • Destined Saviour
  • Cosmic Traveler
  • Soranaki
  • Aventurier
  • Star-Crossed Lover
  • Princess of Dusk (Hero)
  • Princess of Dusk
  • Dawn Warrior
  • Archfiend
  • Archfiend (Hero)

Weapons[edit | edit source]

Name Source HP ATK BRK MAG CRIT SPD DEF Auto-Abilities
Abraxas (weapon icon).png
Abraxas
Scholar 1-4 0 42 74 5 0 1 0 Painful Break+20%
Input
{{weapon stats
| name = Blank Blade
| hp = 0, 0, 0, 0
| atk = 5, 20, 35, 50
| brk = 5, 15, 25, 35
| mag = 0, 5, 10, 15
| cri = 0, 0, 0, 0
| spd = 0, 0, 0, 1
| def = 0, 0, 0, 0
| abi1 = Ultimate Charger | min1 = 1 | max1 = 3 | req1 = 3
| abi2 = Life Draw | min2 = 20 | max2 = 30 | req2 = mod
| abi3 = Healing Victory | min3 = 10 | max3 = 30 | req3 = mod
| abi4 = Boost Ultimate | min4 = 1 | max4 = 1 | req4 = mod
}}
Output 1
* HP ATK BRK MAG CRI SPD DEF AUTO-ABILITY
1 0 5 5 0 0 0 0
2 0 20 15 5 0 0 0
3 0 35 25 10 0 0 0 Ultimate Charger+1
4 0 50 35 15 0 1 0 Ultimate Charger+1
Output 2
Stat ★1 ★2 ★3 ★4
HP 0 0 0 0
ATK 5 20 35 50
BRK 5 15 25 35
MAG 0 5 10 15
CRI 0 0 0 0
SPD 0 0 0 1
DEF 0 0 0 0
Auto-Ability Initial Final Requirement
Ultimate Charger 1 3 ★3
Life Draw 20 30 Mod
Healing Victory 10 30 Mod
Boost Ultimate 1 1 Mod
{{Weapon stat
| abi1 = Painful Break |val1=30,50,50,50
|max1= 100
|abi2 = Life Draw |val2=-,20,20,20 |max2=30
|abi3=Healing Victory |mod3=20|max3=30
}}
Auto-Ability 1 2 3 4 Mod Max
Painful Break 30 50 50 50 - 100
Life Draw - 20 20 20 - 30
Healing Victory - - - - 20 30
Boost Ultimate - - - - 1 1

Cards[edit | edit source]

local cargo_query = mw.ext.cargo.query

local p = {}

function p.card(args)
	local name = args.name
	local rarity, is_fast = string.match(args.rarity, "(%d+)(%+?)")
	rarity = tonumber(rarity)
	is_fast = is_fast == '+'
	local element = args.element
	local jobtype = args.jobtype
	local ability_pagename = args.ability
	local maxlvl
	if jobtype == 'support' then
		maxlvl = rarity + 1
	else
		maxlvl = rarity * 2
	end
	local ability_stats = cargo_query(
		'ability_stats',
		'attack, break_power, crit_chance, cooldown',
		{
			where = ("_pageName = %q AND level = %d"):format(ability_pagename, maxlvl),
			groupBy = "_pageName, level",
		})[1]
	local ability_name = cargo_query('abilities', 'name', {where=('_pageName=%q'):format(ability_pagename)})[1].name
	local attack = ability_stats.attack
	local break_power = ability_stats.break_power
	local crit_chance = ability_stats.crit_chance
	local cooldown = ability_stats.cooldown
	mw.log("CARD:"..name..mw.ustring.char(0x2605)..rarity..(is_fast and '+' or ''))
	mw.log(element, jobtype)
	mw.log('[['..ability_pagename..'|'..ability_name..']]')
	mw.log('ATK: '..attack)
	mw.log('BRK: '..break_power)
	mw.log('CRT: '..crit_chance)
	mw.log('CD:  '..cooldown)
end

function p.main(frame)
	
end

function p._test()
	return p.card{
		name = "Gigaworm",
		element = "earth",
		jobtype = "monk",
		rarity="5+",
		ability = "Gigastorm (Monk)",
	}
end

return p