Fixed item Scroll 1,000,000,000 SP (94829).

This commit is contained in:
MobiusDevelopment
2022-11-22 23:50:41 +00:00
parent 27baf8c375
commit e2284dc5d2
10 changed files with 62 additions and 8 deletions

View File

@@ -47,7 +47,7 @@ public class AdditionalServicesAdvisor extends AbstractNpcAI
private static final int HERMIN = 34153;
// Items
private static final int CLASS_CHANGE_COUPON = 94828;
private static final int SP_SCROLL = 94829;
private static final int SP_SCROLL = 91665;
private static final int SPELLBOOK_HUMAN = 90038; // Spellbook: Mount Golden Lion
private static final int SPELLBOOK_ELF = 90039; // Spellbook: Mount Pegasus
private static final int SPELLBOOK_DELF = 90040; // Spellbook: Mount Saber Tooth Cougar
@@ -208,7 +208,7 @@ public class AdditionalServicesAdvisor extends AbstractNpcAI
player.setClassId(classId);
player.setBaseClass(player.getActiveClass());
giveItems(player, SP_SCROLL, 20);
giveItems(player, SP_SCROLL, 1000);
if (player.isInCategory(CategoryType.FOURTH_CLASS_GROUP))
{
player.getVariables().set("3rdClassMountRewarded", true);

View File

@@ -209,7 +209,7 @@ public class AdditionalServicesAdvisor extends AbstractNpcAI
player.setClassId(classId);
player.setBaseClass(player.getActiveClass());
giveItems(player, SP_SCROLL, 20);
giveItems(player, SP_SCROLL, 50);
if (player.isInCategory(CategoryType.FOURTH_CLASS_GROUP))
{
player.getVariables().set("3rdClassMountRewarded", true);

View File

@@ -609,12 +609,19 @@
<item id="94829" name="Scroll: 1,000,000,000 SP" additionalName="Sealed" type="EtcItem">
<!-- SP +1,000,000,000. -->
<set name="icon" val="icon.etc_sp_scroll3_i00" />
<set name="default_action" val="SKILL_REDUCE_ON_SKILL_SUCCESS" />
<set name="default_action" val="SKILL_REDUCE" />
<set name="etcitem_type" val="SCROLL" />
<set name="material" val="PAPER" />
<set name="is_tradable" val="false" />
<set name="is_dropable" val="false" />
<set name="is_destroyable" val="false" />
<set name="is_sellable" val="false" />
<set name="is_stackable" val="true" />
<set name="is_freightable" val="true" />
<set name="handler" val="ItemSkills" />
<skills>
<skill id="40261" level="1" /> <!-- SP +1,000,000,000 -->
</skills>
</item>
<item id="94830" name="Ultimate Behemoth Transformation Costume" additionalName="Sealed" type="Armor">
<!-- NPC only costume -->

View File

@@ -819,7 +819,18 @@
</skill>
<skill id="40257" toLevel="1" name="Scroll of Escape: Ivory Tower">
<icon>icon.skill0000</icon>
<itemConsumeCount>1</itemConsumeCount>
<itemConsumeId>94829</itemConsumeId>
<magicLevel>1</magicLevel>
<operateType>A1</operateType>
<reuseDelay>500</reuseDelay>
<targetType>SELF</targetType>
<affectScope>SINGLE</affectScope>
<effects>
<effect name="GiveSp">
<sp>1000000000</sp>
</effect>
</effects>
</skill>
<skill id="40258" toLevel="1" name="Berserker's Scroll (Exchangeable)">
<!-- STR $s1 INT $s1 Atk. Spd. $s2 Casting Spd. $s2 Speed $s3 P. Skill Power $s4 M. Skill Power $s4 -->

View File

@@ -209,7 +209,7 @@ public class AdditionalServicesAdvisor extends AbstractNpcAI
player.setClassId(classId);
player.setBaseClass(player.getActiveClass());
giveItems(player, SP_SCROLL, 20);
giveItems(player, SP_SCROLL, 50);
if (player.isInCategory(CategoryType.FOURTH_CLASS_GROUP))
{
player.getVariables().set("3rdClassMountRewarded", true);

View File

@@ -609,12 +609,19 @@
<item id="94829" name="Scroll: 1,000,000,000 SP" additionalName="Sealed" type="EtcItem">
<!-- SP +1,000,000,000. -->
<set name="icon" val="icon.etc_sp_scroll3_i00" />
<set name="default_action" val="SKILL_REDUCE_ON_SKILL_SUCCESS" />
<set name="default_action" val="SKILL_REDUCE" />
<set name="etcitem_type" val="SCROLL" />
<set name="material" val="PAPER" />
<set name="is_tradable" val="false" />
<set name="is_dropable" val="false" />
<set name="is_destroyable" val="false" />
<set name="is_sellable" val="false" />
<set name="is_stackable" val="true" />
<set name="is_freightable" val="true" />
<set name="handler" val="ItemSkills" />
<skills>
<skill id="40261" level="1" /> <!-- SP +1,000,000,000 -->
</skills>
</item>
<item id="94830" name="Ultimate Behemoth Transformation Costume" additionalName="Sealed" type="Armor">
<!-- NPC only costume -->

View File

@@ -819,7 +819,18 @@
</skill>
<skill id="40257" toLevel="1" name="Scroll of Escape: Ivory Tower">
<icon>icon.skill0000</icon>
<itemConsumeCount>1</itemConsumeCount>
<itemConsumeId>94829</itemConsumeId>
<magicLevel>1</magicLevel>
<operateType>A1</operateType>
<reuseDelay>500</reuseDelay>
<targetType>SELF</targetType>
<affectScope>SINGLE</affectScope>
<effects>
<effect name="GiveSp">
<sp>1000000000</sp>
</effect>
</effects>
</skill>
<skill id="40258" toLevel="1" name="Berserker's Scroll (Exchangeable)">
<!-- STR $s1 INT $s1 Atk. Spd. $s2 Casting Spd. $s2 Speed $s3 P. Skill Power $s4 M. Skill Power $s4 -->

View File

@@ -209,7 +209,7 @@ public class AdditionalServicesAdvisor extends AbstractNpcAI
player.setClassId(classId);
player.setBaseClass(player.getActiveClass());
giveItems(player, SP_SCROLL, 20);
giveItems(player, SP_SCROLL, 50);
if (player.isInCategory(CategoryType.FOURTH_CLASS_GROUP))
{
player.getVariables().set("3rdClassMountRewarded", true);

View File

@@ -609,12 +609,19 @@
<item id="94829" name="Scroll: 1,000,000,000 SP" additionalName="Sealed" type="EtcItem">
<!-- SP +1,000,000,000. -->
<set name="icon" val="icon.etc_sp_scroll3_i00" />
<set name="default_action" val="SKILL_REDUCE_ON_SKILL_SUCCESS" />
<set name="default_action" val="SKILL_REDUCE" />
<set name="etcitem_type" val="SCROLL" />
<set name="material" val="PAPER" />
<set name="is_tradable" val="false" />
<set name="is_dropable" val="false" />
<set name="is_destroyable" val="false" />
<set name="is_sellable" val="false" />
<set name="is_stackable" val="true" />
<set name="is_freightable" val="true" />
<set name="handler" val="ItemSkills" />
<skills>
<skill id="40261" level="1" /> <!-- SP +1,000,000,000 -->
</skills>
</item>
<item id="94830" name="Ultimate Behemoth Transformation Costume" additionalName="Sealed" type="Armor">
<!-- NPC only costume -->

View File

@@ -936,7 +936,18 @@
</skill>
<skill id="40261" toLevel="1" name="Scroll: 1,000,000,000 SP">
<icon>icon.skill0000</icon>
<itemConsumeCount>1</itemConsumeCount>
<itemConsumeId>94829</itemConsumeId>
<magicLevel>1</magicLevel>
<operateType>A1</operateType>
<reuseDelay>500</reuseDelay>
<targetType>SELF</targetType>
<affectScope>SINGLE</affectScope>
<effects>
<effect name="GiveSp">
<sp>1000000000</sp>
</effect>
</effects>
</skill>
<skill id="40262" toLevel="1" name="Buff Candies">
<!-- P. Atk. $s1 M. Atk. $s1 P. Def. $s2 M. Def. $s2 -->