Author Topic: Permanent Effects--just how permanent are they?  (Read 564 times)

Legacy_3RavensMore

  • Hero Member
  • *****
  • Posts: 1153
  • Karma: +0/-0
Permanent Effects--just how permanent are they?
« on: February 10, 2016, 11:21:16 pm »


               

Is the following effect truly permanent?


 


eBonus = EffectAbilityIncrease(ABILITY_WISDOM, 1);

ApplyEffectToObject(DURATION_TYPE_PERMANENT, eBonus, oPC);


Can it be dispelled by Rest or Magic?  If the PC is transferred between modules, will it still exist?  If the PC dies, will it still be present?  Should this be applied the the PC or the PC's skin to make it truly permanent? 


               
               

               
            

Legacy_Shadooow

  • Hero Member
  • *****
  • Posts: 7698
  • Karma: +0/-0
Permanent Effects--just how permanent are they?
« Reply #1 on: February 11, 2016, 12:09:36 am »


               

almost all effects are removed when player dies, not sure if there are exceptions


 


rest will also remove effects, their duration doesn't matter for this, but subtype - supernatural = not removed by rest


 


dispel magic can also dispel such effect, although this is a bit more lackluster as its influenced by the buggy effect caster level calculation, Im now not 100% sure about it, but I think effect created by module was dispelled but effect created by npc (outside of spellscript) was not. To prevent dispel magic to dispel such effect you need ot make it extraordinary or supernatural.


 


Transfer between module will remove all effects too.


 


Skin is possibly better place as this way it wont be affected by any of those issues, however skin has problems with polymorphs and horse system. Polymorphing will not transfer that bonus into polymorph for example.



               
               

               
            

Legacy_3RavensMore

  • Hero Member
  • *****
  • Posts: 1153
  • Karma: +0/-0
Permanent Effects--just how permanent are they?
« Reply #2 on: February 11, 2016, 01:29:30 pm »


               

Thanks Shadooow.  Now have something to experiment with...



               
               

               
            

Legacy_3RavensMore

  • Hero Member
  • *****
  • Posts: 1153
  • Karma: +0/-0
Permanent Effects--just how permanent are they?
« Reply #3 on: February 11, 2016, 04:40:14 pm »


               

Is there any way to show the bonus icons in the upper right of the screen--like the normal effect icons--when an effect is applied to the PCs skin?



               
               

               
            

Legacy_Shadooow

  • Hero Member
  • *****
  • Posts: 7698
  • Karma: +0/-0
Permanent Effects--just how permanent are they?
« Reply #4 on: February 11, 2016, 05:41:26 pm »


               


Is there any way to show the bonus icons in the upper right of the screen--like the normal effect icons--when an effect is applied to the PCs skin?




Not in vanilla but nwnx allows to create a custom effect with only icon.


               
               

               
            

Legacy_3RavensMore

  • Hero Member
  • *****
  • Posts: 1153
  • Karma: +0/-0
Permanent Effects--just how permanent are they?
« Reply #5 on: February 11, 2016, 05:54:48 pm »


               

Okay.  Thanks again.