Passive skills should use passiveConditions.

This commit is contained in:
MobiusDevelopment
2019-06-22 11:08:00 +00:00
parent 2a5c8246fa
commit 258713950d
32 changed files with 265 additions and 206 deletions

View File

@@ -1040,7 +1040,7 @@
<!-- Power of skills that consume Momentum increase by $s1. -->
<icon>icon.skill10324</icon>
<operateType>P</operateType>
<conditions>
<passiveConditions>
<condition name="OpCheckSkill">
<skillId>261</skillId> <!-- Triple Sonic Slash -->
<skillId>10258</skillId> <!-- Armor Destruction -->
@@ -1051,7 +1051,7 @@
<skillId>10318</skillId> <!-- Sonic Flash -->
<affectType>CASTER</affectType>
</condition>
</conditions>
</passiveConditions>
<effects>
<effect name="PhysicalSkillPower">
<amount>

View File

@@ -303,14 +303,14 @@
<!-- Increases P. Atk. and P. Def. when HP is below 30%. Applies after the lord stage. -->
<icon>icon.skill19011</icon>
<operateType>P</operateType>
<conditions>
<passiveConditions>
<condition name="CanUseInBattlefield" />
<condition name="RemainHpPer">
<amount>30</amount>
<percentType>LESS</percentType>
<affectType>CASTER</affectType>
</condition>
</conditions>
</passiveConditions>
<effects>
<effect name="PAtk">
<amount>30</amount>

View File

@@ -1664,13 +1664,13 @@
<operateType>P</operateType>
<magicCriticalRate>5</magicCriticalRate>
<magicLvl>85</magicLvl>
<conditions>
<passiveConditions>
<condition name="RemainHpPer">
<amount>90</amount>
<percentType>MORE</percentType>
<affectType>CASTER</affectType>
</condition>
</conditions>
</passiveConditions>
<effects>
<effect name="PhysicalDefence">
<amount>20</amount>