Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

deactivate decay?

Closed 1.0.2 1.0.3

same here, i use that plugin and it stops the damage. and it is decay damage "internal server code"

	public void TrapWildlife(global::TrappableWildlife trapped)
		global::Item item = global::ItemManager.Create(trapped.inventoryObject, Random.Range(trapped.minToCatch, trapped.maxToCatch + 1), 0UL);
		if (!item.MoveToContainer(this.inventory, -1, true))
			base.SetFlag(global::BaseEntity.Flags.Reserved1, true, false, true);
		this.Hurt(this.StartMaxHealth() * 0.1f, Rust.DamageType.Decay, null, false);


Share this comment

Link to comment

About Us

Codefling is a forward-thinking platform for developers to share and monetize their work from plugins to game assets and everything in-between.

7,043 files sold to 629 customers and $102,020 of payments processed this year!

  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.