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?
Giving objects spell immunity
Débuté par
Shaun the Crazy One
, janv. 26 2012 02:39
#1
Posté 26 janvier 2012 - 02:39
#2
Posté 26 janvier 2012 - 04:00
Make the door Plot. Then it can neither be bashed nor opened by spell. It can still be picked.
#3
Posté 26 janvier 2012 - 05:35
Fair certain a plot door can still be effected by knock but I'll try it out
#4
Posté 26 janvier 2012 - 07:22
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);
}
}
// 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
Posté 26 janvier 2012 - 07:24
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.
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
Posté 26 janvier 2012 - 12:11
Plot doors are not affected by knock. 100% certainty on this.





Retour en haut






