Jump to content


Photo

EE SPLSTATE


27 replies to this topic

#16 kreso

kreso
  • Modders
  • 2598 posts
  • Gender:Male
  • Location:Istra, Croatia

Posted 14 May 2017 - 08:08 PM

 

I did exactly that.
Edited Fireball to have 324 with Evasion check; added 328 with Evasion to thief CLAB file. Out of 20 castings, he evaded exactly 0 fireballs. :undecided:

And his level?

 

I've tried 1, 8, 11, 38. 

 

 

 

Question - are these set automatically or do they need to be patched onto spells?

 

Here's a list https://github.com/G...lib/ds.tph#L254 of those that need to be patched in. I may have missed a couple of later additions, though, since they've been forgetting to use proper format to add them.

Anything starting with the individual Spell Immunity states (in the .ids file) and afterwards is definitely custom-made and should be patched manually.

 

Ok. Example, Apsolute Immunity - I can simply use  LPF ADD_SPELL_EFFECT *code here* on it?



#17 kjeron

kjeron
  • Members
  • 47 posts

Posted 14 May 2017 - 08:32 PM

Then I don't know why it's not working for you.



#18 Ardanis

Ardanis

    A very GAR character

  • Modders
  • 2507 posts
  • Gender:Male
  • Location:Saint-Petersburg, Russia

Posted 14 May 2017 - 09:48 PM

Ok. Example, Apsolute Immunity - I can simply use  LPF ADD_SPELL_EFFECT *code here* on it?

 

Yep. It's already in EEs, though, so you don't exactly need to.


"Uguu~ Boku Ayu."

Before you start breaking wall tiles with your bare fists, ask yourself first - do you truly need it?

#19 kreso

kreso
  • Modders
  • 2598 posts
  • Gender:Male
  • Location:Istra, Croatia

Posted 15 May 2017 - 02:49 AM

 

Ok. Example, Apsolute Immunity - I can simply use  LPF ADD_SPELL_EFFECT *code here* on it?

 

Yep. It's already in EEs, though, so you don't exactly need to.

 

Spell Revisions overwrites this. :(

 

Then I don't know why it's not working for you.

Nvm, I'll try to do some more testing, but it isn't really important.



#20 Ardanis

Ardanis

    A very GAR character

  • Modders
  • 2507 posts
  • Gender:Male
  • Location:Saint-Petersburg, Russia

Posted 15 May 2017 - 11:47 AM

The DS file I linked to should be shipping with SR and re-updating the things, no?


"Uguu~ Boku Ayu."

Before you start breaking wall tiles with your bare fists, ask yourself first - do you truly need it?

#21 kreso

kreso
  • Modders
  • 2598 posts
  • Gender:Male
  • Location:Istra, Croatia

Posted 15 May 2017 - 01:06 PM

The DS file I linked to should be shipping with SR and re-updating the things, no?

Indeed.. :)



#22 Avenger

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

Posted 17 May 2017 - 07:40 AM

 

EDIT 3 - ah... what I saw in NI is opcode 322: "AoE evade check." There is no info on this in the IESDP, even in the new work-in-progress EE IESDP. Anyone know what it does? @Argent77?


I don't know if opcode 322 is working at all. From what I've been told by Avenger some time ago this opcode has been deprecated in favor of spell protections (opcode 318/324) to be more compatible with IWD.

 

opcode 322 is deprecated. Use opcode 318/324 with option 63 (just like opcode #206/#290 in vanilla iwd/2)



#23 Avenger

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

Posted 17 May 2017 - 07:45 AM

 

 

I did exactly that.
Edited Fireball to have 324 with Evasion check; added 328 with Evasion to thief CLAB file. Out of 20 castings, he evaded exactly 0 fireballs. :undecided:

And his level?

 

I've tried 1, 8, 11, 38. 

 

Did you set resource1 to the spell's resref ? Also, this opcode should precede the opcodes to be resisted.



#24 kreso

kreso
  • Modders
  • 2598 posts
  • Gender:Male
  • Location:Istra, Croatia

Posted 17 May 2017 - 09:02 AM



Did you set resource1 to the spell's resref ? Also, this opcode should precede the opcodes to be resisted.

I did all that. And tried again and again, no effect. Miracles happen, it seems - I did what I always did, tied evasion with spcl441 (swash AC bonus); and this time it worked :undecided: . Beats me why it failed to work before...

 

eva_zpspfp8kkp2.jpg

 

 

Tnx all for help.

Now I need to check if the splstates from the first post are set when one is under the effects of certain spells or not.

 

Acutally, I need to know about two of them only:

1) Held - is this set by STUN, HOLD etc. ?

2) Web - what triggers this state? Web effect from any source?


Edited by kreso, 17 May 2017 - 09:06 AM.


#25 kjeron

kjeron
  • Members
  • 47 posts

Posted 17 May 2017 - 11:41 AM

1) Held - is this set by STUN, HOLD etc. ?

2) Web - what triggers this state? Web effect from any source?

 

Neither SPLSTATE (WEB/HELD) is set automatically, but is unnecessary - they have their own STATS(Web/Hold) and/or STATE(Stun) which are set automatically.


Edited by kjeron, 17 May 2017 - 11:42 AM.


#26 kreso

kreso
  • Modders
  • 2598 posts
  • Gender:Male
  • Location:Istra, Croatia

Posted 17 May 2017 - 12:25 PM

 

1) Held - is this set by STUN, HOLD etc. ?

2) Web - what triggers this state? Web effect from any source?

 

Neither SPLSTATE (WEB/HELD) is set automatically, but is unnecessary - they have their own STATS(Web/Hold) and/or STATE(Stun) which are set automatically.

 

Can I use eff targeting vs this? 



#27 subtledoctor

subtledoctor
  • Modders
  • 1995 posts
  • Gender:Male

Posted 17 May 2017 - 01:34 PM

Don't think so, but you can do an .eff with opcode 318/324/326.

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


#28 Avenger

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

Posted 19 May 2017 - 06:46 AM

 

 

1) Held - is this set by STUN, HOLD etc. ?

2) Web - what triggers this state? Web effect from any source?

 

Neither SPLSTATE (WEB/HELD) is set automatically, but is unnecessary - they have their own STATS(Web/Hold) and/or STATE(Stun) which are set automatically.

 

Can I use eff targeting vs this? 

 

 

spell protections work with ANY stat (stat.ids), you might need to create a custom splprot.2da line.





Reply to this topic



  


1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users