Initial upload
Initial upload
This commit is contained in:
42
_module/nss/supmastrvsmonkpc.nss
Normal file
42
_module/nss/supmastrvsmonkpc.nss
Normal file
@@ -0,0 +1,42 @@
|
||||
object oTarget;
|
||||
|
||||
/* void CreateItemOnObjectVoid(string sItemTemplate, object oTarget=OBJECT_SELF, int nStackSize=1)
|
||||
{
|
||||
CreateItemOnObject(sItemTemplate, oTarget, nStackSize);
|
||||
} */
|
||||
|
||||
|
||||
//Put this on action taken in the conversation editor
|
||||
#include "nw_i0_generic"
|
||||
#include "nw_i0_tool"
|
||||
|
||||
void main()
|
||||
{
|
||||
|
||||
object oPC = GetPCSpeaker();
|
||||
|
||||
if ((GetLevelByClass(CLASS_TYPE_MONK, oPC)>0))
|
||||
{
|
||||
oTarget = OBJECT_SELF;
|
||||
|
||||
AdjustReputation(oPC, oTarget, -100);
|
||||
|
||||
SetIsTemporaryEnemy(oPC, oTarget);
|
||||
|
||||
ActionAttack(oPC);
|
||||
|
||||
DetermineCombatRound(oPC);
|
||||
|
||||
oTarget = GetObjectByTag("suprememasterli44");
|
||||
|
||||
AdjustReputation(oPC, oTarget, -100);
|
||||
|
||||
SetIsTemporaryEnemy(oPC, oTarget);
|
||||
|
||||
AssignCommand(oTarget, ActionAttack(oPC));
|
||||
|
||||
AssignCommand(oTarget, DetermineCombatRound(oPC));
|
||||
|
||||
DelayCommand(50.0, RewardPartyXP(50005, oPC, FALSE));
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user