[Help]SupportMagic

Find the proper support area, Saga-Version.
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
Rofgar
Posts: 4
Joined: Fri Feb 05, 2010 11:05 am

[Help]SupportMagic

Post by Rofgar »

L2J Revision [3907]
L2JDP Revision [7022]

Hi, i have a lil problem with changing the newbie buff max lvl.
All NPC's that give the newbie buff are linked to the SupportMagic.htm
and from that .htm they call up the
<a action="bypass -h npc_%objectId%_SupportMagic">Receive supplemental magic.</a>
I tried to find that SupportMagic in scripts, DB and configs, but theres no such thing.

I quess this function is cituated some where in source of java's core, i found this http://pastebin.ca/44662 code but i just dont know how to write it in without getting new errors on compiling, can you help me with that?

And i would be really greatfull if you would make something like in that code in your next revisions, so people would only need to change 2 config strings.
User avatar
BiggBoss
L2j Veteran
L2j Veteran
Posts: 1104
Joined: Wed Apr 15, 2009 3:11 pm
Location: Spain

Re: [Help]SupportMagic

Post by BiggBoss »

for example, for wind walk

Code: Select all

 skill = SkillTable.getInstance().getInfo(4322,1); 
4322 = skill id
1 = skill level

All you have to do is change the skill level (always knowing that such skill has more than lvl 1) or change the skill id for anyother you like with his level (always knowing such skill exist and it has that level)
Image
Rofgar
Posts: 4
Joined: Fri Feb 05, 2010 11:05 am

Re: [Help]SupportMagic

Post by Rofgar »

Sorry my mistake, i didnt mean the level of buff skill.
I meant lvl of Character that could use that buff by default its 6-75 levels for buffs
I want to make it 1-85 levels available.

Theres nothing wrong with that source code, i just dont know HOW to write it in source of server and compile it right without mistakes
User avatar
BiggBoss
L2j Veteran
L2j Veteran
Posts: 1104
Joined: Wed Apr 15, 2009 3:11 pm
Location: Spain

Re: [Help]SupportMagic

Post by BiggBoss »

Database > Table helper_buff_list.
lower_level = Min level to get buffs
upper_level = Max level to get buffs
is_magic_class = true if its a magic class, false if its for fighter class
Image
Rofgar
Posts: 4
Joined: Fri Feb 05, 2010 11:05 am

Re: [Help]SupportMagic

Post by Rofgar »

Ohh, sorry, my bad ^_^
Thanks a lot, i kind a slipped that when where looking.
Post Reply