Skip to content

Commit

Permalink
Update a_dwarven_slave.pl
Browse files Browse the repository at this point in the history
Refactor
  • Loading branch information
TurmoilToad authored Jan 14, 2022
1 parent fdbdf51 commit 5eb75a1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crushbone/a_dwarven_slave.pl
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ sub EVENT_ITEM {
}
}
#:: Match a 10351 - Brass Earring
if (plugin::takeItems(10351 =>1)) {
elsif (plugin::takeItems(10351 =>1)) {
if ($npcrace == 8 && $npcgender == 0) {
quest::say("You killed the taskmaster?! Absolutely amazing! The orcs will be fighting among themselves for power now and I can disappear in the commotion. Thanks, friend! Take this for your deeds!");
#:: Give a 18905 - Worn Rune (Csb 1.O.U. Dwf 1)
Expand All @@ -75,7 +75,7 @@ sub EVENT_ITEM {
}
}
#:: Match a 20017 - Shackle Key 17
if (plugin::check_handin(\%itemcount, 20017 => 1)) {
elsif (plugin::takeItems(20017 => 1)) {
if ($npcrace == 8 && $npcgender == 1) {
quest::say("Good work!! I shall be on my way. Farewell my friend!!");
#:: Ding!
Expand Down

0 comments on commit 5eb75a1

Please sign in to comment.