Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

major changes to petcharges #33

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions PetCharges/README.md
Original file line number Diff line number Diff line change
@@ -1 +1,27 @@
# PetCharges

![Preview of PetCharges](/img/preview.png)

This is a helper addon to show Pet Ready Charges and countdowns.

Monster abilities will show in numbered order of their `/bstpet [n]` command

`usage: petcharges [command]`

| Commands | Decription |
| --- | --- |
| save | Saves the addon
| move | Allows moving of the addon through the mouse. |
| killer | Toggles display of killer trait |
| timer | Toggles display of the recharge timer |
| bstpet | Toggles display of the numbers before abilities |

### Author
* Original work by Sammeh
* Customized by rjt

### Version
1.9

2024/01/15

Binary file added PetCharges/img/preview.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
160 changes: 160 additions & 0 deletions PetCharges/mob_families.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,160 @@
function define_jugpet_data()
jugpet = T {
["Homunculus"] = "Mandragora",
["HareFamiliar"] = "Rabbit",
["KeenearedSteffi"] = "Rabbit",
["CrabFamiliar"] = "Crab",
["CourierCarrie"] = "Crab",
["SheepFamiliar"] = "Sheep",
["LullabyMelodia"] = "Sheep",
["SlipperySilas"] = "Frog",
["FlytrapFamiliar"] = "Flytrap",
["VoraciousAudrey"] = "Flytrap",
["FlowerpotBill"] = "Mandragora",
["FlowerpotBen"] = "Mandragora",
["TigerFamiliar"] = "Tiger",
["SaberSiravarde"] = "Tiger",
["MayflyFamiliar"] = "Fly",
["ShellbusterOrob"] = "Fly",
["LizardFamiliar"] = "Lizard",
["ColdbloodComo"] = "Lizard",
["EftFamiliar"] = "Eft",
["AmbusherAllie"] = "Eft",
["FungaurFamiliar"] = "Fungaur",
["AntlionFamiliar"] = "Antlion",
["ChopsueyChucky"] = "Antlion",
["BeetleFamiliar"] = "Beetle",
["PanzerGalahad"] = "Beetle",
["MiteFamiliar"] = "Diremite",
["LifedrinkerLars"] = "Diremite",
["TurbidToloi"] = "Pugil",
["AmigoSabotender"] = "Sabotender",
["DapperMac"] = "Apkallu",
["CraftyClyvonne"] = "Coeurl",
["NurseryNazuna"] = "Sheep",
["LuckyLulush"] = "Rabbit",
["FlowerpotMerle"] = "Mandragora",
["DipperYuly"] = "Ladybug",
["DiscreetLouise"] = "Fungaur",
["FatsoFargann"] = "Leech",
["PrestoJulio"] = "Flytrap",
["AudaciousAnna"] = "Lizard",
["MailbusterCetas"] = "Fly",
["FaithfulFalcorr"] = "Hippogryph",
["SwiftSieghard"] = "Raptor",
["BloodclawShasra"] = "Coeurl",
["BugeyedBroncha"] = "Eft",
["GorefangHobs"] = "Tiger",
["GooeyGerard"] = "Slug",
["CrudeRaphie"] = "Adamantoise",
["AmiableRoche"] = "Pugil",
["SweetCaroline"] = "Mandragora",
["HeadbreakerKen"] = "Fly",
["AnklebiterJedd"] = "Diremite",
["CursedAnnabelle"] = "Antlion",
["BrainyWaluis"] = "Fungaur",
["SlimeFamiliar"] = "Slime",
["SultryPatrice"] = "Slime",
["GenerousArthur"] = "Slug",
["RedolentCandi"] = "Snapweed",
["AlluringHoney"] = "Snapweed",
["LynxFamiliar"] = "Coeurl",
["VivaciousGaston"] = "Coeurl",
["CaringKiyomaro"] = "Raaz",
["VivaciousVickie"] = "Raaz",
["SuspiciousAlice"] = "Eft",
["SurgingStorm"] = "Apkallu",
["SubmergedIyo"] = "Apkallu",
["WarlikePatrick"] = "Lizard",
["RhymingShizuna"] = "Sheep",
["BlackbeardRandy"] = "Tiger",
["ThreestarLynn"] = "Ladybug",
["HurlerPercival"] = "Beetle",
["AcuexFamiliar"] = "Acuex",
["FluffyBredo"] = "Acuex",
["WeevilFamiliar"] = "Ladybug",
["StalwartAngelina"] = "Ladybug",
["FleetReinhard"] = "Raptor",
["SharpwitHermes"] = "Mandragora",
["PorterCrabFamiliar"] = "Crab",
["JovialEdwin"] = "Crab",
["AttentiveIbuki"] = "Tulfaire",
["SwoopingZhviago"] = "Tulfaire",
["SunburstMalfik"] = "Crab",
["AgedAngus"] = "Crab",
["ScissorlegXerin"] = "Chapuli",
["BouncingBertha"] = "Chapuli",
["SpiderFamiliar"] = "Spider",
["GussyHachirobe"] = "Spider",
["ColibriFamiliar"] = "Colibri",
["ChoralLeera"] = "Colibri",
["DroopyDortwin"] = "Rabbit",
["PonderingPeter"] = "Rabbit",
["HeraldHenry"] = "Crab",
["HippogryphFamiliar"] = "Hippogryph",
["DaringRoland"] = "Hippogryph",
["MosquitoFamiliar"] = "Mosquito",
["Left-HandedYoko"] = "Mosquito",
["BraveHeroGlenn"] = "Frog",
["YellowBeetleFamiliar"] = "Beetle",
["EnergizedSefina"] = "Beetle",
}

monster_species = T {
["Rabbit"] = "Beast",
["Mandragora"] = "Plantoid",
["Crab"] = "Aquan",
["Sheep"] = "Beast",
["Frog"] = "Aquan",
["Flytrap"] = "Vermin",
["Tiger"] = "Beast",
["Eft"] = "Lizard",
["Fungaur"] = "Plantoid",
["Antlion"] = "Vermin",
["Beetle"] = "Vermin",
["Diremite"] = "Vermin",
["Pugil"] = "Aquan",
["Sabotender"] = "Plantoid",
["Apkallu"] = "Bird",
["Ladybug"] = "Vermin",
["Leech"] = "Amorph",
["Raptor"] = "Lizard",
["Hippogryph"] = "Bird",
["Coeurl"] = "Beast",
["Fly"] = "Insect",
["Adamantoise"] = "Aquan",
["Slug"] = "Amorph",
["Snapweed"] = "Plantoid",
["Raaz"] = "Beast",
["Acuex"] = "Amorph",
["Tulfaire"] = "Bird",
["Chapuli"] = "Vermin",
["Spider"] = "Vermin",
["Colibri"] = "Bird",
["Mosquito"] = "Vermin",
["Slime"] = "Aquan",
}

monster_family_killer = T {
["Beast"] = "Lizard",
["Lizard"] = "Vermin",
["Vermin"] = "Plantoid",
["Plantoid"] = "Beast",
["Aquan"] = "Amorph",
["Amorph"] = "Bird",
["Bird"] = "Aquan",

["Undead"] = "Arcana",
["Arcana"] = "Undead",
["Dragon"] = "Demon",
["Demon"] = "Dragon"
}
end

function get_pet_killer_trait(pet_name)
if pet_name and jugpet[pet_name] then
return monster_family_killer[monster_species[jugpet[pet_name]]] .. ' Killer'
end
end

define_jugpet_data()
Loading