Skip to content

Commit b2efcaf

Browse files
committed
santa is no longer immune to everything
1 parent b0fa3b0 commit b2efcaf

File tree

5 files changed

+17
-15
lines changed

5 files changed

+17
-15
lines changed

client/src/resources/abilityId.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,12 @@
155155
"role/politician/0": {
156156
"midnight": false
157157
},
158+
"role/santaClaus/0": {
159+
"midnight": true
160+
},
161+
"role/santaClaus/1": {
162+
"midnight": true
163+
},
158164
"role/scarecrow/0": {
159165
"midnight": true
160166
},

client/src/resources/lang/en_us.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -979,7 +979,7 @@
979979
"chatMessage.cultKillsNext": "The cult will attempt to sacrifice and kill someone tonight.",
980980
"chatMessage.addedToNiceList": "You've been good this year, so you have been added to the nice list.",
981981
"chatMessage.addedToNaughtyList": "You've been bad this year - you have been added to the naughty list.",
982-
"chatMessage.nextSantaAbility.nice": "Tonight you will add up to two people to the nice list.",
982+
"chatMessage.nextSantaAbility.nice": "Tonight you will add zer or one players to the nice list.",
983983
"chatMessage.nextSantaAbility.naughty": "Tonight you will add a player to the naughty list.",
984984
"chatMessage.nextKrampusAbility.kill": "Tonight you will attack someone and investigate them.",
985985
"chatMessage.nextKrampusAbility.doNothing": "Tonight you will investigate someone.",
@@ -1583,7 +1583,7 @@
15831583
"wiki.article.role.santaClaus.reminder": "Add players to the nice and naughty lists. You win when only nice players remain alive.",
15841584
"wiki.article.role.santaClaus.guide": "On odd nights: Select zero or one players to add to the nice list\n* This player retains their original win condition and gains the Nice List win condition.\n* Players on the nice list cannot be put on the naughty list.\n\nOn even nights: Select one player to add to the naughty list\n* This player retains their original win condition, and gains the Naughty List win condition.\n* Players on the Naughty list cannot be put on the nice list.",
15851585
"wiki.article.role.santaClaus.abilities":"- None",
1586-
"wiki.article.role.santaClaus.attributes":"* If you don't select a player to put on the naughty list, you visit a random player to be put on the naughty list.\n* You are a nice list loyalist\n* You are roleblock immune.\n* You are wardblock immune.\n* You have innocent aura.\n* You are not told whether you were successful in adding your target to the list.\n- You can't visit due to your own ability while dead, even if possessed.",
1586+
"wiki.article.role.santaClaus.attributes":"* If you don't select a player to put on the naughty list, you visit a random player to be put on the naughty list.\n* You are a nice list loyalist\n* You are not told whether you were successful in adding your target to the list.\n- You can't visit due to your own ability while dead, even if possessed.",
15871587
"wiki.article.role.santaClaus.extra":"* You can't add a player to both lists.\n* Visiting a player with independent win condition does nothing.",
15881588

15891589
"wiki.article.role.krampus.reminder": "Each night, investigate a player's role and win condition. Every odd night, select a player to attack them.",
@@ -1784,7 +1784,7 @@
17841784
"wiki.article.role.ojo.guide":"- You have multiple night abilities\n - Each night, select up to 2 outlines, for each outline, you are told what role generated from that outline\n - Each night except the first, select a role, you attack all players with that role\n - You see the role of all players who visit you, their role is revealed to you, this is a passive ability",
17851785
"wiki.article.role.ojo.abilities":"- You have multiple night abilities\n - Each night, select up to 2 outlines, for each outline, you are told what role generated from that outline\n - Each night except the first, select a role, you attack all players with that role\n - You see the role of all players who visit you, their role is revealed to you, this is a passive ability",
17861786
"wiki.article.role.ojo.attributes":"- If you are dead, you cant select to use your ability\n* If you are blocked, you have no ability\n* Your attack is an armor-piercing attack\n* You can't attack anybody on night 1",
1787-
"wiki.article.role.ojo.extra":"- Your attack ability works on the person you actually visited, so if a transporter transports a player you visit with someone else, you attack the other player, this only applies to the attack ability, not any other ability of yours\n- You wont visit dead players using your attack ability\n- You are immune to possession, but not wardblocks or roleblocks",
1787+
"wiki.article.role.ojo.extra":"- Your attack ability works on the person you actually visited, so if a transporter transports a player you visit with someone else, you attack the other player, this only applies to the attack ability, not any other ability of yours\n- You wont visit dead players using your attack ability",
17881788

17891789
"wiki.article.role.puppeteer.reminder": "Each night, select a player to either poison them or recruit them.",
17901790
"wiki.article.role.puppeteer.guide":"- You may choose to do one of the following\n - Select and poison a player\n - They are told they are poisoned, and then they are attacked the next night\n\n - Select a player to string up into a marionette\n - They are told they are strung up, and that they will win with fiends, regardless of their role\n - They attacked the following night, and every night until they die\n - They should try their hardest to help you and should NOT say they were strung up\n - At night all puppeteers and marionettes can chat in the puppeteer chat, even if dead\n - The players in the puppeteer chat that are dead can chat during the day or night",

client/src/resources/roles.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -875,8 +875,8 @@
875875
"santaClaus": {
876876
"mainRoleSet": "neutral",
877877
"roleSets": ["neutral"],
878-
"armor": true,
879-
"aura": "innocent",
878+
"armor": false,
879+
"aura": null,
880880
"maxCount": 1,
881881
"canWriteDeathNote": false,
882882
"canBeConvertedTo": [],

server/src/game/role/mod.rs

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -383,38 +383,34 @@ mod macros {
383383
impl Role{
384384
pub fn possession_immune(&self)->bool{
385385
match self {
386-
Role::TallyClerk
387386
| Role::Bouncer
388387
| Role::Veteran
389388
| Role::Transporter | Role::Retributionist
390389
| Role::Witch | Role::Doomsayer | Role::Scarecrow | Role::Warper
391-
| Role::MafiaWitch | Role::Necromancer
392-
| Role::Ojo => true,
390+
| Role::MafiaWitch | Role::Necromancer => true,
393391
_ => false,
394392
}
395393
}
396394
pub fn roleblock_immune(&self)->bool{
397395
match self {
396+
Role::Veteran | Role::Jester |
398397
Role::Bouncer |
399-
Role::Veteran |
400398
Role::Transporter | Role::Escort | Role::Retributionist |
401-
Role::Jester | Role::Witch | Role::Scarecrow | Role::Warper |
402-
Role::Hypnotist | Role::Consort | Role::MafiaWitch | Role::Necromancer |
403-
Role::SantaClaus => true,
399+
Role::Witch | Role::Scarecrow | Role::Warper |
400+
Role::Hypnotist | Role::Consort | Role::MafiaWitch | Role::Necromancer => true,
404401
_ => false,
405402
}
406403
}
407404
pub fn wardblock_immune(&self)->bool{
408405
match self {
409406
Role::Jailor | Role::Kidnapper |
410-
Role::Bouncer | Role::Scarecrow | Role::SantaClaus => true,
407+
Role::Bouncer | Role::Scarecrow => true,
411408
_ => false
412409
}
413410
}
414411
pub fn has_innocent_aura(&self, game: &Game)->bool{
415412
match self {
416413
Role::Godfather => true,
417-
Role::SantaClaus => true,
418414
Role::Pyrolisk => {
419415
game.day_number() == 1
420416
},

server/src/game/role/santa_claus.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ pub enum SantaListKind{
3232

3333

3434
pub(super) const MAXIMUM_COUNT: Option<u8> = Some(1);
35-
pub(super) const DEFENSE: DefensePower = DefensePower::Armor;
35+
pub(super) const DEFENSE: DefensePower = DefensePower::None;
3636

3737
impl RoleStateImpl for SantaClaus {
3838
type ClientRoleState = SantaClaus;

0 commit comments

Comments
 (0)