public override void Shot() { //IL_0067: Unknown result type (might be due to invalid IL or missing references) //IL_006c: Unknown result type (might be due to invalid IL or missing references) //IL_0072: Unknown result type (might be due to invalid IL or missing references) //IL_0077: Unknown result type (might be due to invalid IL or missing references) //IL_0083: Unknown result type (might be due to invalid IL or missing references) //IL_0088: Unknown result type (might be due to invalid IL or missing references) //IL_0092: Unknown result type (might be due to invalid IL or missing references) //IL_0097: Expected O, but got Unknown if (IsReadyForShot()) { if (base._animator != null) { base._animator.Play("Reaction", 0, 0f); } AttackInfo attackHitInfo = GetAttackHitInfo(); if (attackHitInfo != null) { AttackCannonball.InitParamCannonball initParamCannonball = new AttackCannonball.InitParamCannonball(); initParamCannonball.attacker = m_owner; initParamCannonball.atkInfo = attackHitInfo; initParamCannonball.launchTrans = m_cannonTrans; initParamCannonball.offsetPos = Vector3.get_zero(); initParamCannonball.offsetRot = Quaternion.get_identity(); initParamCannonball.shotRotation = m_cannonTrans.get_rotation(); GameObject val = new GameObject("HeavyCannonball"); AttackCannonball attackCannonball = val.AddComponent <AttackCannonball>(); attackCannonball.Initialize(initParamCannonball); StartCoolTime(); SetState(STATE.COOLTIME); } } }
public void Shot() { //IL_0072: Unknown result type (might be due to invalid IL or missing references) //IL_0077: Unknown result type (might be due to invalid IL or missing references) //IL_007d: Unknown result type (might be due to invalid IL or missing references) //IL_0082: Unknown result type (might be due to invalid IL or missing references) //IL_008e: Unknown result type (might be due to invalid IL or missing references) //IL_0093: Unknown result type (might be due to invalid IL or missing references) //IL_009d: Unknown result type (might be due to invalid IL or missing references) //IL_00a2: Expected O, but got Unknown if (IsReadyForShot()) { if (_animator != null) { _animator.Play("Reaction", 0, 0f); } AttackInfo attackHitInfo = GetAttackHitInfo(m_owner.GetCurrentWeaponElement()); if (attackHitInfo != null) { AttackCannonball.InitParamCannonball initParamCannonball = new AttackCannonball.InitParamCannonball(); initParamCannonball.attacker = m_owner; initParamCannonball.atkInfo = attackHitInfo; initParamCannonball.launchTrans = m_cannonTrans; initParamCannonball.offsetPos = Vector3.get_zero(); initParamCannonball.offsetRot = Quaternion.get_identity(); initParamCannonball.shotRotation = m_cannonTrans.get_rotation(); GameObject val = new GameObject("AttackCannonball"); AttackCannonball attackCannonball = val.AddComponent <AttackCannonball>(); attackCannonball.Initialize(initParamCannonball); EffectManager.GetEffect("ef_btl_magibullet_shot_01", m_cannonTrans); SetStateCooltime(); } } }
public override void Shot() { //IL_007b: Unknown result type (might be due to invalid IL or missing references) //IL_0080: Unknown result type (might be due to invalid IL or missing references) //IL_0086: Unknown result type (might be due to invalid IL or missing references) //IL_008b: Unknown result type (might be due to invalid IL or missing references) //IL_0097: Unknown result type (might be due to invalid IL or missing references) //IL_009c: Unknown result type (might be due to invalid IL or missing references) //IL_00a6: Unknown result type (might be due to invalid IL or missing references) //IL_00ab: Expected O, but got Unknown //IL_00d4: Unknown result type (might be due to invalid IL or missing references) if (IsReadyForShot()) { if (base._animator != null) { base._animator.Play("Reaction", 0, 0f); } AttackInfo attackHitInfo = GetAttackHitInfo(); if (attackHitInfo != null) { int num = Random.Range(0, 3); AttackCannonball.InitParamCannonball initParamCannonball = new AttackCannonball.InitParamCannonball(); initParamCannonball.attacker = m_owner; initParamCannonball.atkInfo = attackHitInfo; initParamCannonball.launchTrans = m_cannonTrans; initParamCannonball.offsetPos = offsetArray[num]; initParamCannonball.offsetRot = Quaternion.get_identity(); initParamCannonball.shotRotation = m_cannonTrans.get_rotation(); GameObject val = new GameObject("AttackCannonball"); AttackCannonball attackCannonball = val.AddComponent <AttackCannonball>(); attackCannonball.Initialize(initParamCannonball); if (shotSeId > 0) { SoundManager.PlayOneShotSE(shotSeId, m_cannonTrans.get_position()); } StartCoolTime(); SetState(STATE.COOLTIME); } } }