make draugrs Npcs flee at health below 100%,

trickster gear,
single spawns (trickster, dullahan),
This commit is contained in:
flo666 2022-10-20 21:53:38 +02:00
parent 1d98050f28
commit e1bd385408
3 changed files with 5 additions and 8 deletions

View File

@ -2,7 +2,7 @@
(
name: Name("Trickster"),
body: RandomWith("draugr"),
alignment: Alignment(Enemy),
alignment: Alignment(Npc),
loot: LootTable("common.loot_tables.calendar.halloween.trickster"),
inventory: (
loadout: Inline((
@ -16,9 +16,6 @@
(1, Item("common.items.weapons.tool.shovel-1")),
]), None)),
)),
items: [
(10, "common.items.consumable.potion_big"),
],
),
meta: [],
)

View File

@ -5,9 +5,8 @@ SpawnEntry (
Pack(
groups: [
(1, (1, 1, "common.entity.calendar.halloween.aggressive.halloween_harvester")),
(1, (4, 8, "common.entity.calendar.halloween.aggressive.halloween_dullahan")),
(1, (6, 10, "common.entity.calendar.halloween.aggressive.trickster")),
(3, (1, 1, "common.entity.calendar.halloween.aggressive.halloween_dullahan")),
(5, (1, 1, "common.entity.calendar.halloween.aggressive.trickster")),
],
spawn_mode: Land,
calendar_events: Some([Halloween]),

View File

@ -228,7 +228,8 @@ impl<'a> From<&'a Body> for Psyche {
humanoid::Species::Elf => 0.4,
humanoid::Species::Human => 0.4,
humanoid::Species::Orc => 0.3,
humanoid::Species::Draugr => 0.3,
// set back to 0.3 after halloween event
humanoid::Species::Draugr => 1.0,
},
Body::QuadrupedSmall(quadruped_small) => match quadruped_small.species {
quadruped_small::Species::Pig => 0.5,