Craft Mastery skill (10312).
This commit is contained in:
@@ -254,12 +254,17 @@
|
|||||||
<!-- Level 3 : There is a small chance that the item quantity will double upon crafting. Critical level 3. -->
|
<!-- Level 3 : There is a small chance that the item quantity will double upon crafting. Critical level 3. -->
|
||||||
<!-- Level 4 : There is a small chance that the item quantity will double upon crafting. Critical level 4. -->
|
<!-- Level 4 : There is a small chance that the item quantity will double upon crafting. Critical level 4. -->
|
||||||
<skill id="10312" levels="4" name="Crafting Mastery">
|
<skill id="10312" levels="4" name="Crafting Mastery">
|
||||||
<!-- NOT DONE -->
|
|
||||||
<table name="#magicLvl"> 85 90 95 99 </table>
|
<table name="#magicLvl"> 85 90 95 99 </table>
|
||||||
|
<table name="#masteryLvl"> 1 2 3 4 </table>
|
||||||
<set name="icon" val="icon.skill10312" />
|
<set name="icon" val="icon.skill10312" />
|
||||||
<set name="magicLvl" val="#magicLvl" />
|
<set name="magicLvl" val="#magicLvl" />
|
||||||
<set name="operateType" val="PASSIVE" />
|
<set name="operateType" val="PASSIVE" />
|
||||||
<set name="targetType" val="SELF" />
|
<set name="targetType" val="SELF" />
|
||||||
|
<for>
|
||||||
|
<effect name="Buff">
|
||||||
|
<add stat="craftMastery" val="#masteryLvl"/>
|
||||||
|
</effect>
|
||||||
|
</for>
|
||||||
</skill>
|
</skill>
|
||||||
<skill id="10313" levels="4" name="Infinite Rush">
|
<skill id="10313" levels="4" name="Infinite Rush">
|
||||||
<table name="#mpConsumes"> 92 98 104 110 </table>
|
<table name="#mpConsumes"> 92 98 104 110 </table>
|
||||||
|
BIN
trunk/dist/game/data/stats/skills/TODO.xlsx
vendored
BIN
trunk/dist/game/data/stats/skills/TODO.xlsx
vendored
Binary file not shown.
1
trunk/dist/game/data/xsd/skills.xsd
vendored
1
trunk/dist/game/data/xsd/skills.xsd
vendored
@@ -407,6 +407,7 @@
|
|||||||
<xs:enumeration value="hpRestoreOnKill" />
|
<xs:enumeration value="hpRestoreOnKill" />
|
||||||
<xs:enumeration value="momentumSkillPower" />
|
<xs:enumeration value="momentumSkillPower" />
|
||||||
<xs:enumeration value="maxPhysCritRate" />
|
<xs:enumeration value="maxPhysCritRate" />
|
||||||
|
<xs:enumeration value="craftMastery" />
|
||||||
</xs:restriction>
|
</xs:restriction>
|
||||||
</xs:simpleType>
|
</xs:simpleType>
|
||||||
<xs:complexType name="addType" mixed="true">
|
<xs:complexType name="addType" mixed="true">
|
||||||
|
1
trunk/dist/game/data_classic/xsd/skills.xsd
vendored
1
trunk/dist/game/data_classic/xsd/skills.xsd
vendored
@@ -407,6 +407,7 @@
|
|||||||
<xs:enumeration value="hpRestoreOnKill" />
|
<xs:enumeration value="hpRestoreOnKill" />
|
||||||
<xs:enumeration value="momentumSkillPower" />
|
<xs:enumeration value="momentumSkillPower" />
|
||||||
<xs:enumeration value="maxPhysCritRate" />
|
<xs:enumeration value="maxPhysCritRate" />
|
||||||
|
<xs:enumeration value="craftMastery" />
|
||||||
</xs:restriction>
|
</xs:restriction>
|
||||||
</xs:simpleType>
|
</xs:simpleType>
|
||||||
<xs:complexType name="addType" mixed="true">
|
<xs:complexType name="addType" mixed="true">
|
||||||
|
@@ -675,6 +675,12 @@ public class RecipeController
|
|||||||
{
|
{
|
||||||
itemId = rareProdId;
|
itemId = rareProdId;
|
||||||
itemCount = _recipeList.getRareCount();
|
itemCount = _recipeList.getRareCount();
|
||||||
|
|
||||||
|
final int craftMastery = (int) _player.calcStat(Stats.CRAFT_MASTERY, 0, null, null);
|
||||||
|
if ((craftMastery > 0) && (Rnd.get(10) < craftMastery))
|
||||||
|
{
|
||||||
|
itemCount <<= 1;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -189,6 +189,7 @@ public enum Stats
|
|||||||
// Skill mastery
|
// Skill mastery
|
||||||
SKILL_CRITICAL("skillCritical"),
|
SKILL_CRITICAL("skillCritical"),
|
||||||
SKILL_CRITICAL_PROBABILITY("skillCriticalProbability"),
|
SKILL_CRITICAL_PROBABILITY("skillCriticalProbability"),
|
||||||
|
CRAFT_MASTERY("craftMastery"),
|
||||||
|
|
||||||
// Vitality
|
// Vitality
|
||||||
VITALITY_CONSUME_RATE("vitalityConsumeRate"),
|
VITALITY_CONSUME_RATE("vitalityConsumeRate"),
|
||||||
|
Reference in New Issue
Block a user