Skip to content

Commit

Permalink
feat: update interface and include new lines
Browse files Browse the repository at this point in the history
  • Loading branch information
Gitaarwerk committed Jul 23, 2024
1 parent b89f9e1 commit 2243816
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
6 changes: 3 additions & 3 deletions Public/NurseNancy.toc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
## Title: Nurse Nancy
## Interface: 100207
## X-Min-Interface: 100207
## X-Future-Interface: 110002
## Interface: 110002
## X-Min-Interface: 110002
## X-Future-Interface: TBA
## Version: @project-version@
## Author: Darkrider - Dunemaul (EU)
## Notes: Tells in party, instance or raid who you are ressing
Expand Down
12 changes: 11 additions & 1 deletion Public/Src/NurseNancy/NurseNancy.lua
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,23 @@ function NurseNancy.NurseNancy.speakSelfRess(_, spellId)
end

local selfRessLines = {
"${playerName} back allright!",
"${playerName}'s back, allright!",
"I'm back by popular demand.",
"Hiiiiii, missed me?",
"I'm back, and I brought snacks!",
"Ha! Death can't keep me down for long!",
"Ha! Death can't keep me down for long!, probably not up either.",
"I knew I shouldn't have trusted that boss to kill me for good.",
"I'm like a cat, I always land on my feet. Even when I'm dead.",
"Well, that was a close one. I almost had to walk all the way back to my corpse.",
"I wasn't dead, I was just taking a really long nap.",
"I think I might have just broken a record for 'most times resurrected in one raid'."
}

if (playerRace == "Night Elf" or playerRace == "Blood Elf") then
table.insert(selfRessLines, "Like the night, I return. And I promise, no more moonlight serenades... for now.");
end

if (playerClass == "Shaman") then
table.insert(selfRessLines, "Nobody believed in Reincarnation. Well, here's the proof!'")
table.insert(selfRessLines,
Expand Down Expand Up @@ -318,9 +323,13 @@ function NurseNancy.NurseNancy.speakMassRess()
oppositeSex = "girls"
end

local zoneName = GetZoneText();


local pickedLine

local massRessLines = {
"Come to {zoneName} with us they said, it will be fun, they said",
"Wee-ooo! Wee-ooo! Wee-ooo! Wee-ooo! Wee-ooo! Wee-ooo... that's the best ambulance impression I can do.", -- Sueyen-Talnivarr, EU
"Oh hello juicy corpses.... Your bodies are still warm... hmmmm... hmm.",
"Death is the wish of some, the relief of many, and just a chore for me... *sigh*.",
Expand Down Expand Up @@ -388,6 +397,7 @@ function NurseNancy.NurseNancy.speakMassRess()
playerManWoman = playerManWoman,
playerGuyGirl = playerGuyGirl,
oppositeSex = oppositeSex,
zoneName = zoneName,
}
)
end
Expand Down

0 comments on commit 2243816

Please sign in to comment.