refactor tasks to be rewarded on monster death not on kill because on kill rewarded all players who does simple hit

This commit is contained in:
ErikasKontenis 2020-11-09 13:57:15 +02:00
parent 0666223787
commit 1d4e7413ea
83 changed files with 283 additions and 63 deletions

View File

@ -9,5 +9,5 @@
<event type="login" name="OfflineTraining" script="offlinetraining.lua" />
<!-- Killing In The Name Of Quest -->
<event type="kill" name="KillingInTheNameOfKills" script="killing_in_the_name_of.lua" />
<event type="death" name="KillingInTheNameOf" script="killing_in_the_name_of.lua" />
</creaturescripts>

View File

@ -84,56 +84,37 @@ local tasks = {
['orc'] = {taskerStorage = 17652, progressStorage = 17651, killsRequired = 50},
}
local function randomSort(arr)
local sorted = {}
local rand2
local rand
local mem
for i=1,#arr do
sorted[i] = arr[i]
end
if (#arr <= 1) then
return sorted;
end
for i=1,(#arr)^2 do
repeat
rand = math.random(1,#sorted)
rand2 = math.random(1,#sorted)
until rand ~= rand2
mem = sorted[rand]
sorted[rand] = pgtss[rand2]
sorted[rand2] = mem
end
return sorted
end
local maxPlayersInPartyShare = 2
-- not tested probably nothing is working
function onKill(player, target)
if target:isPlayer() or target:getMaster() then
function onDeath(creature, corpse, lasthitkiller, mostdamagekiller, lasthitunjustified, mostdamageunjustified)
if not creature:isMonster() or creature:getMaster() then
return true
end
local targetName = target:getName():lower()
local player = mostdamagekiller
if not mostdamagekiller:isPlayer() then
local master = mostdamagekiller:getMaster()
if master and master:isPlayer() then
player = master
else
return true
end
end
local targetName = creature:getName():lower()
local task = tasks[targetName]
if task ~= nil then
local players
local party = player:getParty()
if party ~= nil and party:isSharedExperienceEnabled() then
if party ~= nil and party:isSharedExperienceActive() then
players = party:getMembers() -- all members of the party
players[#players + 1] = party:getLeader() -- don't forget the leader
if #players > maxPlayersInPartyShare then -- if more than 4 players are in party than shuffle the table and give task bonus only for the first 4 players
players = randomSort(players)
end
else
players = { player } -- no party? then just the player
end
for i, member in ipairs(players) do
print(i)
if i < maxPlayersInPartyShare then
if i <= maxPlayersInPartyShare then
local inProgressQuest = member:getStorageValue(task.taskerStorage)
if inProgressQuest == task.progressStorage then
local playerQuestKills = member:getStorageValue(task.progressStorage)
@ -145,5 +126,5 @@ function onKill(player, target)
end
end
end
return true
return true
end

View File

@ -58,7 +58,6 @@ function onLogin(player)
player:registerEvent("PlayerLogout")
player:registerEvent("FirstItems")
player:registerEvent("RegenerateStamina")
player:registerEvent("KillingInTheNameOfKills")
return true
end

View File

@ -39,14 +39,17 @@
<voice sentence="Praise voodoo!" />
</voices>
<loot>
<item id="3085" chance="14" /><!-- dragon necklace -->
<item id="2843" chance="13" /><!-- book -->
<item id="5810" chance="14" /><!-- pirate voodoo doll -->
<item id="6088" chance="10" /><!-- music sheet -->
<item id="3282" chance="56" /><!-- morning star -->
<item id="3052" chance="9" /><!-- life ring -->
<item id="3031" countmax="40" chance="240" /><!-- gold coin -->
<item id="3032" chance="10" /><!-- small emerald -->
<item id="3065" chance="7" /><!-- terra rod -->
</loot>
<item id="3085" chance="14" /><!-- dragon necklace -->
<item id="2843" chance="13" /><!-- book -->
<item id="5810" chance="14" /><!-- pirate voodoo doll -->
<item id="6088" chance="10" /><!-- music sheet -->
<item id="3282" chance="56" /><!-- morning star -->
<item id="3052" chance="9" /><!-- life ring -->
<item id="3031" countmax="40" chance="240" /><!-- gold coin -->
<item id="3032" chance="10" /><!-- small emerald -->
<item id="3065" chance="7" /><!-- terra rod -->
</loot>
<script>
<event name="KillingInTheNameOf" />
</script>
</monster>

View File

@ -39,15 +39,18 @@
<summon name="Ghoul" chance="10" max="2" />
</summons>
<loot>
<item id="3053" chance="9" /><!-- time ring -->
<item id="5810" chance="19" /><!-- pirate voodoo doll -->
<item id="2843" chance="13" /><!-- book -->
<item id="3054" chance="15" /><!-- silver amulet -->
<item id="3031" countmax="60" chance="227" /><!-- gold coin -->
<item id="3311" chance="14" /><!-- clerical mace -->
<item id="6089" chance="10" /><!-- music sheet -->
<item id="3067" chance="7" /><!-- hailstorm rod -->
<item id="3566" chance="6" /><!-- red robe -->
<item id="3030" chance="7" /><!-- small ruby -->
</loot>
<item id="3053" chance="9" /><!-- time ring -->
<item id="5810" chance="19" /><!-- pirate voodoo doll -->
<item id="2843" chance="13" /><!-- book -->
<item id="3054" chance="15" /><!-- silver amulet -->
<item id="3031" countmax="60" chance="227" /><!-- gold coin -->
<item id="3311" chance="14" /><!-- clerical mace -->
<item id="6089" chance="10" /><!-- music sheet -->
<item id="3067" chance="7" /><!-- hailstorm rod -->
<item id="3566" chance="6" /><!-- red robe -->
<item id="3030" chance="7" /><!-- small ruby -->
</loot>
<script>
<event name="KillingInTheNameOf" />
</script>
</monster>

View File

@ -26,8 +26,11 @@
<immunity invisible="0" />
</immunities>
<loot>
<item id="3031" countmax="45" chance="187" /><!-- gold coin -->
<item id="3492" countmax="2" chance="22" /><!-- worm -->
<item id="3577" chance="100" /><!-- meat -->
</loot>
<item id="3031" countmax="45" chance="187" /><!-- gold coin -->
<item id="3492" countmax="2" chance="22" /><!-- worm -->
<item id="3577" chance="100" /><!-- meat -->
</loot>
<script>
<event name="KillingInTheNameOf" />
</script>
</monster>

View File

@ -60,4 +60,7 @@
<item id="3055" chance="6" /><!-- platinum amulet -->
<item id="2995" chance="5" /><!-- piggy bank -->
</loot>
<script>
<event name="KillingInTheNameOf" />
</script>
</monster>

View File

@ -45,4 +45,7 @@
<item id="3074" chance="11" /><!-- wand of vortex -->
<item id="5810" chance="10" /><!-- pirate voodoo doll -->
</loot>
<script>
<event name="KillingInTheNameOf" />
</script>
</monster>

View File

@ -36,4 +36,7 @@
<item id="5895" chance="10" /><!-- fish fin -->
<item id="3033" chance="9" /><!-- small amethyst -->
</loot>
<script>
<event name="KillingInTheNameOf" />
</script>
</monster>

View File

@ -49,4 +49,7 @@
<item id="5895" chance="10" /><!-- fish fin -->
<item id="3294" chance="70" /><!-- short sword -->
</loot>
<script>
<event name="KillingInTheNameOf" />
</script>
</monster>

View File

@ -58,4 +58,7 @@
<item id="3098" chance="8" /><!-- ring of healing -->
<item id="3370" chance="8" /><!-- knight armor -->
</loot>
<script>
<event name="KillingInTheNameOf" />
</script>
</monster>

View File

@ -64,4 +64,7 @@
<item id="3370" chance="8" /><!-- knight armor -->
<item id="5895" chance="15" /><!-- fish fin -->
</loot>
<script>
<event name="KillingInTheNameOf" />
</script>
</monster>

View File

@ -38,4 +38,7 @@
<item id="3265" chance="16" /><!-- two handed sword -->
<item id="3029" chance="5" /><!-- small sapphire -->
</loot>
<script>
<event name="KillingInTheNameOf" />
</script>
</monster>

View File

@ -48,4 +48,7 @@
<item id="3373" chance="6" /><!-- strange helmet -->
<item id="3567" chance="6" /><!-- blue robe -->
</loot>
<script>
<event name="KillingInTheNameOf" />
</script>
</monster>

View File

@ -45,4 +45,7 @@
<item id="3061" chance="10" /><!-- life crystal -->
<item id="5895" chance="10" /><!-- fish fin -->
</loot>
<script>
<event name="KillingInTheNameOf" />
</script>
</monster>

View File

@ -44,4 +44,7 @@
<item id="5895" chance="20" /><!-- fish fin -->
<item id="3381" chance="8" /><!-- crown armor -->
</loot>
<script>
<event name="KillingInTheNameOf" />
</script>
</monster>

View File

@ -36,4 +36,7 @@
<item id="3028" chance="9" /><!-- small diamond -->
<item id="5895" chance="9" /><!-- fish fin -->
</loot>
<script>
<event name="KillingInTheNameOf" />
</script>
</monster>

View File

@ -45,4 +45,7 @@
<item id="3581" chance="54" /><!-- shrimp -->
<item id="5895" chance="24" /><!-- fish fin -->
</loot>
<script>
<event name="KillingInTheNameOf" />
</script>
</monster>

View File

@ -28,4 +28,7 @@
<item id="5678" countmax="3" chance="10" /><!-- tortoise egg -->
<item id="3279" chance="10" /><!-- war hammer -->
</loot>
<script>
<event name="KillingInTheNameOf" />
</script>
</monster>

View File

@ -67,4 +67,7 @@
<item id="5668" chance="2" /><!-- mysterious voodoo skull -->
<item id="3155" countmax="8" chance="42" /><!-- sudden death rune -->
</loot>
<script>
<event name="KillingInTheNameOf" />
</script>
</monster>

View File

@ -62,4 +62,7 @@
<item id="3340" chance="4" /><!-- heavy mace -->
<item id="3342" chance="4" /><!-- war axe -->
</loot>
<script>
<event name="KillingInTheNameOf" />
</script>
</monster>

View File

@ -62,4 +62,7 @@
<item id="5668" chance="1" /><!-- mysterious voodoo skull -->
<item id="3342" chance="95" /><!-- war axe -->
</loot>
<script>
<event name="KillingInTheNameOf" />
</script>
</monster>

View File

@ -47,4 +47,7 @@
<item id="3071" chance="8" /><!-- wand of inferno -->
<item id="3010" chance="5" /><!-- emerald bangle -->
</loot>
<script>
<event name="KillingInTheNameOf" />
</script>
</monster>

View File

@ -39,4 +39,7 @@
<item id="3426" countmax="1" chance="50" /> <!-- a studded shield -->
<item id="2920" countmax="1" chance="50" /> <!-- a torch -->
</loot>
<script>
<event name="KillingInTheNameOf" />
</script>
</monster>

View File

@ -65,4 +65,7 @@
<item id="3033" countmax="4" chance="12" /> <!-- a small amethyst -->
<item id="3032" countmax="3" chance="6" /> <!-- a small emerald -->
</loot>
<script>
<event name="KillingInTheNameOf" />
</script>
</monster>

View File

@ -68,4 +68,7 @@
<item id="3004" countmax="1" chance="5" /> <!-- a wedding ring -->
<item id="3026" countmax="1" chance="10" /> <!-- a white pearl -->
</loot>
<script>
<event name="KillingInTheNameOf" />
</script>
</monster>

View File

@ -59,4 +59,7 @@
<item id="5893" countmax="1" chance="9" /> <!-- perfect behemoth fang -->
<item id="5930" countmax="1" chance="9" /> <!-- behemoth claw -->
</loot>
<script>
<event name="KillingInTheNameOf" />
</script>
</monster>

View File

@ -55,4 +55,7 @@
<item id="3114" countmax="1" chance="200" /> <!-- a skull -->
<item id="5925" countmax="1" chance="10" /> <!-- a hardened bone -->
</loot>
<script>
<event name="KillingInTheNameOf" />
</script>
</monster>

View File

@ -48,4 +48,7 @@
<item id="3738" countmax="1" chance="5" /> <!-- a sling herb -->
<item id="3738" countmax="1" chance="5" /> <!-- a sling herb -->
</loot>
<script>
<event name="KillingInTheNameOf" />
</script>
</monster>

View File

@ -30,4 +30,7 @@
<item id="3031" countmax="2" chance="850" /> <!-- a gold coin -->
<item id="3492" countmax="3" chance="500" /> <!-- a worm -->
</loot>
<script>
<event name="KillingInTheNameOf" />
</script>
</monster>

View File

@ -28,4 +28,7 @@
<item id="3559" countmax="1" chance="80" /> <!-- leather legs -->
<item id="3577" countmax="4" chance="700" /> <!-- meat -->
</loot>
<script>
<event name="KillingInTheNameOf" />
</script>
</monster>

View File

@ -40,4 +40,7 @@
<item id="3294" countmax="1" chance="80" /> <!-- a short sword -->
<item id="3012" countmax="1" chance="2" /> <!-- a wolf tooth chain -->
</loot>
<script>
<event name="KillingInTheNameOf" />
</script>
</monster>

View File

@ -81,4 +81,7 @@
<item id="5954" countmax="1" chance="100" /> <!-- a demon horn -->
<item id="5776" countmax="1" chance="1" /> <!-- a Sabrehaven talon -->
</loot>
<script>
<event name="KillingInTheNameOf" />
</script>
</monster>

View File

@ -39,4 +39,7 @@
<item id="3287" countmax="3" chance="100" /> <!-- a throwing star -->
<item id="2920" countmax="1" chance="500" /> <!-- a torch -->
</loot>
<script>
<event name="KillingInTheNameOf" />
</script>
</monster>

View File

@ -63,4 +63,7 @@
<item id="5877" countmax="1" chance="10" /> <!-- green dragon leather -->
<item id="5920" countmax="1" chance="10" /> <!-- green dragon scale -->
</loot>
<script>
<event name="KillingInTheNameOf" />
</script>
</monster>

View File

@ -64,4 +64,7 @@
<item id="5882" countmax="1" chance="18" /> <!-- red dragon scale -->
<item id="5948" countmax="1" chance="10" /> <!-- red dragon leather -->
</loot>
<script>
<event name="KillingInTheNameOf" />
</script>
</monster>

View File

@ -39,4 +39,7 @@
<item id="3723" countmax="1" chance="500" /> <!-- a white mushroom -->
<item id="5880" countmax="1" chance="7" /> <!-- iron ore -->
</loot>
<script>
<event name="KillingInTheNameOf" />
</script>
</monster>

View File

@ -53,4 +53,7 @@
<item id="3723" countmax="2" chance="600" /> <!-- a white mushroom -->
<item id="5880" countmax="1" chance="1" /> <!-- Iron Ore -->
</loot>
<script>
<event name="KillingInTheNameOf" />
</script>
</monster>

View File

@ -40,4 +40,7 @@
<item id="3723" countmax="2" chance="550" /> <!-- a white mushroom -->
<item id="5880" countmax="1" chance="8" /> <!-- iron ore -->
</loot>
<script>
<event name="KillingInTheNameOf" />
</script>
</monster>

View File

@ -42,4 +42,7 @@
<item id="3723" countmax="2" chance="400" /> <!-- a white mushroom -->
<item id="5880" countmax="1" chance="6" /> <!-- iron ore -->
</loot>
<script>
<event name="KillingInTheNameOf" />
</script>
</monster>

View File

@ -34,4 +34,7 @@
<item id="3130" countmax="1" chance="80" /> <!-- twigs -->
<item id="3412" countmax="1" chance="150" /> <!-- a wooden shield -->
</loot>
<script>
<event name="KillingInTheNameOf" />
</script>
</monster>

View File

@ -49,4 +49,7 @@
<item id="3336" countmax="1" chance="80" /> <!-- a studded club -->
<item id="3012" countmax="1" chance="2" /> <!-- a wolf tooth chain -->
</loot>
<script>
<event name="KillingInTheNameOf" />
</script>
</monster>

View File

@ -43,4 +43,7 @@
<item id="3049" countmax="1" chance="2" /> <!-- a stealth ring -->
<item id="5909" countmax="1" chance="8" /> <!-- white piece of cloth -->
</loot>
<script>
<event name="KillingInTheNameOf" />
</script>
</monster>

View File

@ -42,4 +42,7 @@
<item id="3492" countmax="6" chance="800" /> <!-- a worm -->
<item id="5913" countmax="1" chance="10" /> <!-- a brown piece of cloth -->
</loot>
<script>
<event name="KillingInTheNameOf" />
</script>
</monster>

View File

@ -49,4 +49,7 @@
<item id="3053" countmax="1" chance="7" /> <!-- a time ring -->
<item id="5879" countmax="1" chance="21" /> <!-- spider silk -->
</loot>
<script>
<event name="KillingInTheNameOf" />
</script>
</monster>

View File

@ -43,4 +43,7 @@
<item id="3462" countmax="1" chance="100" /> <!-- a small axe -->
<item id="1781" countmax="3" chance="300" /> <!-- a small stone -->
</loot>
<script>
<event name="KillingInTheNameOf" />
</script>
</monster>

View File

@ -63,4 +63,7 @@
<item id="3004" countmax="1" chance="50" /> <!-- a wedding ring -->
<item id="5911" countmax="1" chance="25" /> <!-- a red piece of cloth -->
</loot>
<script>
<event name="KillingInTheNameOf" />
</script>
</monster>

View File

@ -60,4 +60,7 @@
<item id="3081" countmax="1" chance="8" /> <!-- a stone skin amulet -->
<item id="3369" countmax="1" chance="10" /> <!-- a warrior helmet -->
</loot>
<script>
<event name="KillingInTheNameOf" />
</script>
</monster>

View File

@ -39,4 +39,7 @@
<item id="3084" countmax="1" chance="10" /> <!-- a protection amulet -->
<item id="5883" countmax="1" chance="8" /> <!-- ape fur -->
</loot>
<script>
<event name="KillingInTheNameOf" />
</script>
</monster>

View File

@ -28,4 +28,7 @@
<item id="3031" countmax="10" chance="350" /> <!-- a gold coin -->
<item id="3577" countmax="1" chance="300" /> <!-- meat -->
</loot>
<script>
<event name="KillingInTheNameOf" />
</script>
</monster>

View File

@ -73,4 +73,7 @@
<item id="3373" countmax="1" chance="5" /> <!-- a strange helmet -->
<item id="3026" countmax="1" chance="25" /> <!-- a white pearl -->
</loot>
<script>
<event name="KillingInTheNameOf" />
</script>
</monster>

View File

@ -42,4 +42,7 @@
<item id="5876" countmax="1" chance="9" /> <!-- lizard leather -->
<item id="5881" countmax="1" chance="9" /><!-- lizard scale -->
</loot>
<script>
<event name="KillingInTheNameOf" />
</script>
</monster>

View File

@ -57,4 +57,7 @@
<item id="5876" countmax="1" chance="9" /> <!-- lizard leather -->
<item id="5881" countmax="1" chance="9" /><!-- lizard scale -->
</loot>
<script>
<event name="KillingInTheNameOf" />
</script>
</monster>

View File

@ -39,4 +39,7 @@
<item id="5876" countmax="1" chance="10" /> <!-- lizard leather -->
<item id="5881" countmax="1" chance="10" /><!-- lizard scale -->
</loot>
<script>
<event name="KillingInTheNameOf" />
</script>
</monster>

View File

@ -54,4 +54,7 @@
<item id="3072" countmax="1" chance="10" /> <!-- a wand of plague -->
<item id="5883" countmax="1" chance="8" /> <!-- ape fur -->
</loot>
<script>
<event name="KillingInTheNameOf" />
</script>
</monster>

View File

@ -39,4 +39,7 @@
<item id="3264" countmax="1" chance="100" /> <!-- a sword -->
<item id="5878" countmax="1" chance="8" /> <!-- minotaur leather -->
</loot>
<script>
<event name="KillingInTheNameOf" />
</script>
</monster>

View File

@ -41,4 +41,7 @@
<item id="3375" countmax="1" chance="20" /> <!-- a soldier helmet -->
<item id="5878" countmax="1" chance="10" /> <!-- minotaur leather -->
</loot>
<script>
<event name="KillingInTheNameOf" />
</script>
</monster>

View File

@ -37,4 +37,7 @@
<item id="3577" countmax="1" chance="100" /> <!-- meat -->
<item id="5878" countmax="1" chance="10" /> <!-- minotaur leather -->
</loot>
<script>
<event name="KillingInTheNameOf" />
</script>
</monster>

View File

@ -53,4 +53,7 @@
<item id="3073" countmax="1" chance="5" /> <!-- a wand of cosmic energy -->
<item id="5878" countmax="1" chance="10" /> <!-- minotaur leather -->
</loot>
<script>
<event name="KillingInTheNameOf" />
</script>
</monster>

View File

@ -55,4 +55,7 @@
<item id="3294" countmax="1" chance="150" /> <!-- a short sword -->
<item id="3324" countmax="1" chance="1" /> <!-- a skull staff -->
</loot>
<script>
<event name="KillingInTheNameOf" />
</script>
</monster>

View File

@ -34,4 +34,7 @@
<item id="3376" countmax="1" chance="90" /> <!-- a studded helmet -->
<item id="3426" countmax="1" chance="100" /> <!-- a studded shield -->
</loot>
<script>
<event name="KillingInTheNameOf" />
</script>
</monster>

View File

@ -38,4 +38,7 @@
<item id="3582" countmax="1" chance="170" /> <!-- ham -->
<item id="2914" countmax="1" chance="80" /> <!-- a lamp -->
</loot>
<script>
<event name="KillingInTheNameOf" />
</script>
</monster>

View File

@ -47,4 +47,7 @@
<item id="3298" countmax="4" chance="100" /> <!-- a throwing knife -->
<item id="3369" countmax="1" chance="1" /> <!-- a warrior helmet -->
</loot>
<script>
<event name="KillingInTheNameOf" />
</script>
</monster>

View File

@ -43,4 +43,7 @@
<item id="2920" countmax="1" chance="80" /> <!-- a torch -->
<item id="3012" countmax="1" chance="100" /> <!-- a wolf tooth chain -->
</loot>
<script>
<event name="KillingInTheNameOf" />
</script>
</monster>

View File

@ -54,4 +54,7 @@
<item id="3289" countmax="1" chance="70" /> <!-- a staff -->
<item id="3072" countmax="1" chance="10" /> <!-- a wand of plague -->
</loot>
<script>
<event name="KillingInTheNameOf" />
</script>
</monster>

View File

@ -35,4 +35,7 @@
<item id="3376" countmax="1" chance="90" /> <!-- a studded helmet -->
<item id="3362" countmax="1" chance="100" /> <!-- studded legs -->
</loot>
<script>
<event name="KillingInTheNameOf" />
</script>
</monster>

View File

@ -55,4 +55,7 @@
<item id="3287" countmax="40" chance="300" /> <!-- a throwing star -->
<item id="3265" countmax="1" chance="20" /> <!-- a two handed sword -->
</loot>
<script>
<event name="KillingInTheNameOf" />
</script>
</monster>

View File

@ -35,4 +35,7 @@
<item id="3273" countmax="1" chance="500" /> <!-- a sabre -->
<item id="3412" countmax="1" chance="180" /> <!-- a wooden shield -->
</loot>
<script>
<event name="KillingInTheNameOf" />
</script>
</monster>

View File

@ -58,4 +58,7 @@
<item id="3727" countmax="1" chance="35" /> <!-- a wood mushroom -->
<item id="2948" countmax="1" chance="14" /> <!-- a wooden flute -->
</loot>
<script>
<event name="KillingInTheNameOf" />
</script>
</monster>

View File

@ -35,4 +35,7 @@
<item id="3426" countmax="1" chance="100" /> <!-- a studded shield -->
<item id="3244" countmax="1" chance="1000" /> <!-- an old backpack -->
</loot>
<script>
<event name="KillingInTheNameOf" />
</script>
</monster>

View File

@ -58,4 +58,7 @@
<item id="3394" countmax="1" chance="6" /> <!-- an amazon armor -->
<item id="3437" countmax="1" chance="4" /> <!-- an amazon shield -->
</loot>
<script>
<event name="KillingInTheNameOf" />
</script>
</monster>

View File

@ -25,4 +25,7 @@
<item id="3031" countmax="4" chance="700" /> <!-- a gold coin -->
<item id="3492" countmax="3" chance="500" /> <!-- a worm -->
</loot>
<script>
<event name="KillingInTheNameOf" />
</script>
</monster>

View File

@ -35,4 +35,7 @@
<item id="3264" countmax="1" chance="30" /> <!-- a sword -->
<item id="3492" countmax="5" chance="500" /> <!-- a worm -->
</loot>
<script>
<event name="KillingInTheNameOf" />
</script>
</monster>

View File

@ -77,4 +77,7 @@
<item id="3373" countmax="1" chance="6" /> <!-- a strange helmet -->
<item id="3428" countmax="1" chance="4" /> <!-- a tower shield -->
</loot>
<script>
<event name="KillingInTheNameOf" />
</script>
</monster>

View File

@ -45,4 +45,7 @@
<item id="1781" countmax="3" chance="300" /> <!-- a small stone -->
<item id="5883" countmax="1" chance="8" /> <!-- ape fur -->
</loot>
<script>
<event name="KillingInTheNameOf" />
</script>
</monster>

View File

@ -35,4 +35,7 @@
<item id="2920" countmax="1" chance="500" /> <!-- a torch -->
<item id="3367" countmax="1" chance="80" /> <!-- a viking helmet -->
</loot>
<script>
<event name="KillingInTheNameOf" />
</script>
</monster>

View File

@ -33,4 +33,7 @@
<item id="3552" countmax="1" chance="100" /> <!-- leather boots -->
<item id="2920" countmax="1" chance="150" /> <!-- a torch -->
</loot>
<script>
<event name="KillingInTheNameOf" />
</script>
</monster>

View File

@ -38,4 +38,7 @@
<item id="3351" countmax="1" chance="10" /> <!-- a steel helmet -->
<item id="3053" countmax="1" chance="1" /> <!-- a time ring -->
</loot>
<script>
<event name="KillingInTheNameOf" />
</script>
</monster>

View File

@ -39,4 +39,7 @@
<item id="3336" countmax="1" chance="50" /> <!-- a studded club -->
<item id="3412" countmax="1" chance="150" /> <!-- a wooden shield -->
</loot>
<script>
<event name="KillingInTheNameOf" />
</script>
</monster>

View File

@ -54,4 +54,7 @@
<item id="3373" countmax="1" chance="4" /> <!-- a strange helmet -->
<item id="3434" countmax="1" chance="1" /> <!-- a vampire shield -->
</loot>
<script>
<event name="KillingInTheNameOf" />
</script>
</monster>

View File

@ -82,4 +82,7 @@
<item id="3081" countmax="1" chance="5" /> <!-- a stone skin amulet -->
<item id="3034" countmax="1" chance="11" /> <!-- a talon -->
</loot>
<script>
<event name="KillingInTheNameOf" />
</script>
</monster>

View File

@ -29,4 +29,7 @@
<loot>
<item id="5902" countmax="1" chance="30" /> <!-- honeycomb -->
</loot>
<script>
<event name="KillingInTheNameOf" />
</script>
</monster>

View File

@ -25,4 +25,7 @@
<item id="3492" countmax="1" chance="100" /> <!-- a worm -->
<item id="5897" countmax="1" chance="8" /> <!-- wolf paw -->
</loot>
<script>
<event name="KillingInTheNameOf" />
</script>
</monster>