Alangara_PRC8/_module/nss/dwarvenboose.nss
Jaysyn904 86feb9ca6f Initial commit
Initial commit.
2024-06-05 21:21:06 -04:00

28 lines
426 B
Plaintext

#include "prc_inc_racial"
void main()
{
object oPC;
oPC = GetItemActivator();
int iIsDwarf = ( MyPRCGetRacialType( oPC ) == RACIAL_TYPE_DWARF );
object oTarget;
oTarget = GetItemActivatedTarget();
if ( ! iIsDwarf )
{
effect eEffect;
eEffect = EffectBlindness();
ApplyEffectToObject(DURATION_TYPE_TEMPORARY, eEffect, oTarget, 30.0f);
}
else
{
AssignCommand( oPC, ActionSpeakString( "*burp* aaaah!" ) );
}
}