Skip to content

Commit 8a1d841

Browse files
committed
Added second pick
1 parent 3e5e143 commit 8a1d841

4 files changed

Lines changed: 54 additions & 0 deletions

File tree

1021 Bytes
Loading
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
[remap]
2+
3+
importer="texture"
4+
type="CompressedTexture2D"
5+
uid="uid://cbv2j4ysk3ydd"
6+
path="res://.godot/imported/Relic_SecondPick.png-0361bd1bad087f4d81be27c9c5b3fe2b.ctex"
7+
metadata={
8+
"vram_texture": false
9+
}
10+
11+
[deps]
12+
13+
source_file="res://Classes/Relics/Assets/Relic_SecondPick.png"
14+
dest_files=["res://.godot/imported/Relic_SecondPick.png-0361bd1bad087f4d81be27c9c5b3fe2b.ctex"]
15+
16+
[params]
17+
18+
compress/mode=0
19+
compress/high_quality=false
20+
compress/lossy_quality=0.7
21+
compress/hdr_compression=1
22+
compress/normal_map=0
23+
compress/channel_pack=0
24+
mipmaps/generate=false
25+
mipmaps/limit=-1
26+
roughness/mode=0
27+
roughness/src_normal=""
28+
process/fix_alpha_border=true
29+
process/premult_alpha=false
30+
process/normal_map_invert_y=false
31+
process/hdr_as_srgb=false
32+
process/hdr_clamp_exposure=false
33+
process/size_limit=0
34+
detect_3d/compress_to=1

Globals/Scribe.cs

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -408,6 +408,24 @@ e is BattleDirector.Harbinger.OnDamageInstanceArgs dmgArgs
408408
),
409409
}
410410
),
411+
new RelicTemplate(
412+
14,
413+
"Second Pick",
414+
Rarity.Uncommon,
415+
GD.Load<Texture2D>("res://Classes/Relics/Assets/Relic_SecondPick.png"),
416+
new RelicEffect[]
417+
{
418+
new RelicEffect(
419+
BattleEffectTrigger.NotePlaced,
420+
20,
421+
(e, self, val) =>
422+
{
423+
if (StageProducer.GlobalRng.RandiRange(1, 100) <= val)
424+
e.BD.NPB.IncreaseCharge(StageProducer.PlayerStats.MaxComboBar);
425+
}
426+
),
427+
}
428+
),
411429
};
412430

413431
public static readonly SongTemplate[] SongDictionary = new[] //Generalize and make pools for areas/room types

Globals/Translations/Translations.csv

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,8 @@ RELIC_LUCKYDICE_NAME,Lucky Dice,幸运骰子
8888
RELIC_LUCKYDICE_TOOLTIP,"Gain one reroll for reward selections.","获得一次奖励重选。"
8989
RELIC_SHORTCUT_NAME,Shortcut,捷径
9090
RELIC_SHORTCUT_TOOLTIP,"Can choose any path regardless of connections, but only once.","可无视路径连接选择任意路线,但仅限一次。"
91+
RELIC_SECONDPICK_NAME,Second Pick,备用拨片
92+
RELIC_SECONDPICK_TOOLTIP,"Placing a note has a 20% chance to instantly refill the combo bar.","每次演奏音符时,有20%的几率立即填满连击槽。"
9193
INVENTORY_TAB_NOTES,Notes,乐谱
9294
INVENTORY_TAB_RELICS,Relics,遗物
9395
OPTIONS_VOLUME_LABEL,Master Volume,最终音量设置

0 commit comments

Comments
 (0)