Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела
FAQ Community Calendar Today's Posts Search

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 30.05.2007, 05:07   #1
goodtimeshaxor
Архивный участник
 
Join Date: Oct 2006
Posts: 108
Default Unnecessary Subclass Requirement for Noblesse

My server has a funky way of learning skills. Some skills require this thing I call a "mastery point" and new characters start out with only 100 of them. If one were to create a new character and learn every single skill by level 78 it would require at least 125 mastery points. This forces people to pick and choose which skills they want (There are a lot of custom skills so it works well)

The problem with this is the 75/75 subclass requirement for noblesse. What is the best way to bypass this problem? Either allowing to change to a noblesse without the subclass or giving 100 more mp to the subclass only (Which would be taken away when the player changes back to the original class) AND how can I make this happen?

I am thinking a non-subclass requirement would work best in this situation but am not sure how I can change that. I'm pretty sure its all AI but again, I'm not that good with it.
goodtimeshaxor is offline  
Old 30.05.2007, 08:54   #2
Aikeleer
Архивный участник
 
Join Date: Jun 2005
Posts: 374
Default

I take it those mastery points are just items?
Making it non-subclass only is extremely easy then.
Aikeleer is offline  
Old 30.05.2007, 10:09   #3
goodtimeshaxor
Архивный участник
 
Join Date: Oct 2006
Posts: 108
Default

They are just items that every player starts out with. How can I make this work?
goodtimeshaxor is offline  
Old 30.05.2007, 15:19   #4
Aikeleer
Архивный участник
 
Join Date: Jun 2005
Posts: 374
Default

Before you do the Switch Subclass-command in the AI, first convert their skilltokens into other type of tokens 'non-active tokens' or whatever.
Aikeleer is offline  
Old 30.05.2007, 16:43   #5
DeKoth
Архивный участник
 
Join Date: Apr 2006
Posts: 236
Default

you can write your own ai to set noble..
DeKoth is offline  
Old 30.05.2007, 20:25   #6
goodtimeshaxor
Архивный участник
 
Join Date: Oct 2006
Posts: 108
Default

Quote:
Originally Posted by Aikeleer View Post
Before you do the Switch Subclass-command in the AI, first convert their skilltokens into other type of tokens 'non-active tokens' or whatever.
If I convert them into another kind of token how would they learn their skills? All classes have some skills that require the skill token, changing them wouldn't solve the problem because their subclass skills would still require the use of it.

Quote:
you can write your own ai to set noble
Again, not very good (at all) with AI. Can anyone help me get started? Maybe point me in the right direction.
goodtimeshaxor is offline  
Old 30.05.2007, 20:52   #7
m4rk
Архивный участник
 
Join Date: Jan 2006
Posts: 607
Default

in the class lady_of_the_lake

Code:
if( talker.level >= 75 && talker.subjob_id != 0 )
{
	if( ( myself->GetCurrentTick() - talker.quest_last_reward_time ) > 1 )
	{
		talker.quest_last_reward_time = myself->GetCurrentTick();
		myself->GiveItem1(talker,7694,1);
		myself->IncrementParam(talker,0,93836);
		myself->RemoveMemo(talker,247);
		myself->SoundEffect(talker,"ItemSound.quest_finish");
		myself->ShowPage(talker,"lady_of_the_lake_q0247_05.htm");
		myself->AddLog(2,talker,247);
		myself->SetOneTimeQuestFlag(talker,247,1);
		myself->AddUseSkillDesire(talker,1110785,0,0,1000000);
		myself->SetNobless(talker);
You'd have to take out all the '&& talker.subjob_id != 0' checks from the quest that makes u noblesse.

This is the nasc form, you'll have to edit the AI form, wich in this case you have to delete the following:
Code:
	push_event	//  talker
	push_const 40
	add
	fetch_i	//  subjob_id
	push_const 152
	add
	fetch_i4
	push_const 0
	not_equal
	and
m4rk is offline  
Old 30.05.2007, 20:56   #8
goodtimeshaxor
Архивный участник
 
Join Date: Oct 2006
Posts: 108
Default

Perfect m4rk, thanks for doing that for me.
goodtimeshaxor is offline  
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 20:55.