Spell & Ability Upgrade
Reorganized hak files & removed duplicates. Added @rafhot's PRC spell & ability level scaling expansion. Further script integration. Full compile.
This commit is contained in:
@@ -1,10 +1,12 @@
|
||||
#include "prc_inc_spells"
|
||||
|
||||
void main()
|
||||
{
|
||||
object oPC = GetLastSpellCaster();
|
||||
if (GetIsDM(oPC)){return;}
|
||||
|
||||
if (GetIsPC(oPC) && GetLastSpellHarmful()){
|
||||
object target = GetSpellTargetObject();
|
||||
object target = PRCGetSpellTargetObject();
|
||||
if (GetIsFriend(oPC, target)== TRUE || GetIsNeutral(oPC, target)){
|
||||
AssignCommand(oPC, ClearAllActions());
|
||||
AssignCommand(oPC, JumpToLocation(GetLocation(GetWaypointByTag("prison"))));
|
||||
|
Reference in New Issue
Block a user