To reproduce:
1. Give yourself an EtherealCrashbow and a Tome of power (ArtiTomeOfPower).
2. Wait until the Tome of power is almost expired.
3. Fire the EtherealCrashbow.
4. The VM will abort when it is about to go to the next state of EtherealCrashbowPowered, and the tome of power has expired.
Sample decorate code, with long states in order to exemplify the issue.
Code: Select all
actor EtherealCrashbow : Crossbow replaces Crossbow
{
Weapon.SisterWeapon "EtherealCrashbowPowered"
}
actor EtherealCrashbowPowered : CrossbowPowered
{
Weapon.SisterWeapon "EtherealCrashbow"
States
{
Fire:
CRBW D 70 A_FireCrossbowPL2
CRBW E 70 A_FireProjectile("MinotaurFX2")
CRBW F 70 A_FireProjectile("MinotaurFX2")
CRBW G 70 A_FireProjectile("MinotaurFX2")
CRBW H 70 A_FireProjectile("MinotaurFX2")
CRBW A 70 A_FireProjectile("MinotaurFX2")
CRBW B 70 A_FireProjectile("MinotaurFX2")
CRBW C 70 A_ReFire
Goto Ready
}
}