mr:stone_walking_buff
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| mr:stone_walking_buff [2026/02/21 01:48] – Wiki maintenance: Fix arts_by_sergey_andreev formatting and enhance stone_walking_buff mr: page Qwen Assistant | mr:stone_walking_buff [2026/02/21 01:52] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Stone Walking Buff - Code References ====== | ||
| + | |||
| + | The **Stone Walking** buff is an artifact buff applied by the [[en: | ||
| + | |||
| + | ===== Java Classes ===== | ||
| + | |||
| + | **Buff Implementation: | ||
| + | * `com/ | ||
| + | * Inner class: `RingOfStoneWalking.StoneWalking` extends `ArtifactBuff` implements `Doom` | ||
| + | * Buff factory registration: | ||
| + | - Constant: `RING_OF_STONE_WALKING` | ||
| + | - Registered buff class: `RingOfStoneWalking.StoneWalking.class` | ||
| + | |||
| + | **Key Methods:** | ||
| + | <code java> | ||
| + | // In RingOfStoneWalking.java | ||
| + | public static class StoneWalking extends ArtifactBuff implements Doom { | ||
| + | @Override | ||
| + | public int icon() { | ||
| + | return BuffIndicator.STONEBLOOD; | ||
| + | } | ||
| + | |||
| + | @Override | ||
| + | public String name() { | ||
| + | return StringsManager.getVar(R.string.StoneBloodBuff_Name); | ||
| + | } | ||
| + | |||
| + | @Override | ||
| + | public String desc() { | ||
| + | return StringsManager.getVar(R.string.StoneBloodBuff_Info); | ||
| + | } | ||
| + | |||
| + | @Override | ||
| + | public void onHeroDeath() { | ||
| + | Badges.validateDeathInStone(); | ||
| + | Dungeon.fail(Utils.format(ResultDescriptions.getDescription(ResultDescriptions.Reason.IMMURED), | ||
| + | GLog.n(StringsManager.getVar(R.string.RingOfStoneWalking_ImmuredInStone)); | ||
| + | } | ||
| + | } | ||
| + | </ | ||
| + | |||
| + | ===== JSON Configuration ===== | ||
| + | |||
| + | **Item Configuration: | ||
| + | * `RemixedDungeon/ | ||
| + | * Item image: `ItemSpriteSheet.RING_OF_STONE_WALKING` | ||
| + | |||
| + | **Buff Configuration: | ||
| + | * No separate JSON config - buff is defined in Java code | ||
| + | * Buff icon: `BuffIndicator.STONEBLOOD` | ||
| + | |||
| + | ===== String Resources ===== | ||
| + | |||
| + | **English (values/ | ||
| + | <code xml> | ||
| + | <string name=" | ||
| + | <string name=" | ||
| + | <string name=" | ||
| + | <string name=" | ||
| + | <string name=" | ||
| + | </ | ||
| + | |||
| + | **Russian (values-ru/ | ||
| + | <code xml> | ||
| + | <string name=" | ||
| + | <string name=" | ||
| + | <string name=" | ||
| + | </ | ||
| + | |||
| + | ===== Lua Scripts ===== | ||
| + | |||
| + | This entity is implemented entirely in Java, no Lua script exists. | ||
| + | |||
| + | ===== Related Entities ===== | ||
| + | |||
| + | **Item:** | ||
| + | * [[en: | ||
| + | |||
| + | **Buffs:** | ||
| + | * [[mr: | ||
| + | * [[mr: | ||
| + | |||
| + | **Badges:** | ||
| + | * `Badges.validateDeathInStone()` - Unlocks badge when dying while affected by this buff | ||
| + | |||
| + | ===== Code References ===== | ||
| + | * Java: [[https:// | ||
| + | * Java: [[https:// | ||
mr/stone_walking_buff.txt · Last modified: by 127.0.0.1
