Goblets of wine
#1
Do they all require poison saves, or did Vezimer try to assassinate Maximilian?
"I can't get in there; it's locked up tighter than a chastity belt on a Red Wizard's daughter."
-Aligonda
Reply
#2
How many did you drink?
Tempus' orders to all combatants:
1. Be fearless. 2. Never turn away from a fight. 3. Obey the rules of war.
Reply
#3
A save should not be a requirement for any normal goblets or wine or anything that can be drunk. Below is the code for poisoned drinks. If a drink has been poisoned, you should receive the flavor text message "You realize too late that this drink is poisoned!"

Code:
//Used Drink Item
  if ((FindSubString(sItemTag,"Drink") != -1) && (nDualItem != 1)) {
    if (nHUNGERSYSTEM = 1) {
      //Thayan 6/20/11 - Handle assassin-poisoned drinks
      int iIsAssassinPoisoned = GetLocalInt(oItem, "AppliedPoison");
      if (iIsAssassinPoisoned) {
        AssignCommand(oPC,ActionPlayAnimation(ANIMATION_FIREFORGET_DRINK));
        DelayCommand(1.0, SendMessageToPC(oPC,TAKEADRINKOF + sName));
        DelayCommand(2.0, FloatingTextStringOnCreature("You realize too late that this drink is poisoned!", oPC, FALSE));

        if (iIsAssassinPoisoned == 100) iIsAssassinPoisoned = 0; //Handle Nightshade poison
        DelayCommand(3.0, ApplyEffectToObject(DURATION_TYPE_PERMANENT, SupernaturalEffect(EffectPoison(iIsAssassinPoisoned)), oPC)); //Apply the poison effect and VFX impact
        return;
      }

      if (IntToFloat(nTCurrent) >= fTTotal) {
        //Thayan - 11/27/05 - added next 7 lines so people can drink as much alcohol as they want
        if (FindSubString(sItemTag,"ALCOHOL") != -1) {
          AssignCommand (oPC, ActionPlayAnimation (ANIMATION_FIREFORGET_DRINK));
          DelayCommand(1.0, SendMessageToPC(oPC,TAKEADRINKOF + sName));
          ApplyAlcoholEffectToPC(sItemTag, oPC);
          return;
        }
        DelayCommand(1.0, SendMessageToPC(oPC,NOTTHIRSTY));
        //Give a charge back
        if (nBottle >= 0) {
          SetItemCharges(oItem, nBottle+1);
          return;
        }
      }
      else {
        DelayCommand(1.0, SendMessageToPC(oPC,TAKEADRINKOF + sName));
        UseFoodOrDrinkItem(oPC,oItem);
      }
    }
  }
Reply
#4
Thank you. There was just a save against a poison effect, nothing else, when he tried to drink it.
"I can't get in there; it's locked up tighter than a chastity belt on a Red Wizard's daughter."
-Aligonda
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)