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 03-17-2012, 01:07 PM
Hateborne
Hill Giant
 
Join Date: May 2010
Posts: 125
Default Determining Target or Self Spells

I apologize to ask this, but what field in spells_new makes the determination between targettable and self spells? I am probably looking right at it. Is it simply spell range 0?

Thank You,

-Hate
Reply With Quote
  #2  
Old 03-17-2012, 01:16 PM
lerxst2112
Demi-God
 
Join Date: Aug 2010
Posts: 1,742
Default

The targettype field.

Code:
//Target Type IDs
typedef enum {
/* 01 */	ST_TargetOptional = 0x01,
/* 02 */	ST_AEClientV1 = 0x02,
/* 03 */	ST_GroupTeleport = 0x03,
/* 04 */	ST_AECaster = 0x04,
/* 05 */	ST_Target = 0x05,
/* 06 */	ST_Self = 0x06,
/* 07 */	// NOT USED
/* 08 */	ST_AETarget = 0x08,
/* 09 */	ST_Animal = 0x09,
/* 10 */	ST_Undead = 0x0a,
/* 11 */	ST_Summoned = 0x0b,
/* 12 */	// NOT USED
/* 13 */	ST_Tap = 0x0d,
/* 14 */	ST_Pet = 0x0e,
/* 15 */	ST_Corpse = 0x0f,
/* 16 */	ST_Plant = 0x10,
/* 17 */	ST_Giant = 0x11, //special giant
/* 18 */	ST_Dragon = 0x12, //special dragon
/* 19 */	// NOT USED
/* 20 */	ST_TargetAETap = 0x14,
/* 21 */	// NOT USED
/* 22 */	// NOT USED
/* 23 */	// NOT USED
/* 24 */	ST_UndeadAE = 0x18,
/* 25 */	ST_SummonedAE = 0x19,
/* 26 */	// NOT USED
/* 27 */	// NOT USED
/* 28 */	// NOT USED
/* 29 */	// NOT USED
/* 30 */	// NOT USED
/* 31 */	// NOT USED
/* 32 */	ST_AECaster2 = 0x20, //ae caster hatelist maybe?
/* 33 */	ST_HateList = 0x21,
/* 34 */	ST_LDoNChest_Cursed = 0x22,
/* 35 */	ST_Muramite = 0x23, //only works on special muramites
/* 36 */	ST_AreaClientOnly = 0x24,
/* 37 */	ST_AreaNPCOnly = 0x25,
/* 38 */	ST_SummonedPet = 0x26,
/* 39 */	ST_GroupNoPets = 0x27,
/* 40 */	ST_AEBard = 0x28,
/* 41 */	ST_Group = 0x29,
/* 42 */	ST_Directional = 0x2a, //ae around this target between two angles
/* 43 */	ST_GroupClientAndPet = 0x2b,
/* 44 */	ST_Beam = 0x2c, //like directional but facing in front of you always
/* 45 */	//ST_Ring = 0x2d, // Like a mix of PB ae + rain spell(has ae duration)
/* 46 */	ST_TargetsTarget = 0x2e, // uses the target of your target
/* 47 */	//ST_PetMaster = 0x2e, // uses the master as target
} SpellTargetType;
Reply With Quote
  #3  
Old 03-17-2012, 05:14 PM
Hateborne
Hill Giant
 
Join Date: May 2010
Posts: 125
Default

Excellent! Thank you lerxst2112, ever the badass.

-Hate
Reply With Quote
  #4  
Old 04-15-2012, 09:52 AM
thepoetwarrior
Discordant
 
Join Date: Aug 2007
Posts: 307
Default

Trying to make AoE Rez, but since Rez needs to target a corpse instead of a live player, is it even possible?
Reply With Quote
  #5  
Old 04-15-2012, 10:20 AM
chrsschb's Avatar
chrsschb
Dragon
 
Join Date: Nov 2008
Location: GA
Posts: 904
Default

Perhaps use the AEBard targettype? (totally guessing)
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 05:19 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