/* 1. Bless
2. Casts bless on a PC when a stationary object is used, like a chair, or a bed,
whatever.
3. notes? we don't need no stinking notes
4.
(nwscript)
*/
void main()
{
object oPC = GetLastUsedBy();
if ( GetIsPC( oPC ) )
{
effect ebless1 = EffectAttackIncrease( 3 );
effect ebless2 = EffectSavingThrowIncrease( SAVING_THROW_ALL, 1 );
ActionCastSpellAtObject( SPELL_BLESS, oPC );
ApplyEffectToObject( DURATION_TYPE_INSTANT, ebless1, oPC );
ApplyEffectToObject( DURATION_TYPE_INSTANT, ebless2, oPC );
SendMessageToPC (oPC, "You feel stronger!");
}
}