Skip to content

Commit

Permalink
Нерф дракона
Browse files Browse the repository at this point in the history
  • Loading branch information
kanopus952 committed Nov 2, 2024
1 parent b3aaa58 commit 1cf2699
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 12 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 = 200f;
[ViewVariables(VVAccess.ReadWrite), DataField("maxAccumuluator")] public float MaxAccumulator = 300f;

/// <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 = 20f;
public float SpawnCooldown = 30f;

[ViewVariables(VVAccess.ReadWrite), DataField("spawn", customTypeSerializer: typeof(PrototypeIdSerializer<EntityPrototype>))]
public string SpawnPrototype = "MobCarpDragon";
Expand Down
4 changes: 2 additions & 2 deletions Resources/Prototypes/Entities/Mobs/Player/dragon.yml
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,8 @@
path: /Audio/Weapons/Xeno/alien_claw_flesh3.ogg
damage:
types:
Piercing: 25 #Sunrise-edit
Slash: 25 #Sunrise-edit
Piercing: 15
Slash: 15
- type: Devourer
foodPreference: Humanoid
shouldStoreDevoured: true
Expand Down
22 changes: 14 additions & 8 deletions Resources/Prototypes/Entities/Structures/Specific/dragon.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,18 @@
anchored: true
- type: Physics
bodyType: Static
canCollide: false
canCollide: true
- type: Fixtures
fixtures:
fix1:
shape:
!type:PhysShapeAabb
bounds: "-0.25,-0.48,0.25,0.48"
density: 75
mask:
- MachineMask
layer:
- MachineLayer
- type: Sprite
layers:
- sprite: Structures/Specific/carp_rift.rsi
Expand All @@ -32,8 +42,8 @@
# only show after making the announcement at 50%
enabled: false
- type: Damageable
damageContainer: Inorganic
damageModifierSet: Metallic
damageContainer: Rift
damageModifierSet: Rift
- type: Destructible
thresholds:
- trigger:
Expand All @@ -46,9 +56,5 @@
sound:
path: /Audio/Weapons/Guns/Gunshots/rocket_launcher.ogg
#Sunrise-start
- type: Armor
modifiers:
coefficients:
Blunt: 0.70
Slash: 0.70
- type: DamageOverlay
#Sunrise-end
5 changes: 5 additions & 0 deletions Resources/Prototypes/_Sunrise/Damage/containers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,8 @@
- Heat
- Shock
- Caustic

- type: damageContainer
id: Rift
supportedGroups:
- Brute
7 changes: 7 additions & 0 deletions Resources/Prototypes/_Sunrise/Damage/modifier_sets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,10 @@
Slash: 0.8
Piercing: 0.8
Heat: 0.3

- type: damageModifierSet
id: Rift
coefficients:
Blunt: 0.6
Slash: 0.6
Piercing: 0.6

0 comments on commit 1cf2699

Please sign in to comment.