Skip to content

Commit 37170ed

Browse files
committed
Fixed icons
1 parent 416a4fe commit 37170ed

File tree

20 files changed

+48
-9
lines changed

20 files changed

+48
-9
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ The patches component is designed to only patch spells that have entries in the
4444
Besides the original spell_rev authors and maintainers, special shout out to:
4545

4646
* ALIENQuake: WeiDU 247 work-around patch.
47-
* Bartimeus: discussions, ideas, etc.
47+
* Bartimeus: discussions, ideas, the fixed icons, and many other things that I have already forgotten.
4848

4949
## F. Tools used.
5050

components/patches/docs/readme.md

Lines changed: 17 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,16 @@ note(s):
4545

4646
1. [Harmless] Grease: delete spurious 324 opcode.
4747
2. [Minor, Implementation] Charm Person: add Display String 1476 = Charmed. Simplify implementation of racial immunities.
48-
3. [Minor] Obscuring Mist: same fixes as Cleric's version. Corresponding scroll has incorrect inventory and header icons.
48+
3. [Minor] Obscuring Mist: same fixes as Cleric's version. Corresponding scroll has incorrect inventory and header icons. Fixed bam.
49+
50+
note(s):
51+
* The scroll icon marked as fixed in [Spell Revisions](https://github.com/Gibberlings3/SpellRevisions).
52+
4953
4. [Minor] Monster Summoning I: corrected power 6 -> 0 of summoning effect. Corresponding scroll has incorrect inventory and header icons.
54+
55+
note(s):
56+
* The scroll icon marked as fixed in [Spell Revisions](https://github.com/Gibberlings3/SpellRevisions).
57+
5058
5. [Minor] Protection from Petrification: display string "Gaze Reflection" -> "Protection from Petrification".
5159
6. [Major] Expeditious Retreat: resist_dispel is all over the place. Standardized -> 3.
5260
7. [Harmless] True Strike: opcodes' target preset (2) -> self (1). Spurious 321 and 206 opcodes removed.
@@ -131,14 +139,15 @@ note(s):
131139
13. [Harmless] Spell Deflection: repeated 233 opcode.
132140
14. [Harmless, Implementation] Fire Burst: spurious repetition of protection from immunity. Removed it from main spell. Use EE damage opcode features.
133141
15. [Major] Mestil's Acid Sheath: same problem as Fire Shield.
142+
16. [Minor] Waves of Fatigue: fixed bam.
134143

135144
### Level 6.
136145

137146
1. [Harmless] Invisible Stalker: summoning eff power -> 0.
138147
2. [Major] Globe of Invulnerability: fix description that duration is 2 turns. Missing spell protections: Ice Storm.
139148
3. [Harmless] Tenser's Transformation: play visual effect resist/dispel 2 -> 3.
140149
4. [Major] Flesh to Stone: Main spell: the second remove spell type opcode for k1#haste has inconsistent resist_dispel, timing mode limited and a duration. The cast spell opcode is resist_dispel = 1 -> 2. In the aux spell all opcodes have permanent timing, but with a duration 12, which is harmless, but technically incorrect. Contrary to what is explicitly stated in the description, all opcodes have resist_dispel 1.
141-
5. [Harmless] Banishment: Use Eff against non-existent row in gender.ids removed from spell and aux spell.
150+
5. [Harmless] Banishment: Use Eff against non-existent row in gender.ids removed from spell and aux spell. Fixed bam.
142151
6. [Major] Protection from Magic Energy: contrary to what is stated, no creatures are immune to this spell; fixed description.
143152
7. [Major] Pierce Magic: incorrect duration of display portrait and play sound opcodes. Mind Blank is incorrectly listed as dispelled.
144153
8. [Major] True Seeing: fixes as in the cleric version.
@@ -150,7 +159,7 @@ note(s):
150159
14. [Minor] Conjure Fire Elemental: same problem as Conjure Lesser Fire Elemental, with wrong probabilities in first visual opcode. Summoning eff power 6 -> 0.
151160
15. [Minor] Conjure Air Elemental: see Conjure Fire Elemental. Summoning eff power 6 -> 0.
152161
16. [Minor] Conjure Earth Elemental: see Conjure Fire Elemental. Summoning eff power 6 -> 0.
153-
17. [Harmless] Animate Skeleton Warrior: Use Eff resist/dispel 3 -> 2. Summoning eff power 3 -> 0.
162+
17. [Harmless] Animate Skeleton Warrior: Use Eff resist/dispel 3 -> 2. Summoning eff power 3 -> 0. Fixed bam.
154163
18. [Harmless] Summon Nishruu: summoning eff power 8 -> 0.
155164

156165
### Level 7.
@@ -159,7 +168,7 @@ note(s):
159168
2. [Major] Ruby Ray of Reversal: Mind Blank is incorrectly listed as dispelled. Opcodes have power 7 which is inconsistent with other spell protection removals. Changed to 0.
160169
3. [Major] Khelben's Warding Whip: duration of second remove portrait icon opcode incorrect. Mind Blank is incorrectly listed as dispelled. Aux spell dispelling Spell Shield lacks delayed opcodes. Opcodes have power 7 which is inconsistent with other spell protection removals. Changed to 0.
161170
4. [Harmless] Monster Summoning VII: summoning eff power 6 -> 0.
162-
5. [Harmless] Summon Death Knight: summoning eff power 7 -> 0.
171+
5. [Harmless] Summon Death Knight: summoning eff power 7 -> 0. Fixed bam.
163172
6. [Major] Simbul's Spell Sequencer: aux spell opcode 258 resist_dispel 1 -> 2.
164173
7. [Major] Chaos: Opcodes have save penalty -6 instead of -4 and hold opcode has no save. Add display icon for Hold, Sleep and Berserk effects, and string for Hold. Misses immunity by chaotic commands.
165174
8. [Implementation] Delayed Blast Fireball: use EE damage opcode features.
@@ -218,7 +227,7 @@ note(s):
218227
9. [Harmless] Cause Light Wounds: power of opcodes 4 -> 1.
219228
10. [Major, Implementation] Sunscorch: change documentation to explicitly mention that a save vs. spell (not vs. breath, as rolled to halve the damage) will avoid blindness. Use EE features of damage opcode.
220229
11. [Major] Regenerate Light Wounds: resist_dispel -> 3. Only headers 7 and higher have Display String "Regenerating" -- added missing opcodes.
221-
12. [Minor] Obscuring mist: remove spurious 284 opcode with probability 0. resist dispel -> 2 for 0 and 164 opcodes, as the penalties are from critters being inside the cloud and thus not blocked by mr or dispellable.
230+
12. [Minor] Obscuring mist: remove spurious 284 opcode with probability 0. resist dispel -> 2 for 0 and 164 opcodes, as the penalties are from critters being inside the cloud and thus not blocked by mr or dispellable. Fixed bam.
222231

223232
### Level 2.
224233

@@ -249,7 +258,7 @@ note(s):
249258
7. [Harmless, Implementation] Holy Smite: first header has a spurious Use Eff mask_evil opcode. Holy Smite no longer targets only evils. Use EE features of damage opcode.
250259
8. [Major, Implementation] Unholy Blight: first header has a spurious Use Eff mask_good opcode. Unholy Blight no longer targets only goody two-shoes. Base thac0 penalty, Lighting Effects and Play Sound opcodes lack saves. All the save penalty opcodes have an undocumented penalty -2 -- all the more because Holy Smite does not have this penalty for its blindness effect. Use EE features of damage opcode.
251260
9. [Minor] Cure Serious Wounds: add remove intoxicated icon opcode since the spell also cures intoxication.
252-
10. [Major] Gust of Wind: sleep opcode resist_dispel 0 -> 1. Sleep opcode gained special = 130 (Unconscious) for icon and strref.
261+
10. [Major] Gust of Wind: sleep opcode resist_dispel 0 -> 1. Sleep opcode gained special = 130 (Unconscious) for icon and strref. Fixed bam.
253262

254263
note(s):
255264
* contrary to the druid version, it does *not* dispel insect swarms. It also has a *documented* penalty of -2 to the saves.
@@ -301,14 +310,14 @@ note(s):
301310
8. [Major] Dolorous Decay: play visual effect has a save penalty -5 -> -4. Damage amount of disease was 2 -> 1. Second display icon has timing mode 4. It seems this should be timing 1. Mention in description it bypasses mr.
302311
9. [Harmless] Physical Mirror: power of opcodes in aux spell sppr613d 1 -> 6.
303312
10. [Major] Regeneration: the description explicitly mentions the possibility of dispellability but opcodes have resist_dispel 0 -> 3. Description fix that duration is 3 turns.
304-
11. [Harmless] Banishment: same problems as wizard's Banishment.
313+
11. [Harmless] Banishment: same problems as wizard's Banishment. Fixed bam.
305314
12. [Harmless] Conjure Air Elemental: summoning eff power 6 -> 0.
306315
13. [Harmless] Conjure Earth Elemental: summoning eff power 6 -> 0.
307316
14. [Harmless] Animate Skeleton Warrior: Use Eff resist/dispel 3 -> 2, power 0 -> 6.
308317

309318
### Level 7.
310319

311-
1. [Harmless] Summon Shambling Mound: summoning eff power 8 -> 0.
320+
1. [Harmless] Summon Shambling Mound: summoning eff power 8 -> 0. Fixed bam.
312321
2. [Harmless] Summon Death Knight: summoning eff power 7 -> 0.
313322
3. [Severe] Nature's Beauty: removed undocumented slay opcode. Added display string "Charmed" opcode.
314323
4. [Implementation] Fire Storm: use EE features of damage opcode.

components/patches/lib/arcane/level1.tpa

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,8 @@ BEGIN
6868
icon = "dvwi106b"
6969
END
7070
BUT_ONLY
71+
//Copy fixed bam.
72+
COPY ~%MOD_FOLDER%/components/%COMPONENT%/resources/bam/dvwi106b.bam~ ~override/dvwi106b.bam~
7173
END
7274
END
7375

components/patches/lib/arcane/level5.tpa

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -271,4 +271,13 @@ BEGIN
271271
resource = ~%res%~
272272
END
273273
END
274+
END
275+
276+
//Waves of fatigue.
277+
DEFINE_PATCH_FUNCTION WIZARD_WAVES_OF_FATIGUE
278+
BEGIN
279+
INNER_ACTION BEGIN
280+
//Fixed bam.
281+
COPY ~%MOD_FOLDER%/components/%COMPONENT%/resources/bam/spwi508b.bam~ ~override/spwi508b.bam~
282+
END
274283
END

components/patches/lib/arcane/level6.tpa

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,8 @@ BEGIN
8080
match_parameter1 = 20
8181
END
8282
BUT_ONLY
83+
//Copy fixed bam.
84+
COPY ~%MOD_FOLDER%/components/%COMPONENT%/resources/bam/dvwi605b.bam~ ~override/dvwi605b.bam~
8385
END
8486
END
8587

@@ -321,6 +323,8 @@ BEGIN
321323
//power 3 -> 0.
322324
LPF WRITE_EFFECT_FIELD STR_VAR field = "power" value = "0" END
323325
BUT_ONLY
326+
//Fixed bam.
327+
COPY ~%MOD_FOLDER%/components/%COMPONENT%/resources/bam/spwi501b.bam~ ~override/spwi501b.bam~
324328
END
325329
END
326330

components/patches/lib/arcane/level7.tpa

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,8 @@ BEGIN
9595
//power 7 -> 0.
9696
LPF WRITE_EFFECT_FIELD STR_VAR field = "power" value = "0" END
9797
BUT_ONLY
98+
//Copy fixed bam.
99+
COPY ~%MOD_FOLDER%/components/%COMPONENT%/resources/bam/dvwi707b.bam~ ~override/dvwi707b.bam~
98100
END
99101
END
100102

components/patches/lib/divine/level1.tpa

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,4 +208,8 @@ BEGIN
208208
LPF ALTER_SPELL_EFFECT INT_VAR
209209
resist_dispel = 2
210210
END
211+
//Copy fixed bam.
212+
INNER_ACTION BEGIN
213+
COPY ~%MOD_FOLDER%/components/%COMPONENT%/resources/bam/dvpr121b.bam~ ~override/dvpr121b.bam~
214+
END
211215
END

components/patches/lib/divine/level3.tpa

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,10 @@ BEGIN
229229
resist_dispel = 1
230230
special = 130
231231
END
232+
//Copy fixed bam.
233+
INNER_ACTION BEGIN
234+
COPY ~%MOD_FOLDER%/components/%COMPONENT%/resources/bam/dvpr318b.bam~ ~override/dvpr318b.bam~
235+
END
232236
END
233237

234238
//Summon Insects.

components/patches/lib/divine/level6.tpa

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,8 @@ BEGIN
153153
match_opcode = 177 //Use Eff.
154154
match_parameter1 = 20
155155
END
156+
//Copy fixed bam.
157+
COPY ~%MOD_FOLDER%/components/%COMPONENT%/resources/bam/dvpr620b.bam~ ~override/dvpr620b.bam~
156158
END
157159
END
158160

components/patches/lib/divine/level7.tpa

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ BEGIN
88
//power 8 -> 0.
99
LPF WRITE_EFFECT_FIELD STR_VAR field = "power" value = "0" END
1010
BUT_ONLY
11+
//Copy fixed bam.
12+
COPY ~%MOD_FOLDER%/components/%COMPONENT%/resources/bam/sppr702b.bam~ ~override/sppr702b.bam~
1113
END
1214
END
1315

0 commit comments

Comments
 (0)