Fix for bolt spell targeting self if target zone/died while casting.

Fix for bolt spell targeting self if target zone/died while casting. Despite the name being "ST_TargetOptional", this target type is reserved for projectile spells which all require a target, thus should be treated like any other targeted spell.
This commit is contained in:
KayenEQ
2021-07-18 22:04:07 -04:00
parent cf25f5f1e2
commit 5e049d41e0
2 changed files with 8 additions and 5 deletions
+1 -1
View File
@@ -279,7 +279,7 @@ enum RESISTTYPE
//Target Type IDs
typedef enum {
/* 01 */ ST_TargetOptional = 0x01,
/* 01 */ ST_TargetOptional = 0x01, //only used for targeted projectile spells
/* 02 */ ST_AEClientV1 = 0x02,
/* 03 */ ST_GroupTeleport = 0x03,
/* 04 */ ST_AECaster = 0x04,