L2JMobius

Shinemaker Silvery Shirt

quir0 · 3 · 1241

Offline quir0

  • Heir
  • **
    • Posts: 18
  • I'm still trying to learn JS to make my 1st server
    • L2jMobius Community
I'm so excited, my first "share"  ;D
But I don't know if some1 already did it...

Here's the thing, an admin that I know from a previous server is going to make a Shinemaker one, so I got the one from Mobius and started to test it locally (i'm not good doing servers, this is like my 3rd one and always playing alone to try stuffs)

I found out that the Silvery Shirt (L-grade) after upgrade it, doesn't give the skills (like Dragon Rind shirt skills: Rage, Scale and Surge) so I manage to fix that, now when I equip the shirt it gives the skills that are lv23 in the stats/items (Dragon shirt had till lv22).

Also managed to put the same passive skill Dragon Rind Leather Shirt: Enchant Effect but with Silvery Shirt equipped (Didn't changed the stats, if some1 wanna do it feel free to...)

Here is the code:

Silvery Shirt in stats/items:

Code: [Select]
<item id="82986" name="Silvery Shirt" type="Armor">
<!-- Can be augmented. -->
<set name="icon" val="icon.bm_argent_shirt" />
<set name="default_action" val="EQUIP" />
<set name="bodypart" val="underwear" />
<set name="immediate_effect" val="true" />
<set name="material" val="CRYSTAL" />
<set name="weight" val="130" />
<set name="is_sellable" val="false" />
<set name="commissionItemType" val="UNDERWEAR" />
<stats>
<stat type="mDef">112</stat>
<stat type="pDef">112</stat>
<stat type="fireRes">50</stat>
<stat type="waterRes">50</stat>
<stat type="earthRes">50</stat>
<stat type="windRes">50</stat>
<stat type="holyRes">50</stat>
<stat type="darkRes">50</stat>
</stats>
<skills>
<skill id="36610" level="1" /> <!-- Silvery Shirt -->
<skill id="35187" level="11" /> <!--  Silvery Shirt: Enchant Effect -->
<skill id="35188" level="23" /> <!--  Silvery Rage -->
<skill id="35189" level="23" /> <!--  Silvery Scale -->
<skill id="35190" level="23" /> <!--  Silvery Surge -->
</skills>
</item>

The skillID 35187 is the Dragon Rind Shirt Enchant passive skill and lvl (Gives STR/DEX/CON/INT/WIN/MEN/LUC/CHA all +7)


Well that's it... I don't know much about more files to make it look like a Silvery Shirt passive skill, maybe some1 can do it and add it here... At least with those codes that I add, it works  :D

Sorry if it looks "lame" or isn't much to see... I'm still learning how all works, programming is hard for me, but following some logics I think I can keep making progress for the project  :)

Kind regards!
Currently trying to develope my personal server... Step by step ^^


Online Mobius

  • Distinguished King
  • *****
    • Posts: 19715

Offline emptyslash

  • Heir
  • **
    • Posts: 18
Missing ON_ENCHANT parameter?
the whole skill #36610 is not finished. in the game it has 11 lvls: l2wiki
there is no such skill like <skill id="35187" toLevel="11" name="Dragon Rind Leather Shirt: Enchant Effect"> for the silvery shirt
there are no 3 active skills: Silvery Rage,  Silvery Surge, Silvery Combat (i searched through all the xml files of the project)
and #36612 Silvery Scale skill is too small compared to <skill id="35189" toLevel="23" name="Dragon Scale">