Finished PRC8 integration
Finished PRC8 integration. Moved creature abilities to top hak. Setup tooling. Created release archive
This commit is contained in:
@@ -13,7 +13,7 @@ This script fires when gem spray ability from wand is activated
|
||||
// Gems go flying out in a cone. All targets in the area take d4() damage
|
||||
// for each of 1-5 gems, and end up with that number of gems in their
|
||||
// inventory. Reflex save halves damage.
|
||||
#include "x0_i0_spells"
|
||||
#include "prc_inc_spells"
|
||||
// Gems go flying out in a cone. All targets in the area take d4() damage
|
||||
// for each of 1-5 gems, and end up with that number of gems in their
|
||||
// inventory. Reflex save halves damage.
|
||||
@@ -33,11 +33,11 @@ void DoFlyingGems(object oCaster, location lTarget)
|
||||
{
|
||||
if (!GetIsFriend(oTarget))
|
||||
{
|
||||
nDamage = d4(GetCasterLevel(OBJECT_SELF));
|
||||
nDamage = d4(PRCGetCasterLevel(OBJECT_SELF));
|
||||
|
||||
|
||||
// Make Reflex save to halve
|
||||
if ( MySavingThrow(SAVING_THROW_REFLEX, oTarget, 14)) {
|
||||
if ( PRCMySavingThrow(SAVING_THROW_REFLEX, oTarget, 14)) {
|
||||
nDamage = nDamage/2;
|
||||
}
|
||||
|
||||
@@ -56,5 +56,5 @@ void DoFlyingGems(object oCaster, location lTarget)
|
||||
|
||||
void main ()
|
||||
{
|
||||
DoFlyingGems(OBJECT_SELF, GetSpellTargetLocation());
|
||||
DoFlyingGems(OBJECT_SELF, PRCGetSpellTargetLocation());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user