Craft Mastery skill (10312).
This commit is contained in:
parent
c6813babe4
commit
d620778570
@ -254,12 +254,17 @@
|
||||
<!-- 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. -->
|
||||
<skill id="10312" levels="4" name="Crafting Mastery">
|
||||
<!-- NOT DONE -->
|
||||
<table name="#magicLvl"> 85 90 95 99 </table>
|
||||
<table name="#masteryLvl"> 1 2 3 4 </table>
|
||||
<set name="icon" val="icon.skill10312" />
|
||||
<set name="magicLvl" val="#magicLvl" />
|
||||
<set name="operateType" val="PASSIVE" />
|
||||
<set name="targetType" val="SELF" />
|
||||
<for>
|
||||
<effect name="Buff">
|
||||
<add stat="craftMastery" val="#masteryLvl"/>
|
||||
</effect>
|
||||
</for>
|
||||
</skill>
|
||||
<skill id="10313" levels="4" name="Infinite Rush">
|
||||
<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="momentumSkillPower" />
|
||||
<xs:enumeration value="maxPhysCritRate" />
|
||||
<xs:enumeration value="craftMastery" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<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="momentumSkillPower" />
|
||||
<xs:enumeration value="maxPhysCritRate" />
|
||||
<xs:enumeration value="craftMastery" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:complexType name="addType" mixed="true">
|
||||
|
@ -675,6 +675,12 @@ public class RecipeController
|
||||
{
|
||||
itemId = rareProdId;
|
||||
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_CRITICAL("skillCritical"),
|
||||
SKILL_CRITICAL_PROBABILITY("skillCriticalProbability"),
|
||||
CRAFT_MASTERY("craftMastery"),
|
||||
|
||||
// Vitality
|
||||
VITALITY_CONSUME_RATE("vitalityConsumeRate"),
|
||||
|
Loading…
Reference in New Issue
Block a user