Jump to content


Photo

min level/max level in spells


5 replies to this topic

#1 subtledoctor

subtledoctor
  • Modders
  • 2445 posts
  • Gender:Male

Posted 23 January 2018 - 08:55 AM

Is there any particular trick to this?  I'm trying to make a spell that Holds undead up to 5 levels below the caster, and Controls them if they are 6 or more levels below the caster:

Screen Shot 2018-01-23 at 11.56.08 AM.png

Screen Shot 2018-01-23 at 11.56.27 AM.png

 

But when this caster goes to High Hedge at 10th level, the skeletons are only being Held, not Controlled.  I'm pretty sure they are not 5+ hit dice... so, any idea what I'm doing wrong?


Edited by subtledoctor, 23 January 2018 - 08:55 AM.

Faiths & Powers: Spell spheres and kit pack for priests and paladins
Might & Guile: Tweaks and kits for warriors and rogues
Scales of Balance: Game tweaks and rule overhauls
NPC_EE: More options for NPCs in BGEE, SoD, & BG2EE


#2 c4_angel

c4_angel
  • Members
  • 33 posts
  • Gender:Male
  • Location:Shanghai, China

Posted 25 January 2018 - 11:12 PM

Seems the mInimum level should be 0, as the "Holy Word" spell (sppr710) in SR.



#3 subtledoctor

subtledoctor
  • Modders
  • 2445 posts
  • Gender:Male

Posted 26 January 2018 - 04:28 AM

Hmm... of course I tried to simplify things for purposes of posting, and it may have muddied the issue. I would actually like to have three effects:
- Slow at some range (y < level)
- Hold at some range (x < level < y)
- Control at some range (level < x)

The Control effect is never kicking in. So it seems like maybe you can only use max level or min level? But not both?

Faiths & Powers: Spell spheres and kit pack for priests and paladins
Might & Guile: Tweaks and kits for warriors and rogues
Scales of Balance: Game tweaks and rule overhauls
NPC_EE: More options for NPCs in BGEE, SoD, & BG2EE


#4 Gwendolyne

Gwendolyne
  • Members
  • 187 posts
  • Gender:Male
  • Location:France

Posted 26 January 2018 - 08:08 AM

I know you are modding with EE, but I used this leveling many times in vanilla BG2 without any trouble. Maybe the problem is somewhere else: pro, cre files you are testing...


CARPE DIEM...



In progress : Menace sur le Royaume de Diamant Éternel

#5 Avenger

Avenger
  • Modders
  • 3789 posts
  • Gender:Male
  • Location:Hungary

Posted 27 January 2018 - 02:15 AM

Hmm... of course I tried to simplify things for purposes of posting, and it may have muddied the issue. I would actually like to have three effects:
- Slow at some range (y < level)
- Hold at some range (x < level < y)
- Control at some range (level < x)

The Control effect is never kicking in. So it seems like maybe you can only use max level or min level? But not both?

 

Then why hold works? You use both there.



#6 subtledoctor

subtledoctor
  • Modders
  • 2445 posts
  • Gender:Male

Posted 27 January 2018 - 05:26 AM

Hmm... of course I tried to simplify things for purposes of posting, and it may have muddied the issue. I would actually like to have three effects:
- Slow at some range (y < level)
- Hold at some range (x < level < y)
- Control at some range (level < x)

The Control effect is never kicking in. So it seems like maybe you can only use max level or min level? But not both?

 
Then why hold works? You use both there.
The question is, why is the hold working at all? Skeletons are < x, so it shouldn't apply at all. But it does

My hypothesis is, once the spell evaluates (level < y), which is true of skeletons, then it doesn't evaluate the other condition, or the later Control effect. But this is my first time messing around with these fields, so I thought I would reach out and see if anyone else had more experience with it.

Edited by subtledoctor, 27 January 2018 - 05:27 AM.

Faiths & Powers: Spell spheres and kit pack for priests and paladins
Might & Guile: Tweaks and kits for warriors and rogues
Scales of Balance: Game tweaks and rule overhauls
NPC_EE: More options for NPCs in BGEE, SoD, & BG2EE




Reply to this topic



  


1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users