Jump to content
  • 0

help How to forbid to dress some armor?


Question

Posted

The problem is that, whether it is possible to make so that the orc (fighter) could not put on robe set? It is desirable  any robe can't put.?

To what I am all I ask if it became interesting to you, to this time I have written topic as will recolour armor not to damage a skin on charcher. :-\

Exit on are given the moment I found just one and are very difficult idea does a set are ideal like it drew profesional master. :o

??? And so about that it was easier to me and to paint all less in such a way the whole week,On a server at us is not present sub class well and that not absolutely ugly it is necessary to me need to solve it. example (Orc Fighter=light,heavy(no robe) (human magic=robe ( no light no heavy).

 

http://www.maxcheaters.com/forum/index.php?topic=113294.0 here my mod , with this problem.

 

4 answers to this question

Recommended Posts

  • 0
Posted

UseItem.java

 

               if (activeChar.getClassId().getId() == ClassID)

               {

                if (item.getItemType() == L2ArmorType.TYPE) Replace TYPE with HEAVY, ROBE, LIGHT

                {

                activeChar.sendMessage("Message");

                return;

                }  

               }

 

LE:

-- HUMANS

-- 0=Human Fighter      | 1=Human Warrior    | 2=Gladiator        | 3=Warlord          | 4=Human Knight

-- 5=Paladin            | 6=Dark Avenger    | 7=Rogue            | 8=Treasure Hunter  | 9=Hawkeye

-- 10=Human Mage        | 11=Human Wizard    | 12=Sorcerer/ss    | 13=Necromancer    | 14=Warlock

-- 15=Cleric            | 16=Bishop          | 17=Prophet

 

-- ELVES

-- 18=Elven Fighter      | 19=Elven Knight    | 20=Temple Knight  | 21=Swordsinger    | 22=Elven Scout

-- 23=Plainswalker      | 24=Silver Ranger  | 25=Elven Mage      | 26=Elven Wizard    | 27=Spellsinger

-- 28=Elemental Summoner | 29=Elven Oracle    | 30=Elven Elder

 

-- DARK ELVES

-- 31=Dark Elven Fighter | 32=Palus Knight    | 33=Shillien Knight | 34=Bladedancer    | 35=Assassin

-- 36=Abyss Walker      | 37=Phantom Ranger  | 38=Dark Elven Mage | 39=Dark Wizard    | 40=Spellhowler

-- 41=Phantom Summoner  | 42=Shillien Oracle | 43=Shillien Elder

 

-- ORCS

-- 44=Orc Fighter        | 45=Orc Raider      | 46=Destroyer      | 47=Monk            | 48=Tyrant

-- 49=Orc Mage          | 50=Orc Shaman      | 51=Overlord        | 52=Warcryer

 

-- DWARVES

-- 53=Dwarven Fighter    | 54=Scavenger      | 55=Bounty Hunter  | 56=Artisan        | 57=Warsmith

 

-- HUMANS 3rd Professions

-- 88=Duelist            | 89=Dreadnought    | 90=Phoenix Knight  | 91=Hell Knight    | 92=Sagittarius

-- 93=Adventurer        | 94=Archmage        | 95=Soultaker      | 96=Arcana Lord    | 97=Cardinal

-- 98=Hierophant

 

-- ELVES 3rd Professions

-- 99=Evas Templar      | 100=Sword Muse      | 101=Wind Rider    | 102=Moonlight Sentinel

-- 103=Mystic Muse      | 104=Elemental Master                    | 105=Evas Saint

 

-- DARK ELVES 3rd Professions

-- 106=Shillien Templar | 107=Spectral Dancer | 108=Ghost Hunter  | 109=Ghost Sentinel

-- 110=Storm Screamer  | 111=Spectral Master | 112=Shillien Saint

 

-- ORCS 3rd Professions

-- 113=Titan            | 114=Grand Khavatari

-- 115=Dominator        | 116=Doomcryer

 

-- DWARVES 3rd Professions

-- 117=Fortune Seeker  | 118=Maestro

 

Good luck.. :)

  • 0
Posted

You welcome, If you have errors post here :)

 

after i well put it with my friend , maybe you can showing little better if you can ... little example . i dont have try this , but if i try i wil told you .Any way if you can do little xample here about this script. ty man

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...