Go Back   EQEmulator Home > EQEmulator Forums > Archives > Archive::Development > Archive::Quests

Archive::Quests Archive area for Quests's posts that were moved here after an inactivity period of 90 days.

Reply
 
Thread Tools Display Modes
  #1  
Old 08-07-2004, 05:33 AM
sotonin
Demi-God
 
Join Date: May 2004
Posts: 1,177
Default Reset Spell Specialization?

Is there a function out there to reset a players spell specialization? I am working on "Ostorm"'s quest at the moment and am at a loss. here's what i've got so far.

Code:
sub EVENT_SAY { 
if($text=~/Hail/i){
quest::say("I am Ostorm of the Temple of Solusek Ro. guardian of the sacred crystal of Kintaz.  Be wary and keep your distance. lest the proximity of the crystal [steal] your [memories].");
}
if($text=~/steal/i){
quest::say("It is the nature of the crystal of Kintaz to steal the memories of those around it. Only I am safe, and then only because of the strong wardings placed on me by Solusek Ro himself.  Are you interested in [losing] any [memories]?");
}
if($text=~/losing/i){
quest::say("Recently, I have been experimenting with the crystal, and have found that those exposed to ruby light filtered through it tend to lose the memories of their most specialized arcane skills.  Are you sure you want to [lose advanced memory] of specialization?");
}
if($text=~/lose advanced memory/i){
quest::say("Be warned that once exposed to the crystal, I can not reverse the effects.  If you desire exposure, fetch me a ruby.");
}
}
sub EVENT_ITEM {
	if($itemcount{10031} == 2 && $itemcount{10000} == 1){
		quest::say("Well done, $name, here is your Lambent Fire Opal.");
		quest::summonitem("10128");
	} elsif($itemcount{10035} == 1){
		quest::idontknowhowtodoit("");
	} else {
		quest::say("I don't need this.");
		if($item1 > 0){quest::summonitem("$item1");} 
		if($item2 > 0){quest::summonitem("$item2");} 
		if($item3 > 0){quest::summonitem("$item3");} 
		if($item4 > 0){quest::summonitem("$item4");}
		if($platinum != 0 || $gold !=0 || $silver != 0 || $copper != 0) {quest::givecash($platinum, $gold, $silver, $copper);}
	}
}

#END of FILE Zone:soltemple  ID:80012 -- Ostorm
Reply With Quote
  #2  
Old 08-07-2004, 06:51 AM
Charmy
Discordant
 
Join Date: May 2004
Location: The DeathStar of David
Posts: 337
Default

Hmm i think there is a command to set a single skill..

quest::setskill maybe? i could be wrong i don't remember...

I know that there is the quest::setallskill and i know that bush wrote some scripts for his "skill skeles" that set single skills, so i know its possible give me a min to serach for it.
__________________
Mess with the Jews, and we will take all your money
Grunties Rule
And with that... I end
Any Other Questions, please refer to the Following:
http://iliilllli1.netfirms.com
Reply With Quote
  #3  
Old 08-07-2004, 06:54 AM
Charmy
Discordant
 
Join Date: May 2004
Location: The DeathStar of David
Posts: 337
Default

Here we go

Code:
# Skills: 

#quest::setskill(6,5); # Apply Poison 
#quest::setskill(7,5); # Archery 
#quest::setskill(8,5); # Backstab 
#quest::setskill(10,5); # Bash 
#quest::setskill(11,5); # Block 
#quest::setskill(12,5); # Brass Instruments 
#quest::setskill(16,5); # Disarm 
#quest::setskill(17,5); # Disarm Traps 
#quest::setskill(19,5); # Dodge 
#quest::setskill(20,5); # Double Attack 
#quest::setskill(21,5); # Dragon Punch 
#quest::setskill(22,5); # Dual Wield 
#quest::setskill(23,5); # Eagle Strike 
#quest::setskill(25,5); # Feign Death 
#quest::setskill(26,5); # Flying Kick 
#quest::setskill(27,5); # Forage 
#quest::setskill(29,5); # Hide 
#quest::setskill(30,5); # Kick 
#quest::setskill(31,5); # Meditate 
#quest::setskill(32,5); # Mend 
#quest::setskill(34,5); # Parry 
#quest::setskill(35,5); # Pick Lock 
#quest::setskill(37,5); # Riposte 
#quest::setskill(38,5); # Round Kick 
#quest::setskill(39,5); # Safe Fall 
#quest::setskill(42,5); # Sneak 
#quest::setskill(43,5); # Specialize Abjuration 
#quest::setskill(44,5); # Specialize Alteration 
#quest::setskill(45,5); # Specialize Conjuration 
#quest::setskill(46,5); # Specialize Divination 
#quest::setskill(47,5); # Specialize Evocation 
#quest::setskill(48,5); # Pick Pockets 
#quest::setskill(49,5); # Stringed Instruments 
#quest::setskill(52,5); # Tiger Claw 
#quest::setskill(53,5); # Tracking 
#quest::setskill(54,5); # Wind Instruments 
#quest::setskill(56,5); # Make Poison 
#quest::setskill(58,5); # Research 
#quest::setskill(59,5); # Alchemy 
#quest::setskill(62,5); # Sense Traps 
#quest::setskill(70,5); # Percussion Instruments 
#quest::setskill(71,5); # Intimidation 
#quest::setskill(73,5); # Taunt
Thanks bUsH wherever he is....


so to reset the skills you would do this

Code:
if($itemcount {10035} == 1)
 { 
   quest::setskill(43,0); # Specialize Abjuration 
   quest::setskill(44,0); # Specialize Alteration 
   quest::setskill(45,0); # Specialize Conjuration   
   quest::setskill(46,0); # Specialize Divination 
   quest::setskill(47,0); # Specialize Evocation
  }
__________________
Mess with the Jews, and we will take all your money
Grunties Rule
And with that... I end
Any Other Questions, please refer to the Following:
http://iliilllli1.netfirms.com
Reply With Quote
  #4  
Old 08-07-2004, 08:43 AM
sotonin
Demi-God
 
Join Date: May 2004
Posts: 1,177
Default

Nice. )

thanks
Reply With Quote
  #5  
Old 08-07-2004, 04:02 PM
Charmy
Discordant
 
Join Date: May 2004
Location: The DeathStar of David
Posts: 337
Default

Np. Just make a note when using the setskill ability, giving a mage 252 in flying kick doesn't work. which is to bad =( but its still fun =)
__________________
Mess with the Jews, and we will take all your money
Grunties Rule
And with that... I end
Any Other Questions, please refer to the Following:
http://iliilllli1.netfirms.com
Reply With Quote
  #6  
Old 08-07-2004, 04:37 PM
sotonin
Demi-God
 
Join Date: May 2004
Posts: 1,177
Default

hehe. im only using it to reset specializations ) fun idea though
Reply With Quote
  #7  
Old 08-08-2004, 02:55 AM
animepimp
Dragon
 
Join Date: Jan 2004
Posts: 860
Default

It doesn't work to give them 252 in a skill that needs to be activated, but you can give them 252 in other skills and have it work. Like if you give them 252 in dual weild and then use #equip to equip another weapon in their right hand they will dual weild them
Reply With Quote
  #8  
Old 08-08-2004, 02:00 PM
Charmy
Discordant
 
Join Date: May 2004
Location: The DeathStar of David
Posts: 337
Default

Bah.....h....h..... hmm well a dual weilding gnome mage would be rather fun...
__________________
Mess with the Jews, and we will take all your money
Grunties Rule
And with that... I end
Any Other Questions, please refer to the Following:
http://iliilllli1.netfirms.com
Reply With Quote
Reply


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 -4. The time now is 07:45 AM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3