Jump to content

jamesandrew

Members
  • Posts

    60
  • Joined

  • Last visited

Posts posted by jamesandrew

  1. 11 hours ago, Winterfox said:

    The best solution I came up with would be to use autobonus2, it will add a script that will execute every time the player using the item is attacked, run a check if he is poisoned and if he is, it will apply a physical damage reduction by 20% for 10 seconds.

    I didn't test it, but it should look similar to this:

    autobonus2("{ if(checkoption2(1)) bonus bNoWeaponDamage, 20; }", 1000, 10000, BF_WEAPON|BF_MAGIC|BF_MISC);

     

    Thanks for the answer. I tested it and It's working just like what you described.

    But the damage reduction only triggered after the user gets attacked a few times even though he already poisoned at first place.

    Any others solution?

     

×
×
  • Create New...