PDA

View Full Version : Scribeage ...


Producer_BMW
07-30-2008, 05:34 PM
Can someone tell me how to set up a spell scriber


from when they say Scribe spells it does 1 - 75 spells ??

trevius
07-30-2008, 07:10 PM
I believe that GeorgeS' Quest tool has an example quest for spell scriber.

Here is the one I use:

#A conversation to Scribe ALL spells For Player (up to curr. level)
sub EVENT_SAY {

if ($text =~/hail/i) {
quest::say ("Good day to you, $name. Would you like me to teach you all of your [spells]? Or maybe you are a [bard] in need of music lessons?"); }

if ($text =~/bard/i) {
quest::say ("Yes, normally you would think of a bard as being an adept student of music. For some reason, these lands slow the music learning ability to such an extent that I am willing to use my magic to train their abilities. Are you [ready] to learn?"); }

if ($text =~/ready/i) {
quest::say ("Listen closely as the essence of music fills your soul!");
quest::addskill(12,255);
quest::addskill(41,255);
quest::addskill(49,255);
quest::addskill(54,255);
quest::addskill(70,255); }

if ($text =~/spells/i) {
quest::say ("Good, stand where you are while I begin your lessons");
quest::scribespells(); }

}

Mine also trains bard skills, since they level insanely slow in the emu. But, if you just want to spell scribe, I am sure you can figure it out from there.

AudioGarden21
12-21-2008, 01:28 AM
Don't forget to put $ulevel between the quotes where it says "quest::scribespells(); }".

So it will look like this,

"quest::scribespells($ulevel); }"

Otherwise it won't scribe anything.

kiirdiir
12-21-2008, 02:08 AM
Mine also trains bard skills, since they level insanely slow in the emu.

Derail:

I hate that as well, and it is a very easy change.

This was take from old source, so it may be out of date, but the change is very simple. In zone\spells.cpp:

void Client::CheckSongSkillIncrease(int16 spell_id){
switch(spells[spell_id].skill)
{
case SINGING:
CheckIncreaseSkill(SINGING, -20);
break;
case PERCUSSION_INSTRUMENTS:
if(this->itembonuses.percussionMod > 0)
CheckIncreaseSkill(PERCUSSION_INSTRUMENTS, -20);
else
CheckIncreaseSkill(SINGING, -20);
break;
case STRINGED_INSTRUMENTS:
if(this->itembonuses.stringedMod > 0)
CheckIncreaseSkill(STRINGED_INSTRUMENTS, -20);
else
CheckIncreaseSkill(SINGING, -20);
break;
case WIND_INSTRUMENTS:
if(this->itembonuses.windMod > 0)
CheckIncreaseSkill(WIND_INSTRUMENTS, -20);
else
CheckIncreaseSkill(SINGING, -20);
break;
case BRASS_INSTRUMENTS:
if(this->itembonuses.brassMod > 0)
CheckIncreaseSkill(BRASS_INSTRUMENTS, -20);
else
CheckIncreaseSkill(SINGING, -20);
break;
default:
break;
}
}

-20 is crawling slow; -15 seemed alright to me; and -10 seemed too fast. I would post it in the development section but it is minor, so please excuse the derail.

ChaosSlayer
12-21-2008, 02:19 AM
IMHO something like this should be placed as custom Rule so admins can set their own skill ups speed.

Doesn't such Rule allready exist for common skills? Bards skill should be incorporated into it then