Go Back   EQEmulator Home > EQEmulator Forums > Support > Spell Support

Spell Support Broken Spells? Want them Fixed? Request it here.

Reply
 
Thread Tools Display Modes
  #1  
Old 01-13-2011, 03:40 PM
provocating's Avatar
provocating
Demi-God
 
Join Date: Nov 2007
Posts: 2,175
Default Question on KEI

I seem to remember on live that KEI had around a level 45 minimum for players to have it cast on them. So if you were low level you would have to get breeze cast on you, then clarity then the best at the time was KEI.

Does this work the same on the Emulator ?

I ask because the buff bot I just created can cast KEI on a level 1 player.
Reply With Quote
  #2  
Old 01-13-2011, 05:21 PM
Chanus
Hill Giant
 
Join Date: Oct 2010
Posts: 123
Default

The restriction put in place was level 46 to receive KEI, but that wasn't originally the case. I don't know if the restriction is included.

Originally, I believe you couldn't cast KEI on a player below level 40, but you could get around it by having them join your group and casting it on yourself because there was a bug with group buffs that allowed it.

I think your question is more whether or not the restrictions exist in the emu code, though, in which case I don't know.
Reply With Quote
  #3  
Old 01-13-2011, 05:35 PM
provocating's Avatar
provocating
Demi-God
 
Join Date: Nov 2007
Posts: 2,175
Default

Yep, that is my question. You can imagine if there is no restriction, you could cast an HP buff and thorns on a level 1 and have them up to 40 in an hour.
Reply With Quote
  #4  
Old 01-13-2011, 07:06 PM
Caryatis
Dragon
 
Join Date: May 2009
Location: Milky Way
Posts: 541
Default

The search button can answer alot of questions btw.
Reply With Quote
  #5  
Old 01-13-2011, 08:33 PM
provocating's Avatar
provocating
Demi-God
 
Join Date: Nov 2007
Posts: 2,175
Default

Yeah but things like KEI are normally too short.
Reply With Quote
  #6  
Old 01-13-2011, 08:46 PM
provocating's Avatar
provocating
Demi-God
 
Join Date: Nov 2007
Posts: 2,175
Default

I did find where someone ran into this before though.

http://www.eqemulator.org/forums/sho...ht=spell+level
Reply With Quote
  #7  
Old 01-13-2011, 09:41 PM
provocating's Avatar
provocating
Demi-God
 
Join Date: Nov 2007
Posts: 2,175
Default

I will share what I learned, this worked perfect for me. The spell was only cast on me, client and only for level 45 and up and also only if I was in range.

Code:
		my @moblist = $entity_list->GetMobList();
		foreach $ent (@moblist)
		{
			my $dist = $ent->CalculateDistance($npc->GetSpawnPointX(),$npc->GetSpawnPointY(),$npc->GetSpawnPointZ());
			my $level = $ent->GetLevel();
			if(int($dist)<100 && $level>=45 && $ent->IsClient())
			{
			$ent->CastSpell(2570, $ent, 10, -1, -1)
			}
		}
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 03:27 PM.


 

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