/// <summary> /// パーティのスキルターンを増加ボタンが押された /// </summary> public void OnPushSkillTurnPPButton() { // パーティのスキルターンを増加. for (int idx = 0; idx < BattleParam.m_PlayerParty.getPartyMemberMaxCount(); idx++) { CharaOnce chara_once = BattleParam.m_PlayerParty.getPartyMember((GlobalDefine.PartyCharaIndex)idx, CharaParty.CharaCondition.SKILL_TURN1); if (chara_once != null) { chara_once.AddCharaLimitBreak(1); } } }
private void setEnableLimitBreak(int on_off, GlobalDefine.PartyCharaIndex caster_index) { if (caster_index >= GlobalDefine.PartyCharaIndex.LEADER && caster_index < GlobalDefine.PartyCharaIndex.MAX) { // リミブレスキルを使用可能に CharaOnce chara_once = BattleParam.m_PlayerParty.getPartyMember(caster_index, CharaParty.CharaCondition.SKILL_TURN1); if (chara_once != null) { m_IsForbidLimitBreak[(int)caster_index] = !(on_off != 0); chara_once.AddCharaLimitBreak(99999); } } m_IsNextCommand = true; }