Added PEPS AI
Added PEPS AI. Full compile. Reorganized repository.
This commit is contained in:
18
src/module/nss/cb_attack_pc.nss
Normal file
18
src/module/nss/cb_attack_pc.nss
Normal file
@@ -0,0 +1,18 @@
|
||||
#include "nw_i0_generic"
|
||||
|
||||
void main()
|
||||
{
|
||||
|
||||
object oPC = GetPCSpeaker();
|
||||
|
||||
object oTarget;
|
||||
oTarget = OBJECT_SELF;
|
||||
|
||||
SetIsTemporaryEnemy(oPC, oTarget);
|
||||
|
||||
AssignCommand(oTarget, ActionAttack(oPC));
|
||||
|
||||
AssignCommand(oTarget, DetermineCombatRound(oPC));
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user