DispelCombatEffect never runs through its constructor before engine call so DispelInstanceOf variable is never set Solution: Just change getDispelInstanceOf to get property[0] instead. No need to run the unique constructor