1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-05-28 15:01:53 +08:00
Files
Dog-Lynx-And-HCN/scripts/Tools/FieldStore.gd
T
fallingshrimp 4a66374e24 Add UI components for Feed and Item displays, including SVG resources
- Introduced FeedCard and FieldShow scenes with corresponding GDScript files for managing feed and item display.
- Added SVG resources for banana and baseball items.
- Updated ItemStore to include mappings for item types and names in Chinese.
- Enhanced FieldShow and ItemShow scripts to dynamically update UI elements based on exported properties.
- Implemented a new Feed class for structured feed data handling.
2025-08-26 18:09:04 +08:00

32 lines
577 B
GDScript

@tool
class_name FieldStore
enum Entity {
MAX_HEALTH,
DAMAGE_MULTIPILER,
MOVEMENT_SPEED,
ATTACK_SPEED,
CRIT_RATE,
CRIT_DAMAGE,
PENERATE
}
static var entityMap = {
Entity.MAX_HEALTH: "最大生命值",
Entity.DAMAGE_MULTIPILER: "伤害倍率",
Entity.MOVEMENT_SPEED: "移动速度",
Entity.ATTACK_SPEED: "攻击速度",
Entity.CRIT_RATE: "暴击率",
Entity.CRIT_DAMAGE: "暴击伤害",
Entity.PENERATE: "穿透"
}
enum Bullet {
SPEED,
DAMAGE,
PENERATE
}
static var bulletMap = {
Bullet.SPEED: "速度",
Bullet.DAMAGE: "伤害",
Bullet.PENERATE: "穿透"
}