Created: 02/10/2024, 04:22:18 PM Updated: 02/10/2024, 04:31:32 PM View Change History
1
2
3
4
5
6
7
8
9
10
11
12
13
14@setvar! onlyManaMagicBooks '0x45B22972'
15@setvar! onlyDamageMagicBooks '0x45C0C4C1'
16@setvar! manaAndDamageMagicBooks '0x45C32422'
17@setvar! slayerMagicBooks '0x45CEED03'
18
19
20
21
22
23@clearignore
24if findtype 11762 ground -1 -1 2 as magicItemRecycler
25 while findtype 3834 magicItemRecycler as item
26
27 @setvar! manaBonus 0
28 @setvar! damageBonus 0
29 @setvar! slayerBonus 0
30 @setvar! durabilityBonus 0
31
32 getlabel item description
33
34 if "potent" in description
35 @setvar! manaBonus 1
36 endif
37
38 if "ruin" in description or "might" in description or "force" in description or "power" in description or "vanquishing" in description
39 @setvar! damageBonus 1
40 endif
41
42 if "slaying" in description
43 @setvar! slayerBonus 1
44 endif
45
46
47
48
49
50 setvar dropY 65
51 if "durable" in description
52 setvar dropY 80
53 elseif "substantial" in description
54 setvar dropY 95
55 elseif "massive" in description
56 setvar dropY 110
57 elseif "fortified" in description
58 setvar dropY 125
59 elseif "indestructible" in description
60 setvar dropY 140
61 endif
62
63
64
65 setvar dropX 40
66 if "surpassingly" in description or "might" in description
67 setvar dropX 55
68 elseif "eminently" in description or "force" in description
69 setvar dropX 70
70 elseif "exceedingly" in description or "power" in description
71 setvar dropX 85
72 elseif "supremely" in description or "vanquishing" in description
73 setvar dropX 100
74 endif
75
76
77 if manaBonus = 1 and damageBonus = 0 and slayerBonus = 0
78 @setvar! targetContainer onlyManaMagicBooks
79 endif
80
81
82 if damageBonus = 1 and manaBonus = 0 and slayerBonus = 0
83 @setvar! targetContainer onlyDamageMagicBooks
84 endif
85
86
87 if manaBonus = 1 and damageBonus = 1 and slayerBonus = 0
88 @setvar! targetContainer manaAndDamageMagicBooks
89 endif
90
91
92 if slayerBonus = 1
93 @setvar! targetContainer slayerMagicBooks
94 endif
95
96 lift item
97 drop targetContainer dropX dropY -1
98 ignore item
99 wait 650
100 endwhile
101endif