Skip to content

Commit

Permalink
Баффнул дракона
Browse files Browse the repository at this point in the history
  • Loading branch information
kanopus952 committed Oct 30, 2024
1 parent ec465a2 commit 0f1271f
Show file tree
Hide file tree
Showing 6 changed files with 32 additions and 9 deletions.
4 changes: 2 additions & 2 deletions Content.Server/Dragon/Components/DragonRiftComponent.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public sealed partial class DragonRiftComponent : SharedDragonRiftComponent
/// <summary>
/// The maximum amount we can accumulate before becoming impervious.
/// </summary>
[ViewVariables(VVAccess.ReadWrite), DataField("maxAccumuluator")] public float MaxAccumulator = 300f;
[ViewVariables(VVAccess.ReadWrite), DataField("maxAccumuluator")] public float MaxAccumulator = 200f;

/// <summary>
/// Accumulation of the spawn timer.
Expand All @@ -33,7 +33,7 @@ public sealed partial class DragonRiftComponent : SharedDragonRiftComponent
/// How long it takes for a new spawn to be added.
/// </summary>
[ViewVariables(VVAccess.ReadWrite), DataField("spawnCooldown")]
public float SpawnCooldown = 30f;
public float SpawnCooldown = 20f;

[ViewVariables(VVAccess.ReadWrite), DataField("spawn", customTypeSerializer: typeof(PrototypeIdSerializer<EntityPrototype>))]
public string SpawnPrototype = "MobCarpDragon";
Expand Down
12 changes: 9 additions & 3 deletions Resources/Prototypes/Entities/Mobs/Player/dragon.yml
Original file line number Diff line number Diff line change
Expand Up @@ -133,13 +133,13 @@
path: /Audio/Weapons/Xeno/alien_claw_flesh3.ogg
damage:
types:
Piercing: 15
Slash: 15
Piercing: 25 #Sunrise-edit
Slash: 25 #Sunrise-edit
- type: Devourer
foodPreference: Humanoid
shouldStoreDevoured: true
chemical: Ichor
healRate: 15.0
healRate: 20.0 #Sunrise-edit
whitelist:
components:
- MobState
Expand All @@ -159,6 +159,12 @@
- type: NightVision
isToggle: true
color: "#808080"
- type: Reflect
reflectProb: 0.25
spread: 45
- type: Damageable
damageContainer: Biological
damageModifierSet: Dragon
# Sunrise-End

- type: entity
Expand Down
7 changes: 7 additions & 0 deletions Resources/Prototypes/Entities/Structures/Specific/dragon.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,10 @@
- type: EmitSoundOnSpawn
sound:
path: /Audio/Weapons/Guns/Gunshots/rocket_launcher.ogg
#Sunrise-start
- type: Armor
modifiers:
coefficients:
Blunt: 0.70
Slash: 0.70
#Sunrise-end
2 changes: 1 addition & 1 deletion Resources/Prototypes/GameRules/events.yml
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@
weight: 6.5
earliestStart: 40
reoccurrenceDelay: 20
minimumPlayers: 20
minimumPlayers: 50 #Sunrise-edit
duration: null
- type: SpaceSpawnRule
spawnDistance: 0
Expand Down
8 changes: 8 additions & 0 deletions Resources/Prototypes/_Sunrise/Damage/modifier_sets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,11 @@
Piercing: 0.7
Heat: 0.7
Shock: 1.3

- type: damageModifierSet
id: Dragon
coefficients:
Blunt: 0.8
Slash: 0.8
Piercing: 0.8
Heat: 0.3
8 changes: 5 additions & 3 deletions Resources/Prototypes/explosion.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,9 +122,11 @@
id: FireBomb
damagePerIntensity:
types:
Heat: 1
Blunt: 2
Piercing: 3
#Sunrise-start
Heat: 20
# Blunt: 2
# Piercing: 3
#Sunrise-end
lightColor: Orange
texturePath: /Textures/Effects/fire.rsi
fireStates: 6
Expand Down

0 comments on commit 0f1271f

Please sign in to comment.