-
Notifications
You must be signed in to change notification settings - Fork 49
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
[Exiled 9] The honored one😭 #133
base: dev
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe that this is a good changes (I didn't read all of them)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I need to talk with you about pickup change and the appearance restriction / code
/// <summary> | ||
/// Gets or sets the maximum radius of the grenade. | ||
/// </summary> | ||
public float MaxRadius | ||
{ | ||
get => Projectile.MaxRadius; | ||
set => Projectile.MaxRadius = value; | ||
} | ||
public float MaxRadius { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets the multiplier for damage against <see cref="Side.Scp"/> players. | ||
/// </summary> | ||
public float ScpDamageMultiplier | ||
{ | ||
get => Projectile.ScpDamageMultiplier; | ||
set => Projectile.ScpDamageMultiplier = value; | ||
} | ||
public float ScpDamageMultiplier { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets how long the <see cref="EffectType.Burned"/> effect will last. | ||
/// </summary> | ||
public float BurnDuration | ||
{ | ||
get => Projectile.BurnDuration; | ||
set => Projectile.BurnDuration = value; | ||
} | ||
public float BurnDuration { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets how long the <see cref="EffectType.Deafened"/> effect will last. | ||
/// </summary> | ||
public float DeafenDuration | ||
{ | ||
get => Projectile.DeafenDuration; | ||
set => Projectile.DeafenDuration = value; | ||
} | ||
public float DeafenDuration { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets how long the <see cref="EffectType.Concussed"/> effect will last. | ||
/// </summary> | ||
public float ConcussDuration | ||
{ | ||
get => Projectile.ConcussDuration; | ||
set => Projectile.ConcussDuration = value; | ||
} | ||
|
||
/// <summary> | ||
/// Gets or sets how long the fuse will last. | ||
/// </summary> | ||
public float FuseTime | ||
{ | ||
get => Projectile.FuseTime; | ||
set => Projectile.FuseTime = value; | ||
} | ||
public float ConcussDuration { get; set; } | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why ? This change would be needed ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I originally didn't want to change the Projectile API structure, but still came to the conclusion that storing prefabs for throwables was a bad idea from the point of view of all cases😭
And removing it and writing all the properties and their relations correctly, is much more safer
EXILED/Exiled.Events/Patches/Events/Scp939/ValidatingVisibility.cs
Outdated
Show resolved
Hide resolved
Why removing unitid argument? |
ok, when youll be free? |
EXILED/Exiled.Events/Patches/Events/Scp939/ValidatingVisibility.cs
Outdated
Show resolved
Hide resolved
On discord just dm me |
else | ||
{ | ||
// Doesn't really affect anything | ||
writer.WriteUShort(400); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's the zombie health show on client
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just think to a point where it wouldn't be useless is when the player is spectated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if possible some of your change could be integrated in Exiled 8
@@ -59,7 +59,7 @@ public static class Round | |||
/// <summary> | |||
/// Gets a value indicating whether the round is lobby or not. | |||
/// </summary> | |||
public static bool IsLobby => !(IsEnded || IsStarted); | |||
public static bool IsLobby => ReferenceHub.LocalHub != null && !(IsEnded || IsStarted); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
that useless change right ?
Description
Describe the changes
ChangeAppearance
, with posibility to change player appearance globaly/individualy/for specific teamSendingRole
as part of that API, for changing target role appearance for specific playerProjectile
API changes, it was a my mistake to create a grenade prefab for each item, i deleted that unsafe part, and created new cool methods, and reorganized others.Scp018
projectile states for activating it usingProjectile::Activate
IProjectileEvent
ChangedNickname
,ThrowingProjectile
,Scp079::LosingSignal
,Scp079::LostSignal
,Scp929::CreatedAmnesticCloudEventArgs
eventsPickupSyncInfo
nw equality check\Scp330
usingPlayer::AddItem(ItemType.Scp330)
Scp939::ValidatingVisibility
reworkPlayer::UseItem
logic rework(not destroying item, same for consumables)CopyProperties
fixWhat is the current behavior? (You can also link to an open issue here)
😭😭😭
What is the new behavior? (if this is a feature change)
📈📈📈
Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)
✅
Other information:
to lazy to write things like appearance api detailed, so in discord🤯
Types of changes
Submission checklist
Patches (if there are any changes related to Harmony patches)
Other