AVA2 unlock P7: talismans (护符) and their attribute items
- ARMOR_PENDANT / APPLY_ENCHANT_* 123-128 / c_Equipment_Pendant (server WEAR_PENDANT 27) constants - mt_pendant: equipment slot under the earring, drop targets for 71302/53996 (reroll) and 71301/53997 (add, max 5), MTPENDANT messages; enchant apply texts in mt_applies - switchbot ignores talismans and talisman rerolls - make_items keeps the six +0..+200 chains (1206 items) and the four attribute items - tools/server/pendant: refine sets 440-499 (AVA2 rows) + install.sh Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
a1b63c0afb
commit
b9af78ef64
@@ -0,0 +1,14 @@
|
||||
# Talisman refine sets
|
||||
|
||||
AVA2 talismans (护符, metin2-server docs/FEATURE-AVA2-UNLOCK.md P7) refine +0..+200 through 201 items per element. Every step uses one of ten refine sets per element: fragment ×1 + 30031 ×1 + 33031 ×10, 50000 yang, 100 % (AVA2's own rows).
|
||||
|
||||
| Element | Items | Sets | Fragment |
|
||||
|---|---|---|---|
|
||||
| fire | 9600–9800 | 440–449 | 96001 |
|
||||
| ice | 9830–10030 | 460–469 | 96002 |
|
||||
| earth | 10060–10260 | 480–489 | 96003 |
|
||||
| dark | 10290–10490 | 490–499 | 96004 |
|
||||
| wind | 10520–10720 | 470–479 | 96005 |
|
||||
| elect | 10750–10950 | 450–459 | 96006 |
|
||||
|
||||
`install.sh` (on the server) backs up rows 440–499, replaces them from `refine.sql`, and checks 60 rows. The db loads refine_proto at boot, so restart the db afterwards. The items themselves come from `../ava2-items`.
|
||||
Executable
+12
@@ -0,0 +1,12 @@
|
||||
#!/bin/sh
|
||||
# Installs the talisman refine sets (README.md) into player.refine_proto; the db reads them at boot, so restart the db.
|
||||
set -eu
|
||||
HERE=$(cd "$(dirname "$0")" && pwd)
|
||||
MYSQL=${MYSQL:-mysql -umetin2 -ppassword}
|
||||
BACKUP=/root/backup-pendant/$(date +%Y%m%d-%H%M%S)
|
||||
mkdir -p "$BACKUP"
|
||||
$MYSQL player -e 'SELECT * FROM refine_proto WHERE id BETWEEN 440 AND 499' > "$BACKUP/refine_440_499.tsv"
|
||||
echo "backup: $BACKUP"
|
||||
$MYSQL player < "$HERE/refine.sql"
|
||||
[ "$($MYSQL -N player -e 'SELECT COUNT(*) FROM refine_proto WHERE id BETWEEN 440 AND 499 AND cost=50000')" -eq 60 ] || { echo "refine rows missing" >&2; exit 1; }
|
||||
echo "done; restart the db"
|
||||
@@ -0,0 +1,63 @@
|
||||
-- AVA2 talisman refine sets 440-499 (AVA2 player.refine_proto): element fragment x1 + 30031 x1 + 33031 x10, 50000 yang, 100 %.
|
||||
-- Step n of a talisman chain uses set base + n % 10 (fire 440, elect 450, ice 460, wind 470, earth 480, dark 490).
|
||||
REPLACE INTO refine_proto (id,vnum0,vnum1,vnum2,vnum3,vnum4,count0,count1,count2,count3,count4,cost,src_vnum,result_vnum,prob) VALUES
|
||||
(440,96001,30031,33031,0,0,1,1,10,0,0,50000,0,0,100),
|
||||
(441,96001,30031,33031,0,0,1,1,10,0,0,50000,0,0,100),
|
||||
(442,96001,30031,33031,0,0,1,1,10,0,0,50000,0,0,100),
|
||||
(443,96001,30031,33031,0,0,1,1,10,0,0,50000,0,0,100),
|
||||
(444,96001,30031,33031,0,0,1,1,10,0,0,50000,0,0,100),
|
||||
(445,96001,30031,33031,0,0,1,1,10,0,0,50000,0,0,100),
|
||||
(446,96001,30031,33031,0,0,1,1,10,0,0,50000,0,0,100),
|
||||
(447,96001,30031,33031,0,0,1,1,10,0,0,50000,0,0,100),
|
||||
(448,96001,30031,33031,0,0,1,1,10,0,0,50000,0,0,100),
|
||||
(449,96001,30031,33031,0,0,1,1,10,0,0,50000,0,0,100),
|
||||
(450,96006,30031,33031,0,0,1,1,10,0,0,50000,0,0,100),
|
||||
(451,96006,30031,33031,0,0,1,1,10,0,0,50000,0,0,100),
|
||||
(452,96006,30031,33031,0,0,1,1,10,0,0,50000,0,0,100),
|
||||
(453,96006,30031,33031,0,0,1,1,10,0,0,50000,0,0,100),
|
||||
(454,96006,30031,33031,0,0,1,1,10,0,0,50000,0,0,100),
|
||||
(455,96006,30031,33031,0,0,1,1,10,0,0,50000,0,0,100),
|
||||
(456,96006,30031,33031,0,0,1,1,10,0,0,50000,0,0,100),
|
||||
(457,96006,30031,33031,0,0,1,1,10,0,0,50000,0,0,100),
|
||||
(458,96006,30031,33031,0,0,1,1,10,0,0,50000,0,0,100),
|
||||
(459,96006,30031,33031,0,0,1,1,10,0,0,50000,0,0,100),
|
||||
(460,96002,30031,33031,0,0,1,1,10,0,0,50000,0,0,100),
|
||||
(461,96002,30031,33031,0,0,1,1,10,0,0,50000,0,0,100),
|
||||
(462,96002,30031,33031,0,0,1,1,10,0,0,50000,0,0,100),
|
||||
(463,96002,30031,33031,0,0,1,1,10,0,0,50000,0,0,100),
|
||||
(464,96002,30031,33031,0,0,1,1,10,0,0,50000,0,0,100),
|
||||
(465,96002,30031,33031,0,0,1,1,10,0,0,50000,0,0,100),
|
||||
(466,96002,30031,33031,0,0,1,1,10,0,0,50000,0,0,100),
|
||||
(467,96002,30031,33031,0,0,1,1,10,0,0,50000,0,0,100),
|
||||
(468,96002,30031,33031,0,0,1,1,10,0,0,50000,0,0,100),
|
||||
(469,96002,30031,33031,0,0,1,1,10,0,0,50000,0,0,100),
|
||||
(470,96005,30031,33031,0,0,1,1,10,0,0,50000,0,0,100),
|
||||
(471,96005,30031,33031,0,0,1,1,10,0,0,50000,0,0,100),
|
||||
(472,96005,30031,33031,0,0,1,1,10,0,0,50000,0,0,100),
|
||||
(473,96005,30031,33031,0,0,1,1,10,0,0,50000,0,0,100),
|
||||
(474,96005,30031,33031,0,0,1,1,10,0,0,50000,0,0,100),
|
||||
(475,96005,30031,33031,0,0,1,1,10,0,0,50000,0,0,100),
|
||||
(476,96005,30031,33031,0,0,1,1,10,0,0,50000,0,0,100),
|
||||
(477,96005,30031,33031,0,0,1,1,10,0,0,50000,0,0,100),
|
||||
(478,96005,30031,33031,0,0,1,1,10,0,0,50000,0,0,100),
|
||||
(479,96005,30031,33031,0,0,1,1,10,0,0,50000,0,0,100),
|
||||
(480,96003,30031,33031,0,0,1,1,10,0,0,50000,0,0,100),
|
||||
(481,96003,30031,33031,0,0,1,1,10,0,0,50000,0,0,100),
|
||||
(482,96003,30031,33031,0,0,1,1,10,0,0,50000,0,0,100),
|
||||
(483,96003,30031,33031,0,0,1,1,10,0,0,50000,0,0,100),
|
||||
(484,96003,30031,33031,0,0,1,1,10,0,0,50000,0,0,100),
|
||||
(485,96003,30031,33031,0,0,1,1,10,0,0,50000,0,0,100),
|
||||
(486,96003,30031,33031,0,0,1,1,10,0,0,50000,0,0,100),
|
||||
(487,96003,30031,33031,0,0,1,1,10,0,0,50000,0,0,100),
|
||||
(488,96003,30031,33031,0,0,1,1,10,0,0,50000,0,0,100),
|
||||
(489,96003,30031,33031,0,0,1,1,10,0,0,50000,0,0,100),
|
||||
(490,96004,30031,33031,0,0,1,1,10,0,0,50000,0,0,100),
|
||||
(491,96004,30031,33031,0,0,1,1,10,0,0,50000,0,0,100),
|
||||
(492,96004,30031,33031,0,0,1,1,10,0,0,50000,0,0,100),
|
||||
(493,96004,30031,33031,0,0,1,1,10,0,0,50000,0,0,100),
|
||||
(494,96004,30031,33031,0,0,1,1,10,0,0,50000,0,0,100),
|
||||
(495,96004,30031,33031,0,0,1,1,10,0,0,50000,0,0,100),
|
||||
(496,96004,30031,33031,0,0,1,1,10,0,0,50000,0,0,100),
|
||||
(497,96004,30031,33031,0,0,1,1,10,0,0,50000,0,0,100),
|
||||
(498,96004,30031,33031,0,0,1,1,10,0,0,50000,0,0,100),
|
||||
(499,96004,30031,33031,0,0,1,1,10,0,0,50000,0,0,100);
|
||||
Reference in New Issue
Block a user