| | |
| | | {
|
| | | SwitchGodWeapon(4, 0);
|
| | | }
|
| | | _level = PlayerDatas.Instance.baseData.godWeaponLV_1;
|
| | | if (EquipShowSwitch.IsGodWeaponEffectOn(PlayerDatas.Instance.baseData.equipShowSwitch, 1, out _level))
|
| | | {
|
| | | SwitchGodWeapon(1, _level);
|
| | | }
|
| | | else
|
| | | {
|
| | | SwitchGodWeapon(1, 0);
|
| | | }
|
| | |
|
| | | _level = PlayerDatas.Instance.baseData.godWeaponLV_2;
|
| | | _level = PlayerDatas.Instance.baseData.godWeaponLV_2;
|
| | | if (EquipShowSwitch.IsGodWeaponEffectOn(PlayerDatas.Instance.baseData.equipShowSwitch, 2, out _level))
|
| | | {
|
| | | SwitchGodWeapon(2, _level);
|
| | | }
|
| | | else
|
| | | {
|
| | | SwitchGodWeapon(2, 0);
|
| | | }
|
| | | }
|
| | |
|
| | | protected sealed override void OnPutonSecondary(uint secondaryItemID, GameObject secondary)
|
| | |
| | | }
|
| | | GameObjectPoolManager.Instance.AddDontDestroyGoInstID(secondary.GetInstanceID());
|
| | | }
|
| | |
|
| | | int _level = PlayerDatas.Instance.baseData.godWeaponLV_1;
|
| | | if (EquipShowSwitch.IsGodWeaponEffectOn(PlayerDatas.Instance.baseData.equipShowSwitch, 1, out _level))
|
| | | {
|
| | | SwitchGodWeapon(1, _level);
|
| | | }
|
| | | else
|
| | | {
|
| | | SwitchGodWeapon(1, 0);
|
| | | }
|
| | | }
|
| | |
|
| | | protected sealed override void OnPutonWeapon(uint weaponItemID, GameObject weapon)
|
| | |
| | | MaterialUtility.SwitchXrayShader(m_WeaponMaterial, true);
|
| | | }
|
| | | GameObjectPoolManager.Instance.AddDontDestroyGoInstID(weapon.GetInstanceID());
|
| | |
|
| | | int _level = PlayerDatas.Instance.baseData.godWeaponLV_2;
|
| | | if (EquipShowSwitch.IsGodWeaponEffectOn(PlayerDatas.Instance.baseData.equipShowSwitch, 2, out _level))
|
| | | {
|
| | | SwitchGodWeapon(2, _level);
|
| | | }
|
| | | else
|
| | | {
|
| | | SwitchGodWeapon(2, 0);
|
| | | }
|
| | | }
|
| | |
|
| | | protected sealed override void OnPutonWing(uint wingItemID, GameObject wing)
|
| | |
| | | { |
| | | SwitchGodWeapon(4, m_ViewPlayerData.rolePlusData.GetGodWeaponLevel(4)); |
| | | } |
| | | } |
| | | |
| | | protected override void OnPutonSecondary(uint secondaryItemID, GameObject secondary) |
| | | { |
| | | Renderer _renderer = secondary.GetComponentInChildren<Renderer>(); |
| | | _renderer.gameObject.SetLayer(LayerUtility.Player, false); |
| | | |
| | | |
| | | if (m_ViewPlayerData != null) |
| | | { |
| | | SwitchGodWeapon(1, m_ViewPlayerData.rolePlusData.GetGodWeaponLevel(1)); |
| | | } |
| | | |
| | | if (m_ViewPlayerData != null) |
| | | { |
| | | SwitchGodWeapon(2, m_ViewPlayerData.rolePlusData.GetGodWeaponLevel(2)); |
| | | } |
| | | } |
| | | |
| | | protected override void OnPutonSecondary(uint secondaryItemID, GameObject secondary) |
| | | { |
| | | Renderer _renderer = secondary.GetComponentInChildren<Renderer>(); |
| | | _renderer.gameObject.SetLayer(LayerUtility.Player, false); |
| | | } |
| | | |
| | | protected override void OnPutonWeapon(uint weaponItemID, GameObject weapon) |
| | | { |
| | | Renderer _renderer = weapon.GetComponentInChildren<Renderer>(); |
| | | _renderer.gameObject.SetLayer(LayerUtility.Player, false); |
| | | if (m_ViewPlayerData != null) |
| | | { |
| | | SwitchGodWeapon(1, m_ViewPlayerData.rolePlusData.GetGodWeaponLevel(1)); |
| | | } |
| | | } |
| | | |
| | | protected override void OnPutonWing(uint wingItemID, GameObject wing) |
| | |
| | | {
|
| | | SwitchGodWeapon(4, 0);
|
| | | }
|
| | |
|
| | | _level = (int)m_H0434.ExAttr15;
|
| | | if (EquipShowSwitch.IsGodWeaponEffectOn(m_H0434.EquipShowSwitch, 1, out _level))
|
| | | {
|
| | | SwitchGodWeapon(1, (int)m_H0434.ExAttr15);
|
| | | }
|
| | | else
|
| | | {
|
| | | SwitchGodWeapon(1, 0);
|
| | | }
|
| | |
|
| | | _level = (int)m_H0434.ExAttr16;
|
| | | if (EquipShowSwitch.IsGodWeaponEffectOn(m_H0434.EquipShowSwitch, 2, out _level))
|
| | | {
|
| | | SwitchGodWeapon(2, (int)m_H0434.ExAttr16);
|
| | | }
|
| | | else
|
| | | {
|
| | | SwitchGodWeapon(2, 0);
|
| | | }
|
| | | }
|
| | |
|
| | | protected sealed override void OnPutonSecondary(uint secondaryItemID, GameObject secondary)
|
| | |
| | | _renderer.gameObject.SetLayer(LayerUtility.Player, false);
|
| | | MaterialUtility.SwitchXrayShader(m_SecondaryMaterial, false);
|
| | | }
|
| | |
|
| | | int _level = (int)m_H0434.ExAttr15;
|
| | | if (EquipShowSwitch.IsGodWeaponEffectOn(m_H0434.EquipShowSwitch, 1, out _level))
|
| | | {
|
| | | SwitchGodWeapon(1, (int)m_H0434.ExAttr15);
|
| | | }
|
| | | else
|
| | | {
|
| | | SwitchGodWeapon(1, 0);
|
| | | }
|
| | | }
|
| | |
|
| | | protected sealed override void OnPutonWeapon(uint weaponItemID, GameObject weapon)
|
| | |
| | | {
|
| | | _renderer.gameObject.SetLayer(LayerUtility.Player, false);
|
| | | MaterialUtility.SwitchXrayShader(m_WeaponMaterial, false);
|
| | | }
|
| | |
|
| | | int _level = (int)m_H0434.ExAttr16;
|
| | | if (EquipShowSwitch.IsGodWeaponEffectOn(m_H0434.EquipShowSwitch, 2, out _level))
|
| | | {
|
| | | SwitchGodWeapon(2, (int)m_H0434.ExAttr16);
|
| | | }
|
| | | else
|
| | | {
|
| | | SwitchGodWeapon(2, 0);
|
| | | }
|
| | | }
|
| | |
|