Seasoned Roamer Cinoo Posted February 3, 2021 Share Posted February 3, 2021 Does this spell not penetrate doors/walls/magic barriers? I am trying to cast this and it's not showing any damage incurred by enemies, only my own part. I remember in playing Exile 2 that it was a great spell and also good for me to gain experience on my mages. Quote Link to comment Share on other sites More sharing options...
Hatchling Cockatrice Mea Tulpa Posted February 3, 2021 Share Posted February 3, 2021 I'm pretty sure it ignores barriers in E3 as well. What are the circumstances you're using it in? (where, what wall, and what enemy isn't being damaged) Quote Link to comment Share on other sites More sharing options...
Seasoned Roamer Cinoo Posted February 3, 2021 Author Share Posted February 3, 2021 (edited) I tried using it in the Troglo Temple to kill various enemies while I was holed up in a small corner, and I also tried using it in a similar scenario in one of the destroyed towns in Footracer, with a fire barrier in the doorway of an otherwise intact building. The only damage coming up was to my own party. Edited February 3, 2021 by Cinoo Quote Link to comment Share on other sites More sharing options...
Hatchling Cockatrice Mea Tulpa Posted February 3, 2021 Share Posted February 3, 2021 How far were you from the enemies? I don't think it's blocked by barriers, but it only goes out something like 10 squares in a given direction, IIRC. Quote Link to comment Share on other sites More sharing options...
Seasoned Roamer Cinoo Posted February 4, 2021 Author Share Posted February 4, 2021 Pretty close. Within 5 spaces for sure the second time. Probably between 4-6 the first time. Quote Link to comment Share on other sites More sharing options...
Hatchling Cockatrice Mea Tulpa Posted February 4, 2021 Share Posted February 4, 2021 Hmm. If you try casting other hostile radius spells like Slow Group or Curse All, do you get a message for each victim? If not, then it's not a Shockwave issue. If so... Quote Link to comment Share on other sites More sharing options...
Rotghroth Rhapsody Thaluikhain Posted February 4, 2021 Share Posted February 4, 2021 IIRC, Firestorm spells can be blocked (partially) by walls, don't specifically remember for Shockwave. Save the game, go to a friendly town, cast in one room with nobody in it but people nearby and reload when you find out? Quote Link to comment Share on other sites More sharing options...
Seasoned Roamer Cinoo Posted February 4, 2021 Author Share Posted February 4, 2021 2 hours ago, Thaluikhain said: IIRC, Firestorm spells can be blocked (partially) by walls, don't specifically remember for Shockwave. Save the game, go to a friendly town, cast in one room with nobody in it but people nearby and reload when you find out? Good idea. I tried this and it turns out that my shockwave caused no damage through either walls or fire barriers, even with a townsperson on the immediate other side of a wall. That's sad, that spell was awesome! Haha. maybe it was too good. Quote Link to comment Share on other sites More sharing options...
Understated Ur-Drakon The Almighty Doer of Stuff Posted February 4, 2021 Share Posted February 4, 2021 (edited) I just tested it and confirmed than in Exile 3, Shockwave will not do damage past solid walls, but will do damage through clear terrain. That's disappointing, because it is supposed to work through walls. EDIT: Also, Thaluikhain, you may be confusing Shockwave with Shockstorm. Shockstorm is the same as Firestorm except with magical damage type and more damage, but ShockWAVE is supposed to center an earthquake on the caster's location. The farther away a character is, up to a radius 10 circle, the more damage it does, much like an earthquake, and as such it would normally do damage through walls, as it travels through the ground. Now I wonder if legacy BoE had that problem... I'll test in a little bit. Edited February 4, 2021 by The Almighty Doer of Stuff Quote Link to comment Share on other sites More sharing options...
Hatchling Cockatrice Mea Tulpa Posted February 4, 2021 Share Posted February 4, 2021 Huh, weird! I wonder if this means there were also changes, between E2 and E3, regarding how line of sight was processed for other attacks -- AoE, individual missiles, and barrier placement. This doesn't make much sense for Shockwave, but maybe it was put in to stop e.g. Fireball from going through walls and magic barriers. (Considering it's a plot point in E1/2 that magic barriers block fireballs, it would be weird to discover that they don't in the game...) Quote Link to comment Share on other sites More sharing options...
Understated Ur-Drakon The Almighty Doer of Stuff Posted February 4, 2021 Share Posted February 4, 2021 (edited) I just did some tests. Shockwave works through walls in E2, but not in E3 or BoE. Shockwave behaves as a line of sight "explosion" in BoE, where even if doors are open to a victim within 10 steps away, they will not be damaged unless they are in direct line of sight. I didn't test the open-doors trick with E3. Interestingly, Shockwave just makes an explosion sound and displays "The ground shakes!" in the text area, without displaying special effects or doing damage, if the party has just entered a legacy BoE scenario and one complete "round", in Town or Combat Mode, has not passed yet. The first "round" is glitchy in many ways in legacy BoE; for example, you can't save your game until you move. I tested line of sight with Firestorm. Since the area of effect is a 3x3 square with the corners missing, one can try to "hook" the explosion around a corner. However, if the tile around the corner is not in direct line of sight, it doesn't matter that there is a "path" to that victim; it won't damage them. That hasn't changed between E2, E3, and legacy BoE. I didn't do any of these tests with Magic Barriers, however. Edited February 4, 2021 by The Almighty Doer of Stuff Quote Link to comment Share on other sites More sharing options...
Seasoned Roamer Cinoo Posted February 4, 2021 Author Share Posted February 4, 2021 This is some hard-hitting journalism here fellows. I am surprised that no-one was aware of this after Exile 3 existing for more than 2 decades. Quote Link to comment Share on other sites More sharing options...
Hatchling Cockatrice Randomizer Posted February 4, 2021 Share Posted February 4, 2021 It's more how certain spells are used. I used Shockwave for outdoor and large room encounters where there weren't the obstacles to block effects and used other area attacks for corridors and small rooms. Quote Link to comment Share on other sites More sharing options...
Understated Ur-Drakon The Almighty Doer of Stuff Posted February 4, 2021 Share Posted February 4, 2021 Huh. I just looked, and it seems Shockwave wasn't advertised as working through walls to begin with, in any Exile game. I could have sworn it did. You learn something 26 years old every day! Quote Link to comment Share on other sites More sharing options...
Fledgling Fyora Cino Posted February 4, 2021 Share Posted February 4, 2021 I am fairly sure that it does work through walls in Exile 2, I remember using it on some Empire fort near the Northern Islands later in the game. I don't know if that was an oversight or intentional. Maybe I am misremembering though. Quote Link to comment Share on other sites More sharing options...
Understated Ur-Drakon The Almighty Doer of Stuff Posted February 4, 2021 Share Posted February 4, 2021 Yeah, I tested it earlier and it only stops working through walls in E3 and legacy BoE. I just meant I never realized the spell description never mentioned it working through walls. I always thought it was in the description. Quote Link to comment Share on other sites More sharing options...
Hatchling Cockatrice Mea Tulpa Posted February 4, 2021 Share Posted February 4, 2021 Interesting! On the plus side, I guess line of sight does make it slightly more plausible to use Shockwave without making a friendly town angry... Quote Link to comment Share on other sites More sharing options...
Seasoned Roamer Cinoo Posted February 4, 2021 Author Share Posted February 4, 2021 Right, you mentioned that earlier my mistake, I misread your post. I'm still a little shaken up about this spell, it's really rattled me to the core. And yeah now I can use shockwave for instance, in holding pens on hostile creatures. Quote Link to comment Share on other sites More sharing options...
Rotghroth Rhapsody Thaluikhain Posted February 5, 2021 Share Posted February 5, 2021 20 hours ago, The Almighty Doer of Stuff said: I just tested it and confirmed than in Exile 3, Shockwave will not do damage past solid walls, but will do damage through clear terrain. That's disappointing, because it is supposed to work through walls. EDIT: Also, Thaluikhain, you may be confusing Shockwave with Shockstorm. Shockstorm is the same as Firestorm except with magical damage type and more damage, but ShockWAVE is supposed to center an earthquake on the caster's location. The farther away a character is, up to a radius 10 circle, the more damage it does, much like an earthquake, and as such it would normally do damage through walls, as it travels through the ground. Now I wonder if legacy BoE had that problem... I'll test in a little bit. I knew how Shockwave worked, but either forgot (or never knew) that it's supposed to be an earthquake, I just thought it was magic damage that spread in all directions that got more powerful because it's magic. And to do more damage to the enemy than the rest of your party, who are presumably closer, I guess. Doesn't Shockstorm use the same "template" (5x5 except the 4 corners) as Firestorm, but places a persistent magical damage thing, like Conflagration or the wall spells? Always liked those spells once the fighters/terrain have created a line to fix the enemy. Or against invisible monsters. Quote Link to comment Share on other sites More sharing options...
Seasoned Roamer Fireball Fodder Posted February 13, 2021 Share Posted February 13, 2021 I believe that some other spells were also changed to require LOS in Exile III. Slow Group comes to mind - I think it didn't require LOS in the earlier games, but I haven't got the games set up so I can't be bothered to check right now. Quote Link to comment Share on other sites More sharing options...
Rotghroth Rhapsody Thaluikhain Posted February 14, 2021 Share Posted February 14, 2021 Erm, I think Slow Group didn't need line of sight. Also, now that I think of it, spells like Mass Charm and Mass Paralysis, possibly as they don't direct harm enemies they work differently. Quote Link to comment Share on other sites More sharing options...
Understated Ur-Drakon Celtic Minstrel Posted February 18, 2021 Share Posted February 18, 2021 So now the question is… should Shockwave pass through walls, or is this a bug that was fixed in Exile 3? Quote Link to comment Share on other sites More sharing options...
Seasoned Roamer Cinoo Posted February 18, 2021 Author Share Posted February 18, 2021 12 hours ago, Celtic Minstrel said: So now the question is… should Shockwave pass through walls, or is this a bug that was fixed in Exile 3? Maybe the big man himself can weigh in on this. I used shockwave to grind for my magic casters in Exile 2 and was sad that I can't do it in Exile 3 haha. Quote Link to comment Share on other sites More sharing options...
Understated Ur-Drakon Celtic Minstrel Posted February 21, 2021 Share Posted February 21, 2021 I'm pretty sure he doesn't read the forums very often, so if you want his opinion that much, you'd probably have to ask by email or something. Given that it changed between E2 and E3, and the manual never says it's supposed to pass through walls, I'm currently leaning towards it being a bug that he fixed in E3. Quote Link to comment Share on other sites More sharing options...
Hatchling Cockatrice Mea Tulpa Posted February 22, 2021 Share Posted February 22, 2021 I'm not sure that change was intentional. It might have been an accidental side effect of E3 refining line-of-sight rules for an environment with far more trees, open skies, etc., particularly given the observation that it follows the same obstruction rules as those do. I suspect this because Shockwave was transparently modeled after Ultima's Tremor spell, which ignored obstacles entirely. It seems pretty unlikely that this was a bug for all of the first two games Jeff made, when he was programming all the spells from scratch. Quote Link to comment Share on other sites More sharing options...
Understated Ur-Drakon Celtic Minstrel Posted February 23, 2021 Share Posted February 23, 2021 That argument does make sense, but… this is the code for shockwave in Blades of Exile (original version, not the OBoE source): void do_shockwave(location target) { short i; start_missile_anim(); for (i = 0; i < 6; i++) if ((dist(target,pc_pos[i]) > 0) && (dist(target,pc_pos[i]) < 11) && (adven[i].main_status == 1)) damage_pc(i, get_ran(2 + dist(target,pc_pos[i]) / 2, 1, 6), 4,-1); for (i = 0; i < T_M; i++) if ((c_town.monst.dudes[i].active != 0) && (dist(target,c_town.monst.dudes[i].m_loc) > 0) && (dist(target,c_town.monst.dudes[i].m_loc) < 11) && (can_see(target,c_town.monst.dudes[i].m_loc,0) < 5)) damage_monst(i, current_pc, get_ran(2 + dist(target,c_town.monst.dudes[i].m_loc) / 2 , 1, 6), 0, 4); do_explosion_anim(5,0); end_missile_anim(); handle_marked_damage(); } As you can see, there's a clear call to the "can_see" function. It seems odd that he would have inserted that by mistake. Quote Link to comment Share on other sites More sharing options...
Hatchling Cockatrice Mea Tulpa Posted February 23, 2021 Share Posted February 23, 2021 Interesting! Well that's a good piece of evidence. Out of curiosity, what does can_see actually return? Since it needs to be less than 5 to count as seen for purposes of the spell. I also note that other PCs get damaged even if they aren't visible to the caster... it seems a little weird for it to work that way for PCs but not enemies. Though maybe that's standard for BoE? I haven't looked at that code in a decade. Ircher 1 Quote Link to comment Share on other sites More sharing options...
Understated Ur-Drakon Celtic Minstrel Posted February 23, 2021 Share Posted February 23, 2021 It's a degree of obscurity based on a sum of opacity over the path between the two tiles. A fully-opaque tile has opacity 5, so that's why there's a comparison to 5 in can_see. It checks a total of max(dx, dy) tiles to determine the final obscurity. Opacity is normally based on the terrain (5 if it blocks sight, 1 if it's obstructed but you can shoot through it, 0 if it blocks nothing), unless there's a fire or force barrier there, in which case it's 5. A web on the space increases opacity by 2, and a crate, barrel, or town special spot increases it by 1. When in combat, lava and pits are also forced to opacity level 5. This time I looked at OBoE rather than the original source, but I don't think there are any appreciable changes in this area (if there are, it's a bug). Quote Link to comment Share on other sites More sharing options...
Understated Ur-Drakon The Almighty Doer of Stuff Posted February 23, 2021 Share Posted February 23, 2021 Lava and pits are forced to opacity level 5? But you can see and shoot onto or over them. They're listed as Clear, Blocked in BoE's scenario editor. I must be misunderstanding something. Quote Link to comment Share on other sites More sharing options...
Hatchling Cockatrice Mea Tulpa Posted February 23, 2021 Share Posted February 23, 2021 OK, I went and looked at the code and a few things jump out. First and most importantly, the snippet CM pasted above (do_shockwave) appears to be a modified cut-and-paste -- or vice versa -- of radius_damage. Identical lines with a few different parameters. It seems entirely possible that radius_damage was updated, and it was pasted into do_shockwave with some changes made, but forgetting to remove the visibility requirement that had not previously been present. In other words, the function above is particular to Shockwave, but the code isn't. This could easily be a mistake. Second, the same visibility check does apply to Slow Group and the other status spells in BoE. Third, can_see has three modes. Comments and usage elsewhere in the code line up here: Mode 0 - normal Mode 1 - counts pits and lava as fully blocked; used for party placement when combat begins Mode 2 - normal but ignores the requirement for light Notably, AoE spells use mode 2, so I guess they require line of sight, but light is optional. Missiles require light, which makes sense. Shockwave also requires light, which makes absolutely no sense. Since it affects friendly creatures too, it's clearly not something the caster is manually controlling. Slow Group, with its nearly identical code, requires light, but it only affects hostile creatures, so that is less confusing. This, again, leads me to hypothesize: mistake. Ircher 1 Quote Link to comment Share on other sites More sharing options...
Understated Ur-Drakon Celtic Minstrel Posted February 23, 2021 Share Posted February 23, 2021 Nice detective work! From this it seems fairly likely that it was indeed a mistake. Quote Link to comment Share on other sites More sharing options...
Seasoned Roamer Cinoo Posted February 23, 2021 Author Share Posted February 23, 2021 Mystery solved. Quote Link to comment Share on other sites More sharing options...
Understated Ur-Drakon The Almighty Doer of Stuff Posted February 23, 2021 Share Posted February 23, 2021 It could be fixed for open source BoE projects, but it would have to remain the same for legacy scenarios. It might be hard for players to understand the seemingly-arbitrary and possibly unclear discrepancy between legacy scenarios and new scenarios if that were done, though. Quote Link to comment Share on other sites More sharing options...
Rotghroth Rhapsody Thaluikhain Posted February 24, 2021 Share Posted February 24, 2021 On 2/23/2021 at 6:54 PM, Celtic Minstrel said: It's a degree of obscurity based on a sum of opacity over the path between the two tiles. A fully-opaque tile has opacity 5, so that's why there's a comparison to 5 in can_see. It checks a total of max(dx, dy) tiles to determine the final obscurity. Opacity is normally based on the terrain (5 if it blocks sight, 1 if it's obstructed but you can shoot through it, 0 if it blocks nothing), unless there's a fire or force barrier there, in which case it's 5. A web on the space increases opacity by 2, and a crate, barrel, or town special spot increases it by 1. When in combat, lava and pits are also forced to opacity level 5. This time I looked at OBoE rather than the original source, but I don't think there are any appreciable changes in this area (if there are, it's a bug). Huh, so, for example, you're in a store with a long counter (like most store in E3 and BoE, it seems), and if you are standing at one short end, the Shockwave spell won't affect someone at the opposite end if it's 5 or more spaces long? Also, how does it determine LoS if you are aren't in a straight line? Say the target is 6 spaces above and one to the right, so there's 5 vertical spaces in two columns, which are you looking through? Getting a bit off-topic and obscure with that, though, but am interested in working out LOS in a grid. Quote Link to comment Share on other sites More sharing options...
Understated Ur-Drakon Celtic Minstrel Posted February 25, 2021 Share Posted February 25, 2021 13 hours ago, Thaluikhain said: Huh, so, for example, you're in a store with a long counter (like most store in E3 and BoE, it seems), and if you are standing at one short end, the Shockwave spell won't affect someone at the opposite end if it's 5 or more spaces long? I think counters are transparent, so they wouldn't affect line of sight. If you had a line of pillars though, then yes. 13 hours ago, Thaluikhain said: Also, how does it determine LoS if you are aren't in a straight line? Say the target is 6 spaces above and one to the right, so there's 5 vertical spaces in two columns, which are you looking through? It just uses a naive line-drawing algorithm to figure out which hexes affect your vision. The algorithm described on that page only works for lines with small slope (less than 1), but Blades of Exile swaps the role of x and y if the line has a large slope (greater than 1), so it still produces a reasonable result. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.