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

fix: quests from version 11 revised #2938

Merged
merged 76 commits into from
Oct 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
76 commits
Select commit Hold shift + click to select a range
f05de75
Fix: ferumbras Ascendant Quest - review 10
htc16 Oct 3, 2024
e001b9a
More Fix: ferumbras Ascendant Quest - review 10
htc16 Oct 3, 2024
616b1bb
Fix: mission 02 of The Djinn War Quest, Efreet Faction (Green Djinns)…
htc16 Oct 3, 2024
a07880a
Fix: Barbarian Test - review 8
htc16 Oct 3, 2024
e07171b
Festive Outfits Quest and The First Dragon Quest
htc16 Oct 3, 2024
1681bbf
Lua code format - (Stylua)
github-actions[bot] Oct 3, 2024
0460de4
More Fix: ferumbras Ascendant Quest - review 10
htc16 Oct 4, 2024
977f8b5
Fix Bosslever system
htc16 Oct 5, 2024
a1be8af
Lua code format - (Stylua)
github-actions[bot] Oct 5, 2024
77eec06
More Fix: ferumbras Ascendant Quest - review 10
htc16 Oct 5, 2024
57b250d
Lua code format - (Stylua)
github-actions[bot] Oct 5, 2024
7e83fd9
Forgotten Knowledge Quest
htc16 Oct 7, 2024
773e292
Lua code format - (Stylua)
github-actions[bot] Oct 7, 2024
9b9685e
Cults of Tibia Quest
htc16 Oct 10, 2024
527fe6a
Lua code format - (Stylua)
github-actions[bot] Oct 10, 2024
6eae658
Update storages.lua
htc16 Oct 10, 2024
2ba6751
Threatened Dreams Quest
htc16 Oct 10, 2024
aaeaca5
Dangerous Depths Quest
htc16 Oct 13, 2024
4c4a08f
Lua code format - (Stylua)
github-actions[bot] Oct 13, 2024
affa57e
Makeshift Warrior Outfits Quest
htc16 Oct 13, 2024
c3e111b
Update storages.lua
htc16 Oct 13, 2024
6a2c399
Merge branch 'main' into Review-Quests-V12
murilo09 Oct 14, 2024
92c0fa2
The Secret Library Quest - part 1
htc16 Oct 14, 2024
27842ab
Lua code format - (Stylua)
github-actions[bot] Oct 14, 2024
a20769a
more
htc16 Oct 15, 2024
fdaad86
The Secret Library Quest - part 1
htc16 Oct 15, 2024
9da503a
Merge branch 'Review-Quests-V12' of https://github.com/htc16/canary i…
htc16 Oct 15, 2024
de8bd5f
The Secret Library Quest - more
htc16 Oct 15, 2024
1be924d
Lua code format - (Stylua)
github-actions[bot] Oct 15, 2024
0e08c51
The Secret Library Quest - more
htc16 Oct 16, 2024
2cd367c
Lua code format - (Stylua)
github-actions[bot] Oct 16, 2024
48c4de2
The Secret Library Quest - more
htc16 Oct 16, 2024
ed9add2
Lua code format - (Stylua)
github-actions[bot] Oct 16, 2024
ec0ec38
The Secret Library Quest - more
htc16 Oct 16, 2024
30de131
The Secret Library - quest log
htc16 Oct 16, 2024
f2e6d49
Lua code format - (Stylua)
github-actions[bot] Oct 16, 2024
ffa8595
Update quests.lua
htc16 Oct 16, 2024
a8221f5
Update quests.lua
htc16 Oct 16, 2024
603f55b
@omarcopires
htc16 Oct 16, 2024
09be97f
Merge branch 'main' into Review-Quests-V12
majestyotbr Oct 16, 2024
b1ff27a
The Secret Library Quest - Liquid Death
htc16 Oct 16, 2024
e7a633d
Lua code format - (Stylua)
github-actions[bot] Oct 16, 2024
381d00f
The Secret Library Quest - Bursting at the Seams
htc16 Oct 17, 2024
34f0411
Lua code format - (Stylua)
github-actions[bot] Oct 17, 2024
21e6adc
The Secret Library Quest - The Lament
htc16 Oct 19, 2024
1db20ba
Lua code format - (Stylua)
github-actions[bot] Oct 19, 2024
e3b5496
The Secret Library Quest - The Order of the Falcon
htc16 Oct 22, 2024
e8db3b3
Lua code format - (Stylua)
github-actions[bot] Oct 22, 2024
e2a842c
The Secret Library Quest - The Path of Defiances
htc16 Oct 22, 2024
cd8a1c8
Lua code format - (Stylua)
github-actions[bot] Oct 22, 2024
f3fa6ef
The Secret Library Quest - High and Dry
htc16 Oct 22, 2024
152c02e
Lua code format - (Stylua)
github-actions[bot] Oct 22, 2024
1e174c0
The Secret Library Quest - The Veiled Hoard of Zathroth
htc16 Oct 22, 2024
bb5ccba
Lua code format - (Stylua)
github-actions[bot] Oct 22, 2024
a9c2c82
The Secret Library Quest - The Secret Library: Bosses - 1º Part
htc16 Oct 22, 2024
7ebef3b
Merge branch 'Review-Quests-V12' of https://github.com/htc16/canary i…
htc16 Oct 22, 2024
9af8d53
The Secret Library Quest - Addons and more
htc16 Oct 22, 2024
d5859ee
Merge branch 'main' into Review-Quests-V12
murilo09 Oct 22, 2024
8d842dd
Update door_quest.lua
htc16 Oct 23, 2024
4b57c4e
Ferumbras Ascension - Levers
htc16 Oct 23, 2024
e116471
Lua code format - (Stylua)
github-actions[bot] Oct 23, 2024
6955154
Update actions_zamulosh.lua
htc16 Oct 23, 2024
e7115dd
Merge branch 'Review-Quests-V12' of https://github.com/htc16/canary i…
htc16 Oct 23, 2024
64ff86d
Ferumbras Ascension - Levers - final
htc16 Oct 23, 2024
2e48c05
Update actions_ragiaz.lua
htc16 Oct 23, 2024
c432996
Lua code format - (Stylua)
github-actions[bot] Oct 23, 2024
d7d1e7c
Update actions_razzagorn.lua
htc16 Oct 23, 2024
ccc3c49
Lua code format - (Stylua)
github-actions[bot] Oct 23, 2024
7621cac
Forgotten Knowledge Quest - new levers
htc16 Oct 23, 2024
421107e
Lua code format - (Stylua)
github-actions[bot] Oct 23, 2024
d3e27a9
Update actions_the_time_guardian.lua
htc16 Oct 23, 2024
7b0f3c4
Update actions_frozen_horror.lua
htc16 Oct 23, 2024
66d23b5
Merge branch 'main' into Review-Quests-V12
murilo09 Oct 29, 2024
6835cb2
crystal IDs - Ferumbras lever
htc16 Oct 30, 2024
25b6c4e
Merge remote-tracking branch 'upstream/main' into Review-Quests-V11
htc16 Oct 30, 2024
253495f
Merge branch 'main' into Review-Quests-V12
majestyotbr Oct 30, 2024
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
208 changes: 154 additions & 54 deletions data-otservbr-global/lib/core/quests.lua

Large diffs are not rendered by default.

656 changes: 354 additions & 302 deletions data-otservbr-global/lib/core/storages.lua

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions data-otservbr-global/monster/bosses/the_book_of_death.lua
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ monster.corpse = 0
monster.speed = 39
monster.manaCost = 0

monster.events = {
"ghuloshDeath",
}

monster.changeTarget = {
interval = 5000,
chance = 8,
Expand Down
126 changes: 126 additions & 0 deletions data-otservbr-global/monster/bosses/the_flaming_orchid.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,126 @@
local mType = Game.createMonsterType("The Flaming Orchid")
local monster = {}

monster.description = "a flaming orchid"
monster.experience = 8500
monster.outfit = {
lookType = 150,
lookHead = 114,
lookBody = 94,
lookLegs = 78,
lookFeet = 79,
lookAddons = 1,
lookMount = 0,
}

monster.health = 4000
monster.maxHealth = 4000
monster.race = "blood"
monster.corpse = 21987 -- review later
monster.speed = 210
monster.manaCost = 0

monster.events = {
"killingLibrary",
}

monster.changeTarget = {
interval = 4000,
chance = 10,
}

monster.strategiesTarget = {
nearest = 100,
}

monster.flags = {
summonable = false,
attackable = true,
hostile = true,
convinceable = false,
pushable = false,
rewardBoss = false,
illusionable = true,
canPushItems = true,
canPushCreatures = true,
staticAttackChance = 80,
targetDistance = 1,
runHealth = 0,
healthHidden = false,
isBlockable = false,
canWalkOnEnergy = true,
canWalkOnFire = true,
canWalkOnPoison = true,
}

monster.light = {
level = 0,
color = 0,
}

monster.voices = {
interval = 2000,
chance = 7,
{ text = "I will end your torment. Do not run, little mortal.", yell = true },
{ text = "*SNIFF* *SNIFF* BLOOD! I CAN SMELL YOU, MORTAL!!", yell = true },
}

monster.loot = {
{ name = "gold coin", chance = 100000, maxCount = 250 },
{ name = "platinum coin", chance = 9240, maxCount = 10 },
{ id = 3039, chance = 18200 }, -- red gem
{ name = "gold ingot", chance = 29700, maxCount = 5 },
{ name = "assassin star", chance = 29700, maxCount = 13 },
{ name = "demonic essence", chance = 330 },
{ name = "great spirit potion", chance = 330 },
{ name = "soul orb", chance = 19530 },
{ name = "small amethyst", chance = 8310, maxCount = 2 },
{ name = "small amethyst", chance = 8310, maxCount = 2 },
{ name = "ultimate health potion", chance = 700, maxCount = 4 },
{ name = "golden lotus brooch", chance = 19740 },
{ name = "green gem", chance = 15780 },
{ name = "magma coat", chance = 1050 },
{ name = "moonlight rod", chance = 1050 },
{ name = "necrotic rod", chance = 1050 },
{ name = "oriental shoes", chance = 490 },
{ name = "peacock feather fan", chance = 16870 },
}

monster.attacks = {
{ name = "melee", interval = 2000, chance = 100, minDamage = 0, maxDamage = -25 },
{ name = "combat", interval = 1000, chance = 10, type = COMBAT_DEATHDAMAGE, minDamage = -400, maxDamage = -700, range = 7, effect = CONST_ANI_DEATH, target = true },
{ name = "Ignite", interval = 2000, chance = 20, range = 7, radius = 1, target = true, shootEffect = CONST_ANI_FIRE },
{ name = "big death wave", interval = 4000, chance = 18, minDamage = 0, maxDamage = -500 }, -- review later
{ name = "aggressivelavawave", interval = 5000, chance = 19, minDamage = 0, maxDamage = -200 }, -- review later
{ name = "combat", interval = 6000, chance = 20, type = COMBAT_FIREDAMAGE, range = 5, radius = 7, target = true, minDamage = -100, maxDamage = -250, shootEffect = CONST_ANI_FIRE, effect = CONST_ME_FIREAREA, target = false },
}

monster.defenses = {
defense = 55,
armor = 55,
{ name = "combat", interval = 2000, chance = 15, type = COMBAT_HEALING, minDamage = 50, maxDamage = 280, effect = CONST_ME_MAGIC_BLUE, target = false },
{ name = "speed", interval = 2000, chance = 15, speedChange = 320, duration = 5000, areaEffect = CONST_ME_MAGIC_RED },
{ name = "invisible", interval = 1000, chance = 100, duration = 10000, areaEffect = CONST_ME_MAGIC_BLUE },
}

monster.elements = {
{ type = COMBAT_PHYSICALDAMAGE, percent = 0 },
{ type = COMBAT_ENERGYDAMAGE, percent = 0 },
{ type = COMBAT_EARTHDAMAGE, percent = 0 },
{ type = COMBAT_FIREDAMAGE, percent = 0 },
{ type = COMBAT_LIFEDRAIN, percent = 0 },
{ type = COMBAT_MANADRAIN, percent = 0 },
{ type = COMBAT_DROWNDAMAGE, percent = 0 },
{ type = COMBAT_ICEDAMAGE, percent = 0 },
{ type = COMBAT_HOLYDAMAGE, percent = 0 },
{ type = COMBAT_DEATHDAMAGE, percent = 0 },
}

monster.immunities = {
{ type = "paralyze", condition = true },
{ type = "outfit", condition = false },
{ type = "invisible", condition = true },
{ type = "bleed", condition = false },
}

mType:register(monster)
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,6 @@ monster.outfit = {
lookMount = 0,
}

monster.events = {
"GlowingRubbishAmuletDeath",
}

monster.raceId = 1412
monster.Bestiary = {
class = "Humanoid",
Expand Down Expand Up @@ -49,6 +45,10 @@ monster.strategiesTarget = {
random = 10,
}

monster.events = {
"GlowingRubbishAmuletDeath",
}

monster.flags = {
summonable = false,
attackable = true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,6 @@ monster.outfit = {
lookMount = 0,
}

monster.events = {
"GlowingRubbishAmuletDeath",
}

monster.health = 3000
monster.maxHealth = 3000
monster.race = "blood"
Expand All @@ -36,6 +32,10 @@ monster.strategiesTarget = {
random = 10,
}

monster.events = {
"GlowingRubbishAmuletDeath",
}

monster.flags = {
summonable = false,
attackable = true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@ monster.strategiesTarget = {
random = 10,
}

monster.events = {
"GlowingRubbishAmuletDeath",
}

monster.flags = {
summonable = false,
attackable = true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ monster.corpse = 2983
monster.speed = 55
monster.manaCost = 0

monster.events = {
"AngryPlantDeath",
}

monster.changeTarget = {
interval = 2000,
chance = 5,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ monster.corpse = 775
monster.speed = 150
monster.manaCost = 0

monster.events = {
"FallenDeath",
}

monster.changeTarget = {
interval = 5000,
chance = 8,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ monster.corpse = 0
monster.speed = 125
monster.manaCost = 0

monster.events = {
"DragonEssenceDeath",
}

monster.changeTarget = {
interval = 2000,
chance = 5,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ monster.flags = {
}

monster.events = {
"Somewhat Beatable Death",
"SomewhatBeatableDeath",
}

monster.light = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ monster.corpse = 28635
monster.speed = 105
monster.manaCost = 0

monster.events = {
"killingLibrary",
}

monster.changeTarget = {
interval = 1000,
chance = 10,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ monster.outfit = {
}

monster.events = {
"SecretLibraryBossDeath",
"ghuloshThink",
}

monster.bosstiary = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ monster.outfit = {
}

monster.events = {
"SecretLibraryBossDeath",
"gorzindelHealth",
}

monster.bosstiary = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ monster.speed = 105
monster.manaCost = 0

monster.events = {
"GrandCanonDominusDeath",
"killingLibrary",
}

monster.changeTarget = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ monster.speed = 105
monster.manaCost = 0

monster.events = {
"GrandChaplainGaunderDeath",
"killingLibrary",
}

monster.changeTarget = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ monster.speed = 105
monster.manaCost = 0

monster.events = {
"GrandCommanderSoerenDeath",
"killingLibrary",
}

monster.changeTarget = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@ monster.corpse = 28625
monster.speed = 115
monster.manaCost = 0

monster.events = {
"killingLibrary",
"oberonImmune",
}

monster.changeTarget = {
interval = 4000,
chance = 10,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ monster.speed = 105
monster.manaCost = 0

monster.events = {
"PreceptorLazareDeath",
"killingLibrary",
}

monster.changeTarget = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ monster.corpse = 28601
monster.speed = 175
monster.manaCost = 0

monster.events = {
"ghuloshDeath",
}

monster.changeTarget = {
interval = 5000,
chance = 8,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ monster.speed = 175
monster.manaCost = 0

monster.events = {
"DazedLeafGolemDeath",
"killingLibrary",
}

monster.changeTarget = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ monster.outfit = {
}

monster.events = {
"SecretLibraryBossDeath",
"lokathmorDeath",
}

monster.bosstiary = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ monster.outfit = {
}

monster.events = {
"SecretLibraryBossDeath",
"mazzinorDeath",
"mazzinorHealth",
}

monster.bosstiary = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ monster.corpse = 0
monster.speed = 75
monster.manaCost = 0

monster.events = {
"gorzindelDeath",
}

monster.changeTarget = {
interval = 5000,
chance = 8,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ monster.corpse = 0
monster.speed = 75
monster.manaCost = 0

monster.events = {
"gorzindelDeath",
}

monster.changeTarget = {
interval = 5000,
chance = 8,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ monster.corpse = 0
monster.speed = 75
monster.manaCost = 0

monster.events = {
"gorzindelDeath",
}

monster.changeTarget = {
interval = 5000,
chance = 8,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ monster.corpse = 0
monster.speed = 75
monster.manaCost = 0

monster.events = {
"gorzindelDeath",
}

monster.changeTarget = {
interval = 5000,
chance = 8,
Expand Down
Loading
Loading