Aller au contenu

Photo

Giving objects spell immunity


  • Veuillez vous connecter pour répondre
5 réponses à ce sujet

#1
Shaun the Crazy One

Shaun the Crazy One
  • Members
  • 183 messages
I trying to to make a section in my modle for a rouge of a moderate level, to do this I set up an unbreakable door with a DC 32 lock.  Problem is a wizard can still get in with a knock spell, or any character with chimes of opening.

What is  good way to give a door or placeable spell immunity?

#2
MasterChanger

MasterChanger
  • Members
  • 686 messages
Make the door Plot. Then it can neither be bashed nor opened by spell. It can still be picked.

#3
Shaun the Crazy One

Shaun the Crazy One
  • Members
  • 183 messages
Fair certain a plot door can still be effected by knock but I'll try it out

#4
Kaldor Silverwand

Kaldor Silverwand
  • Members
  • 1 598 messages
You could use an spell cast at script on the door to catch the Knock spell. I don't know if you can intercept it, but if not then you can re-lock the door with  script like this. I don't know if this would also work for the chimes of opening, but I imagine it uses knock as well.

// bb_door_knock_lock_ca
// Jan 2012

// Use as the spell cast at script for a locked door to re-lock it
// when the knock spell is cast.

void main()
{
int nSpell = GetLastSpell();

if(nSpell == SPELL_KNOCK)
{
SetLocked(OBJECT_SELF, TRUE);
}
}

Modifié par Kaldor Silverwand, 26 janvier 2012 - 07:23 .


#5
Kaldor Silverwand

Kaldor Silverwand
  • Members
  • 1 598 messages
And it is rogue, not rouge.

Also, I think the idea with plot regarding doors and chests is that it is assumed that you will lock them and require a key. Basically the plot point is that you need to acquire a key to open it and nothing else will work.  Since you aren't requiring a key the plot setting just prevents spell-related effects and the item being destroyed by bashing. Picking the lock will still work I think as long as a key is not required.

Modifié par Kaldor Silverwand, 26 janvier 2012 - 07:31 .


#6
M. Rieder

M. Rieder
  • Members
  • 2 530 messages
Plot doors are not affected by knock. 100% certainty on this.