11000+款5星资源

8.5万+用户参与评分

10万+社区成员鼎力支持

每款资源都经过 Unity 审核

首页
工具
游戏工具
1/6
Deep Stats is a high performance, highly flexible Stat and Modifier authoring system, written using Burst with an allocation free runtime.
可编程渲染管线(SRP)兼容性
Unity可编程渲染管线(SRP)是让您能够通过C#脚本控制渲染的一个功能。SRP是支撑通用渲染管线(URP)和高清渲染管线(HDRP)的底层技术。
Unity版本内置渲染管线通用渲染管线(URP)高清渲染管线(HDRP)
2022.3.39f1
兼容
兼容
兼容
其他兼容性信息

Requires Unity 2022 and above. Otherwise it is a scripting asset and has no dependencies on any specific rendering pipeline. Tested in Unity 2022.3.39f and Unity 6000.35f1.

描述

DeepStats is a simple, intuitive Stat and Modifier system that can be used in almost any type of game. Utilise a convenient editor workflow to author your custom stat system, design interesting modifiers with a powerful inspector, then perform extremely fast stat calculations with a highly optimised, Burst compiled library.


Who is DeepStats for?

DeepStats is designed for programmers or independent game developers who have some basic programming knowledge. It is meant to be used as the backbone of any numerical systems in your game so you must be able to integrate it by adding it to your own scripts and calling a relatively simple API. After integration, DeepStats can be used by designers as most of the authoring tools are available in the Unity Editor.


Stats in DeepStats do not do anything on their own, it is up to you to program their specific behaviors and hook them into your gameplay.


Features:

  • Scale Stats in a wide variety of ways with an easy to use custom inspector for Modifiers.
  • Apply Modifiers conditionally using a high performance Tag system to check for requirements on yourself or a target or both (eg. Sword Damage against Undead).
  • Scale individual Modifiers using the Scaler system, allowing you to hook your own gameplay into DeepStats to create interesting Modifiers (eg. +5 Damage for each nearby enemy).
  • Create advanced Modifiers that interact between Stat Types, such as Stat Value conversions, Tag conversions, Modifier Type conversions and many more.
  • Support for both single stat values and stat ranges between a min and max.
  • Endlessly composable: DeepStats can inherit values from other DeepStats, to allow you to chain stats together and apply scaling at each step (Eg. Give Stats and Modifiers to Weapons, then scale them again by the Players own Modifiers).
  • Simple and intuitive programming API for easy integration into your own code.
  • Core calculations are written in Burst and carefully applied `unsafe` C# code for maximum performance.
  • Code generation is used to provide a simple interface to access your custom DeepStats types in your own code. Author the types of your stat system with ScriptableObjects, then generate code and access them using enums.
  • Multiple demo scenes are available for examples of ways to utilise DeepStats.
  • Comprehensive documentation available.

DeepStats is perfect for creating complex stat systems for an ARPG like Path of Exile, Diablo, Survivors-type games like Vampire Survivors. It is also flexible and fast enough for any other genre that uses dynamic numbers in gameplay such as RTS, RPG and many more.


Usage Documentation | Github Bugs and Feature Requests


技术细节

Contents:


11 different core Modifier types available

  • Basic Types
    • Add
      • + 10 damage
    • SumMultiply
      • +20% chance to evade
    • ProductMultiply
      • 1.5x fire damage
  • Advanced Types
    • AddedAs
      • 20% of ice damage is added as fire damage
    • ConvertedTo
      • 50% of armour rating is converted into evasion rating
    • ModifiersAlsoApplyToStat
      • 50% of additions to armour rating also apply to evasion rating
    • ConvertSelfTags
      • 20% of minion attack speed also applies to players
    • ConvertTargetTags,
      • 50% of your bonus damage against undead also applies against ghost enemies
  • Secondary Modifiers
    • Add, SumMultiply and ProductMultiply type modifiers can optionally be applied after all other modifiers, allowing for second order operations that can be used to create unique combinations.

A customisable and extendable Tag system

  • Configure Tags to be applied to instances in your game.
  • Modifiers can check for Tags on the source or target, to conditionally apply buffs and bonuses when specific conditions are met.
    • +20 armour when wielding a staff
    • 20% increased damage for minions
    • 2x damage against undead enemies

A customisable and extendable Scaler system

  • Configure Scalers which each instance in your game has a set of.
  • Modifiers can check for Scalers on the source or target to scale the magnitude of the modification, so you can create gameplay driven Modifiers.
    • +5 damage for each nearby enemy
    • 1.5x movement speed if hit recently
    • 20% increased poison damage for each poison on target

A Simple but Flexible API

  • Modifier collections can be shared to multiple DeepStats instances, so you can easily apply the same set of Modifiers to multiple instances in your game.
    • Create zone modifiers.
    • Share your player passives between yourself and your minions.
  • DeepStats instances can inherit stats from other DeepStats instances.
    • Add stats to equipment in your game. The final stats of the equipment forms the base stats of your player.

DeepStats - Highly Flexible, High Performance Stat System

(3)
35 users have favourite this asset
(35)
$19.99
席位
1
更新的价格和增值税在结算时计算
退款政策
该资源受Unity资源商店退款政策约束。有关详细信息,请参见《最终用户许可协议》(EULA)中的第2.9.3节。
安全结账方式:
Supported payment methods: Visa, Mastercard, Maestro, Paypal, Amex
许可证类型
文件大小
1010.2 KB
最新版本
1.1.0
最新发布日期
2025年3月31日
原始 Unity 版本
2022.3.39
高品质资源
11000+款5星资源
深受用户信赖
8.5万+用户参与评分
强大的社区支持
10万+社区成员鼎力支持
Unity logo
语言
反馈
合作伙伴计划
合作伙伴
USD
EUR
Copyright © 2025 Unity Technologies
所有价格不包含税
USD
EUR
DeepStats - Highly Flexible, High Performance Stat System
$19.99