diff --git a/_haks/poa_exp_abilities/PRC_vampdrain.ncs b/_haks/poa_exp_abilities/PRC_vampdrain.ncs index 84ae959b..dbb6427b 100644 Binary files a/_haks/poa_exp_abilities/PRC_vampdrain.ncs and b/_haks/poa_exp_abilities/PRC_vampdrain.ncs differ diff --git a/_haks/poa_exp_abilities/inv_adeptbreath.ncs b/_haks/poa_exp_abilities/inv_adeptbreath.ncs index 845fbc84..00bd45a4 100644 Binary files a/_haks/poa_exp_abilities/inv_adeptbreath.ncs and b/_haks/poa_exp_abilities/inv_adeptbreath.ncs differ diff --git a/_haks/poa_exp_abilities/inv_drgnfireadpt.ncs b/_haks/poa_exp_abilities/inv_drgnfireadpt.ncs index 682e5850..f827e78a 100644 Binary files a/_haks/poa_exp_abilities/inv_drgnfireadpt.ncs and b/_haks/poa_exp_abilities/inv_drgnfireadpt.ncs differ diff --git a/_haks/poa_exp_abilities/nw_s1_aurablnda.ncs b/_haks/poa_exp_abilities/nw_s1_aurablnda.ncs index 1c146054..e4aa3c2b 100644 Binary files a/_haks/poa_exp_abilities/nw_s1_aurablnda.ncs and b/_haks/poa_exp_abilities/nw_s1_aurablnda.ncs differ diff --git a/_haks/poa_exp_abilities/nw_s1_auracoldc.ncs b/_haks/poa_exp_abilities/nw_s1_auracoldc.ncs index 52a70237..a5e77122 100644 Binary files a/_haks/poa_exp_abilities/nw_s1_auracoldc.ncs and b/_haks/poa_exp_abilities/nw_s1_auracoldc.ncs differ diff --git a/_haks/poa_exp_abilities/nw_s1_auraelecc.ncs b/_haks/poa_exp_abilities/nw_s1_auraelecc.ncs index c07cacab..2d8e4c0c 100644 Binary files a/_haks/poa_exp_abilities/nw_s1_auraelecc.ncs and b/_haks/poa_exp_abilities/nw_s1_auraelecc.ncs differ diff --git a/_haks/poa_exp_abilities/nw_s1_aurafear.ncs b/_haks/poa_exp_abilities/nw_s1_aurafear.ncs index f223bb0b..8612d76f 100644 Binary files a/_haks/poa_exp_abilities/nw_s1_aurafear.ncs and b/_haks/poa_exp_abilities/nw_s1_aurafear.ncs differ diff --git a/_haks/poa_exp_abilities/nw_s1_aurafirec.ncs b/_haks/poa_exp_abilities/nw_s1_aurafirec.ncs index bccc3062..725e1695 100644 Binary files a/_haks/poa_exp_abilities/nw_s1_aurafirec.ncs and b/_haks/poa_exp_abilities/nw_s1_aurafirec.ncs differ diff --git a/_haks/poa_exp_abilities/nw_s1_auramenca.ncs b/_haks/poa_exp_abilities/nw_s1_auramenca.ncs index 9c8e9a5a..507f0374 100644 Binary files a/_haks/poa_exp_abilities/nw_s1_auramenca.ncs and b/_haks/poa_exp_abilities/nw_s1_auramenca.ncs differ diff --git a/_haks/poa_exp_abilities/nw_s1_auraprota.ncs b/_haks/poa_exp_abilities/nw_s1_auraprota.ncs index 468539b7..cea1eeca 100644 Binary files a/_haks/poa_exp_abilities/nw_s1_auraprota.ncs and b/_haks/poa_exp_abilities/nw_s1_auraprota.ncs differ diff --git a/_haks/poa_exp_abilities/nw_s1_aurastuna.ncs b/_haks/poa_exp_abilities/nw_s1_aurastuna.ncs index 7bf66a7f..b6eda589 100644 Binary files a/_haks/poa_exp_abilities/nw_s1_aurastuna.ncs and b/_haks/poa_exp_abilities/nw_s1_aurastuna.ncs differ diff --git a/_haks/poa_exp_abilities/nw_s1_auraunata.ncs b/_haks/poa_exp_abilities/nw_s1_auraunata.ncs index adac269e..8ebd9473 100644 Binary files a/_haks/poa_exp_abilities/nw_s1_auraunata.ncs and b/_haks/poa_exp_abilities/nw_s1_auraunata.ncs differ diff --git a/_haks/poa_exp_abilities/nw_s1_aurauneaa.ncs b/_haks/poa_exp_abilities/nw_s1_aurauneaa.ncs index e97e71f7..34bc1670 100644 Binary files a/_haks/poa_exp_abilities/nw_s1_aurauneaa.ncs and b/_haks/poa_exp_abilities/nw_s1_aurauneaa.ncs differ diff --git a/_haks/poa_exp_abilities/nw_s1_barbrage.ncs b/_haks/poa_exp_abilities/nw_s1_barbrage.ncs index 65503bcd..c1d6ef3f 100644 Binary files a/_haks/poa_exp_abilities/nw_s1_barbrage.ncs and b/_haks/poa_exp_abilities/nw_s1_barbrage.ncs differ diff --git a/_haks/poa_exp_abilities/nw_s1_barbrage.nss b/_haks/poa_exp_abilities/nw_s1_barbrage.nss index acae6862..f6454d7b 100644 --- a/_haks/poa_exp_abilities/nw_s1_barbrage.nss +++ b/_haks/poa_exp_abilities/nw_s1_barbrage.nss @@ -261,7 +261,7 @@ void main() if (nTotem) { int nTotemRage = GetMaxEssentiaCapacityFeat(oPC) - nEssentia; - int nExtraEss = max(nTotem/2, 1); + int nExtraEss = PRCMax(nTotem/2, 1); int nBoost; if (nExtraEss >= nTotemRage) { diff --git a/_haks/poa_exp_abilities/nw_s1_bltacid.ncs b/_haks/poa_exp_abilities/nw_s1_bltacid.ncs index be0bb192..a5952b31 100644 Binary files a/_haks/poa_exp_abilities/nw_s1_bltacid.ncs and b/_haks/poa_exp_abilities/nw_s1_bltacid.ncs differ diff --git a/_haks/poa_exp_abilities/nw_s1_bltcharm.ncs b/_haks/poa_exp_abilities/nw_s1_bltcharm.ncs index 34bb6263..2a37c208 100644 Binary files a/_haks/poa_exp_abilities/nw_s1_bltcharm.ncs and b/_haks/poa_exp_abilities/nw_s1_bltcharm.ncs differ diff --git a/_haks/poa_exp_abilities/nw_s1_bltchrdr.ncs b/_haks/poa_exp_abilities/nw_s1_bltchrdr.ncs index f6fae872..1d69902d 100644 Binary files a/_haks/poa_exp_abilities/nw_s1_bltchrdr.ncs and b/_haks/poa_exp_abilities/nw_s1_bltchrdr.ncs differ diff --git a/_haks/poa_exp_abilities/nw_s1_bltcold.ncs b/_haks/poa_exp_abilities/nw_s1_bltcold.ncs index 5ffb7c5b..2d00a865 100644 Binary files a/_haks/poa_exp_abilities/nw_s1_bltcold.ncs and b/_haks/poa_exp_abilities/nw_s1_bltcold.ncs differ diff --git a/_haks/poa_exp_abilities/nw_s1_bltcondr.ncs b/_haks/poa_exp_abilities/nw_s1_bltcondr.ncs index 86645b4c..6560555f 100644 Binary files a/_haks/poa_exp_abilities/nw_s1_bltcondr.ncs and b/_haks/poa_exp_abilities/nw_s1_bltcondr.ncs differ diff --git a/_haks/poa_exp_abilities/nw_s1_bltconf.ncs b/_haks/poa_exp_abilities/nw_s1_bltconf.ncs index d344e434..e74ecf44 100644 Binary files a/_haks/poa_exp_abilities/nw_s1_bltconf.ncs and b/_haks/poa_exp_abilities/nw_s1_bltconf.ncs differ diff --git a/_haks/poa_exp_abilities/nw_s1_bltdaze.ncs b/_haks/poa_exp_abilities/nw_s1_bltdaze.ncs index 672adb82..b8ec5d24 100644 Binary files a/_haks/poa_exp_abilities/nw_s1_bltdaze.ncs and b/_haks/poa_exp_abilities/nw_s1_bltdaze.ncs differ diff --git a/_haks/poa_exp_abilities/nw_s1_bltdeath.ncs b/_haks/poa_exp_abilities/nw_s1_bltdeath.ncs index 07f310fa..ef10b59a 100644 Binary files a/_haks/poa_exp_abilities/nw_s1_bltdeath.ncs and b/_haks/poa_exp_abilities/nw_s1_bltdeath.ncs differ diff --git a/_haks/poa_exp_abilities/nw_s1_bltdexdr.ncs b/_haks/poa_exp_abilities/nw_s1_bltdexdr.ncs index eb92dd28..2904c692 100644 Binary files a/_haks/poa_exp_abilities/nw_s1_bltdexdr.ncs and b/_haks/poa_exp_abilities/nw_s1_bltdexdr.ncs differ diff --git a/_haks/poa_exp_abilities/nw_s1_bltdisese.ncs b/_haks/poa_exp_abilities/nw_s1_bltdisese.ncs index 33534d79..c81e0cc2 100644 Binary files a/_haks/poa_exp_abilities/nw_s1_bltdisese.ncs and b/_haks/poa_exp_abilities/nw_s1_bltdisese.ncs differ diff --git a/_haks/poa_exp_abilities/nw_s1_bltdomn.ncs b/_haks/poa_exp_abilities/nw_s1_bltdomn.ncs index e25df379..3c354b30 100644 Binary files a/_haks/poa_exp_abilities/nw_s1_bltdomn.ncs and b/_haks/poa_exp_abilities/nw_s1_bltdomn.ncs differ diff --git a/_haks/poa_exp_abilities/nw_s1_bltfire.ncs b/_haks/poa_exp_abilities/nw_s1_bltfire.ncs index aa1309c0..09ac47c7 100644 Binary files a/_haks/poa_exp_abilities/nw_s1_bltfire.ncs and b/_haks/poa_exp_abilities/nw_s1_bltfire.ncs differ diff --git a/_haks/poa_exp_abilities/nw_s1_bltintdr.ncs b/_haks/poa_exp_abilities/nw_s1_bltintdr.ncs index bf192b8d..748e670f 100644 Binary files a/_haks/poa_exp_abilities/nw_s1_bltintdr.ncs and b/_haks/poa_exp_abilities/nw_s1_bltintdr.ncs differ diff --git a/_haks/poa_exp_abilities/nw_s1_bltknckd.ncs b/_haks/poa_exp_abilities/nw_s1_bltknckd.ncs index d6098a93..e9a8d53d 100644 Binary files a/_haks/poa_exp_abilities/nw_s1_bltknckd.ncs and b/_haks/poa_exp_abilities/nw_s1_bltknckd.ncs differ diff --git a/_haks/poa_exp_abilities/nw_s1_bltlightn.ncs b/_haks/poa_exp_abilities/nw_s1_bltlightn.ncs index 50e24c09..0286bec7 100644 Binary files a/_haks/poa_exp_abilities/nw_s1_bltlightn.ncs and b/_haks/poa_exp_abilities/nw_s1_bltlightn.ncs differ diff --git a/_haks/poa_exp_abilities/nw_s1_bltlvldr.ncs b/_haks/poa_exp_abilities/nw_s1_bltlvldr.ncs index 0b8f2de7..e8628c58 100644 Binary files a/_haks/poa_exp_abilities/nw_s1_bltlvldr.ncs and b/_haks/poa_exp_abilities/nw_s1_bltlvldr.ncs differ diff --git a/_haks/poa_exp_abilities/nw_s1_bltparal.ncs b/_haks/poa_exp_abilities/nw_s1_bltparal.ncs index 23bc6105..95cce179 100644 Binary files a/_haks/poa_exp_abilities/nw_s1_bltparal.ncs and b/_haks/poa_exp_abilities/nw_s1_bltparal.ncs differ diff --git a/_haks/poa_exp_abilities/nw_s1_bltpoison.ncs b/_haks/poa_exp_abilities/nw_s1_bltpoison.ncs index f177d5e7..e4066f71 100644 Binary files a/_haks/poa_exp_abilities/nw_s1_bltpoison.ncs and b/_haks/poa_exp_abilities/nw_s1_bltpoison.ncs differ diff --git a/_haks/poa_exp_abilities/nw_s1_bltshards.ncs b/_haks/poa_exp_abilities/nw_s1_bltshards.ncs index 5427e9a2..00a54326 100644 Binary files a/_haks/poa_exp_abilities/nw_s1_bltshards.ncs and b/_haks/poa_exp_abilities/nw_s1_bltshards.ncs differ diff --git a/_haks/poa_exp_abilities/nw_s1_bltslow.ncs b/_haks/poa_exp_abilities/nw_s1_bltslow.ncs index b7e4a501..d59eaa30 100644 Binary files a/_haks/poa_exp_abilities/nw_s1_bltslow.ncs and b/_haks/poa_exp_abilities/nw_s1_bltslow.ncs differ diff --git a/_haks/poa_exp_abilities/nw_s1_bltstrdr.ncs b/_haks/poa_exp_abilities/nw_s1_bltstrdr.ncs index 2530413c..7819b3e1 100644 Binary files a/_haks/poa_exp_abilities/nw_s1_bltstrdr.ncs and b/_haks/poa_exp_abilities/nw_s1_bltstrdr.ncs differ diff --git a/_haks/poa_exp_abilities/nw_s1_bltstun.ncs b/_haks/poa_exp_abilities/nw_s1_bltstun.ncs index 9080eecd..7a8f0d38 100644 Binary files a/_haks/poa_exp_abilities/nw_s1_bltstun.ncs and b/_haks/poa_exp_abilities/nw_s1_bltstun.ncs differ diff --git a/_haks/poa_exp_abilities/nw_s1_bltweb.ncs b/_haks/poa_exp_abilities/nw_s1_bltweb.ncs index 920b3d13..67c36716 100644 Binary files a/_haks/poa_exp_abilities/nw_s1_bltweb.ncs and b/_haks/poa_exp_abilities/nw_s1_bltweb.ncs differ diff --git a/_haks/poa_exp_abilities/nw_s1_bltwisdr.ncs b/_haks/poa_exp_abilities/nw_s1_bltwisdr.ncs index aa8a56f1..93d66dc3 100644 Binary files a/_haks/poa_exp_abilities/nw_s1_bltwisdr.ncs and b/_haks/poa_exp_abilities/nw_s1_bltwisdr.ncs differ diff --git a/_haks/poa_exp_abilities/nw_s1_coneacid.ncs b/_haks/poa_exp_abilities/nw_s1_coneacid.ncs index e1f4139b..9b65127c 100644 Binary files a/_haks/poa_exp_abilities/nw_s1_coneacid.ncs and b/_haks/poa_exp_abilities/nw_s1_coneacid.ncs differ diff --git a/_haks/poa_exp_abilities/nw_s1_conecold.ncs b/_haks/poa_exp_abilities/nw_s1_conecold.ncs index 6d0b01b8..4f75c6e1 100644 Binary files a/_haks/poa_exp_abilities/nw_s1_conecold.ncs and b/_haks/poa_exp_abilities/nw_s1_conecold.ncs differ diff --git a/_haks/poa_exp_abilities/nw_s1_conedisea.ncs b/_haks/poa_exp_abilities/nw_s1_conedisea.ncs index 14f2927e..7ddb012d 100644 Binary files a/_haks/poa_exp_abilities/nw_s1_conedisea.ncs and b/_haks/poa_exp_abilities/nw_s1_conedisea.ncs differ diff --git a/_haks/poa_exp_abilities/nw_s1_coneelec.ncs b/_haks/poa_exp_abilities/nw_s1_coneelec.ncs index d4defdd8..11ecb359 100644 Binary files a/_haks/poa_exp_abilities/nw_s1_coneelec.ncs and b/_haks/poa_exp_abilities/nw_s1_coneelec.ncs differ diff --git a/_haks/poa_exp_abilities/nw_s1_conesonic.ncs b/_haks/poa_exp_abilities/nw_s1_conesonic.ncs index a321ffeb..3dfb15d4 100644 Binary files a/_haks/poa_exp_abilities/nw_s1_conesonic.ncs and b/_haks/poa_exp_abilities/nw_s1_conesonic.ncs differ diff --git a/_haks/poa_exp_abilities/nw_s1_dragacid.ncs b/_haks/poa_exp_abilities/nw_s1_dragacid.ncs index 93641c88..f69e9448 100644 Binary files a/_haks/poa_exp_abilities/nw_s1_dragacid.ncs and b/_haks/poa_exp_abilities/nw_s1_dragacid.ncs differ diff --git a/_haks/poa_exp_abilities/nw_s1_dragcold.ncs b/_haks/poa_exp_abilities/nw_s1_dragcold.ncs index 18dddcb3..c390afac 100644 Binary files a/_haks/poa_exp_abilities/nw_s1_dragcold.ncs and b/_haks/poa_exp_abilities/nw_s1_dragcold.ncs differ diff --git a/_haks/poa_exp_abilities/nw_s1_dragfear.ncs b/_haks/poa_exp_abilities/nw_s1_dragfear.ncs index 9bb3981a..5fd6d0a5 100644 Binary files a/_haks/poa_exp_abilities/nw_s1_dragfear.ncs and b/_haks/poa_exp_abilities/nw_s1_dragfear.ncs differ diff --git a/_haks/poa_exp_abilities/nw_s1_dragfeara.ncs b/_haks/poa_exp_abilities/nw_s1_dragfeara.ncs index 1cd17cb2..fe3245d9 100644 Binary files a/_haks/poa_exp_abilities/nw_s1_dragfeara.ncs and b/_haks/poa_exp_abilities/nw_s1_dragfeara.ncs differ diff --git a/_haks/poa_exp_abilities/nw_s1_dragfire.ncs b/_haks/poa_exp_abilities/nw_s1_dragfire.ncs index 4ca29b2f..47a34c28 100644 Binary files a/_haks/poa_exp_abilities/nw_s1_dragfire.ncs and b/_haks/poa_exp_abilities/nw_s1_dragfire.ncs differ diff --git a/_haks/poa_exp_abilities/nw_s1_draggas.ncs b/_haks/poa_exp_abilities/nw_s1_draggas.ncs index c1400b61..2528b3c7 100644 Binary files a/_haks/poa_exp_abilities/nw_s1_draggas.ncs and b/_haks/poa_exp_abilities/nw_s1_draggas.ncs differ diff --git a/_haks/poa_exp_abilities/nw_s1_draglight.ncs b/_haks/poa_exp_abilities/nw_s1_draglight.ncs index aff8df63..813fe990 100644 Binary files a/_haks/poa_exp_abilities/nw_s1_draglight.ncs and b/_haks/poa_exp_abilities/nw_s1_draglight.ncs differ diff --git a/_haks/poa_exp_abilities/nw_s1_dragparal.ncs b/_haks/poa_exp_abilities/nw_s1_dragparal.ncs index f886afdf..4fcdc840 100644 Binary files a/_haks/poa_exp_abilities/nw_s1_dragparal.ncs and b/_haks/poa_exp_abilities/nw_s1_dragparal.ncs differ diff --git a/_haks/poa_exp_abilities/nw_s1_dragsleep.ncs b/_haks/poa_exp_abilities/nw_s1_dragsleep.ncs index 03899517..b4033fa7 100644 Binary files a/_haks/poa_exp_abilities/nw_s1_dragsleep.ncs and b/_haks/poa_exp_abilities/nw_s1_dragsleep.ncs differ diff --git a/_haks/poa_exp_abilities/nw_s1_dragslow.ncs b/_haks/poa_exp_abilities/nw_s1_dragslow.ncs index cdf0650f..1e7982b8 100644 Binary files a/_haks/poa_exp_abilities/nw_s1_dragslow.ncs and b/_haks/poa_exp_abilities/nw_s1_dragslow.ncs differ diff --git a/_haks/poa_exp_abilities/nw_s1_dragweak.ncs b/_haks/poa_exp_abilities/nw_s1_dragweak.ncs index 94853bdc..7467ec4a 100644 Binary files a/_haks/poa_exp_abilities/nw_s1_dragweak.ncs and b/_haks/poa_exp_abilities/nw_s1_dragweak.ncs differ diff --git a/_haks/poa_exp_abilities/nw_s1_feroc3.ncs b/_haks/poa_exp_abilities/nw_s1_feroc3.ncs index 25681cda..dfb32e00 100644 Binary files a/_haks/poa_exp_abilities/nw_s1_feroc3.ncs and b/_haks/poa_exp_abilities/nw_s1_feroc3.ncs differ diff --git a/_haks/poa_exp_abilities/nw_s1_gazechaos.ncs b/_haks/poa_exp_abilities/nw_s1_gazechaos.ncs index 774759a6..5f62c746 100644 Binary files a/_haks/poa_exp_abilities/nw_s1_gazechaos.ncs and b/_haks/poa_exp_abilities/nw_s1_gazechaos.ncs differ diff --git a/_haks/poa_exp_abilities/nw_s1_gazecharm.ncs b/_haks/poa_exp_abilities/nw_s1_gazecharm.ncs index d69b551e..f5b734cd 100644 Binary files a/_haks/poa_exp_abilities/nw_s1_gazecharm.ncs and b/_haks/poa_exp_abilities/nw_s1_gazecharm.ncs differ diff --git a/_haks/poa_exp_abilities/nw_s1_gazeconfu.ncs b/_haks/poa_exp_abilities/nw_s1_gazeconfu.ncs index cd6d1000..58011c95 100644 Binary files a/_haks/poa_exp_abilities/nw_s1_gazeconfu.ncs and b/_haks/poa_exp_abilities/nw_s1_gazeconfu.ncs differ diff --git a/_haks/poa_exp_abilities/nw_s1_gazedaze.ncs b/_haks/poa_exp_abilities/nw_s1_gazedaze.ncs index 91150248..340d88ce 100644 Binary files a/_haks/poa_exp_abilities/nw_s1_gazedaze.ncs and b/_haks/poa_exp_abilities/nw_s1_gazedaze.ncs differ diff --git a/_haks/poa_exp_abilities/nw_s1_gazedeath.ncs b/_haks/poa_exp_abilities/nw_s1_gazedeath.ncs index 0a48ecb4..8c6da0fc 100644 Binary files a/_haks/poa_exp_abilities/nw_s1_gazedeath.ncs and b/_haks/poa_exp_abilities/nw_s1_gazedeath.ncs differ diff --git a/_haks/poa_exp_abilities/nw_s1_gazedomn.ncs b/_haks/poa_exp_abilities/nw_s1_gazedomn.ncs index 4545de6f..abbfe06e 100644 Binary files a/_haks/poa_exp_abilities/nw_s1_gazedomn.ncs and b/_haks/poa_exp_abilities/nw_s1_gazedomn.ncs differ diff --git a/_haks/poa_exp_abilities/nw_s1_gazedoom.ncs b/_haks/poa_exp_abilities/nw_s1_gazedoom.ncs index 65e6d9ef..459bd714 100644 Binary files a/_haks/poa_exp_abilities/nw_s1_gazedoom.ncs and b/_haks/poa_exp_abilities/nw_s1_gazedoom.ncs differ diff --git a/_haks/poa_exp_abilities/nw_s1_gazeevil.ncs b/_haks/poa_exp_abilities/nw_s1_gazeevil.ncs index b9a8aacf..e59ef932 100644 Binary files a/_haks/poa_exp_abilities/nw_s1_gazeevil.ncs and b/_haks/poa_exp_abilities/nw_s1_gazeevil.ncs differ diff --git a/_haks/poa_exp_abilities/nw_s1_gazefear.ncs b/_haks/poa_exp_abilities/nw_s1_gazefear.ncs index 4c20a1cd..1933b6ab 100644 Binary files a/_haks/poa_exp_abilities/nw_s1_gazefear.ncs and b/_haks/poa_exp_abilities/nw_s1_gazefear.ncs differ diff --git a/_haks/poa_exp_abilities/nw_s1_gazegood.ncs b/_haks/poa_exp_abilities/nw_s1_gazegood.ncs index 2e119b67..22b27ce8 100644 Binary files a/_haks/poa_exp_abilities/nw_s1_gazegood.ncs and b/_haks/poa_exp_abilities/nw_s1_gazegood.ncs differ diff --git a/_haks/poa_exp_abilities/nw_s1_gazelaw.ncs b/_haks/poa_exp_abilities/nw_s1_gazelaw.ncs index 41afdf4f..98693233 100644 Binary files a/_haks/poa_exp_abilities/nw_s1_gazelaw.ncs and b/_haks/poa_exp_abilities/nw_s1_gazelaw.ncs differ diff --git a/_haks/poa_exp_abilities/nw_s1_gazestun.ncs b/_haks/poa_exp_abilities/nw_s1_gazestun.ncs index 09208810..d6fc3548 100644 Binary files a/_haks/poa_exp_abilities/nw_s1_gazestun.ncs and b/_haks/poa_exp_abilities/nw_s1_gazestun.ncs differ diff --git a/_haks/poa_exp_abilities/nw_s1_golemgas.ncs b/_haks/poa_exp_abilities/nw_s1_golemgas.ncs index 5d6dbb86..efb74eeb 100644 Binary files a/_haks/poa_exp_abilities/nw_s1_golemgas.ncs and b/_haks/poa_exp_abilities/nw_s1_golemgas.ncs differ diff --git a/_haks/poa_exp_abilities/nw_s1_hndbreath.ncs b/_haks/poa_exp_abilities/nw_s1_hndbreath.ncs index 137003d3..39b6ab65 100644 Binary files a/_haks/poa_exp_abilities/nw_s1_hndbreath.ncs and b/_haks/poa_exp_abilities/nw_s1_hndbreath.ncs differ diff --git a/_haks/poa_exp_abilities/nw_s1_howlconf.ncs b/_haks/poa_exp_abilities/nw_s1_howlconf.ncs index ec0b9ecb..2649dadb 100644 Binary files a/_haks/poa_exp_abilities/nw_s1_howlconf.ncs and b/_haks/poa_exp_abilities/nw_s1_howlconf.ncs differ diff --git a/_haks/poa_exp_abilities/nw_s1_howldaze.ncs b/_haks/poa_exp_abilities/nw_s1_howldaze.ncs index f440c968..fc595ffe 100644 Binary files a/_haks/poa_exp_abilities/nw_s1_howldaze.ncs and b/_haks/poa_exp_abilities/nw_s1_howldaze.ncs differ diff --git a/_haks/poa_exp_abilities/nw_s1_howldeath.ncs b/_haks/poa_exp_abilities/nw_s1_howldeath.ncs index a6983754..c1f8a98c 100644 Binary files a/_haks/poa_exp_abilities/nw_s1_howldeath.ncs and b/_haks/poa_exp_abilities/nw_s1_howldeath.ncs differ diff --git a/_haks/poa_exp_abilities/nw_s1_howlfear.ncs b/_haks/poa_exp_abilities/nw_s1_howlfear.ncs index a168f996..1ac9f0e1 100644 Binary files a/_haks/poa_exp_abilities/nw_s1_howlfear.ncs and b/_haks/poa_exp_abilities/nw_s1_howlfear.ncs differ diff --git a/_haks/poa_exp_abilities/nw_s1_howlparal.ncs b/_haks/poa_exp_abilities/nw_s1_howlparal.ncs index fd813921..42488a9e 100644 Binary files a/_haks/poa_exp_abilities/nw_s1_howlparal.ncs and b/_haks/poa_exp_abilities/nw_s1_howlparal.ncs differ diff --git a/_haks/poa_exp_abilities/nw_s1_howlsonic.ncs b/_haks/poa_exp_abilities/nw_s1_howlsonic.ncs index d5d769cd..ae721fd7 100644 Binary files a/_haks/poa_exp_abilities/nw_s1_howlsonic.ncs and b/_haks/poa_exp_abilities/nw_s1_howlsonic.ncs differ diff --git a/_haks/poa_exp_abilities/nw_s1_howlstun.ncs b/_haks/poa_exp_abilities/nw_s1_howlstun.ncs index 429f2dd7..9a8d7f60 100644 Binary files a/_haks/poa_exp_abilities/nw_s1_howlstun.ncs and b/_haks/poa_exp_abilities/nw_s1_howlstun.ncs differ diff --git a/_haks/poa_exp_abilities/nw_s1_krenscare.ncs b/_haks/poa_exp_abilities/nw_s1_krenscare.ncs index e1f72b77..8f7fa04b 100644 Binary files a/_haks/poa_exp_abilities/nw_s1_krenscare.ncs and b/_haks/poa_exp_abilities/nw_s1_krenscare.ncs differ diff --git a/_haks/poa_exp_abilities/nw_s1_mephsalt.ncs b/_haks/poa_exp_abilities/nw_s1_mephsalt.ncs index 51f7a25d..5406ee07 100644 Binary files a/_haks/poa_exp_abilities/nw_s1_mephsalt.ncs and b/_haks/poa_exp_abilities/nw_s1_mephsalt.ncs differ diff --git a/_haks/poa_exp_abilities/nw_s1_mephsteam.ncs b/_haks/poa_exp_abilities/nw_s1_mephsteam.ncs index 3bd67113..f61d7ef1 100644 Binary files a/_haks/poa_exp_abilities/nw_s1_mephsteam.ncs and b/_haks/poa_exp_abilities/nw_s1_mephsteam.ncs differ diff --git a/_haks/poa_exp_abilities/nw_s1_mumundead.ncs b/_haks/poa_exp_abilities/nw_s1_mumundead.ncs index 6897b909..2205868c 100644 Binary files a/_haks/poa_exp_abilities/nw_s1_mumundead.ncs and b/_haks/poa_exp_abilities/nw_s1_mumundead.ncs differ diff --git a/_haks/poa_exp_abilities/nw_s1_pulschrdr.ncs b/_haks/poa_exp_abilities/nw_s1_pulschrdr.ncs index 7a4b1773..acc6c119 100644 Binary files a/_haks/poa_exp_abilities/nw_s1_pulschrdr.ncs and b/_haks/poa_exp_abilities/nw_s1_pulschrdr.ncs differ diff --git a/_haks/poa_exp_abilities/nw_s1_pulscold.ncs b/_haks/poa_exp_abilities/nw_s1_pulscold.ncs index ee063e39..23df913e 100644 Binary files a/_haks/poa_exp_abilities/nw_s1_pulscold.ncs and b/_haks/poa_exp_abilities/nw_s1_pulscold.ncs differ diff --git a/_haks/poa_exp_abilities/nw_s1_pulscondr.ncs b/_haks/poa_exp_abilities/nw_s1_pulscondr.ncs index 4013d019..39b62d7b 100644 Binary files a/_haks/poa_exp_abilities/nw_s1_pulscondr.ncs and b/_haks/poa_exp_abilities/nw_s1_pulscondr.ncs differ diff --git a/_haks/poa_exp_abilities/nw_s1_pulsdeath.ncs b/_haks/poa_exp_abilities/nw_s1_pulsdeath.ncs index 38319dd3..68793262 100644 Binary files a/_haks/poa_exp_abilities/nw_s1_pulsdeath.ncs and b/_haks/poa_exp_abilities/nw_s1_pulsdeath.ncs differ diff --git a/_haks/poa_exp_abilities/nw_s1_pulsdexdr.ncs b/_haks/poa_exp_abilities/nw_s1_pulsdexdr.ncs index 888e1389..60b1f47c 100644 Binary files a/_haks/poa_exp_abilities/nw_s1_pulsdexdr.ncs and b/_haks/poa_exp_abilities/nw_s1_pulsdexdr.ncs differ diff --git a/_haks/poa_exp_abilities/nw_s1_pulsdis.ncs b/_haks/poa_exp_abilities/nw_s1_pulsdis.ncs index c1a78bbc..39c19bac 100644 Binary files a/_haks/poa_exp_abilities/nw_s1_pulsdis.ncs and b/_haks/poa_exp_abilities/nw_s1_pulsdis.ncs differ diff --git a/_haks/poa_exp_abilities/nw_s1_pulselec.ncs b/_haks/poa_exp_abilities/nw_s1_pulselec.ncs index fbe1bba2..dd6a5f0c 100644 Binary files a/_haks/poa_exp_abilities/nw_s1_pulselec.ncs and b/_haks/poa_exp_abilities/nw_s1_pulselec.ncs differ diff --git a/_haks/poa_exp_abilities/nw_s1_pulsfire.ncs b/_haks/poa_exp_abilities/nw_s1_pulsfire.ncs index b4364532..1da13e54 100644 Binary files a/_haks/poa_exp_abilities/nw_s1_pulsfire.ncs and b/_haks/poa_exp_abilities/nw_s1_pulsfire.ncs differ diff --git a/_haks/poa_exp_abilities/nw_s1_pulsholy.ncs b/_haks/poa_exp_abilities/nw_s1_pulsholy.ncs index b0ea3545..3b93769c 100644 Binary files a/_haks/poa_exp_abilities/nw_s1_pulsholy.ncs and b/_haks/poa_exp_abilities/nw_s1_pulsholy.ncs differ diff --git a/_haks/poa_exp_abilities/nw_s1_pulsintdr.ncs b/_haks/poa_exp_abilities/nw_s1_pulsintdr.ncs index caec186f..ddf504a3 100644 Binary files a/_haks/poa_exp_abilities/nw_s1_pulsintdr.ncs and b/_haks/poa_exp_abilities/nw_s1_pulsintdr.ncs differ diff --git a/_haks/poa_exp_abilities/nw_s1_pulslvldr.ncs b/_haks/poa_exp_abilities/nw_s1_pulslvldr.ncs index 6099d17a..408bf6e3 100644 Binary files a/_haks/poa_exp_abilities/nw_s1_pulslvldr.ncs and b/_haks/poa_exp_abilities/nw_s1_pulslvldr.ncs differ diff --git a/_haks/poa_exp_abilities/nw_s1_pulsneg.ncs b/_haks/poa_exp_abilities/nw_s1_pulsneg.ncs index e31920a1..7dc823b0 100644 Binary files a/_haks/poa_exp_abilities/nw_s1_pulsneg.ncs and b/_haks/poa_exp_abilities/nw_s1_pulsneg.ncs differ diff --git a/_haks/poa_exp_abilities/nw_s1_pulspois.ncs b/_haks/poa_exp_abilities/nw_s1_pulspois.ncs index 19cbbe84..a381a67c 100644 Binary files a/_haks/poa_exp_abilities/nw_s1_pulspois.ncs and b/_haks/poa_exp_abilities/nw_s1_pulspois.ncs differ diff --git a/_haks/poa_exp_abilities/nw_s1_pulsspore.ncs b/_haks/poa_exp_abilities/nw_s1_pulsspore.ncs index 723d8559..4f7e5904 100644 Binary files a/_haks/poa_exp_abilities/nw_s1_pulsspore.ncs and b/_haks/poa_exp_abilities/nw_s1_pulsspore.ncs differ diff --git a/_haks/poa_exp_abilities/nw_s1_pulsstrdr.ncs b/_haks/poa_exp_abilities/nw_s1_pulsstrdr.ncs index c3236e70..704c1cac 100644 Binary files a/_haks/poa_exp_abilities/nw_s1_pulsstrdr.ncs and b/_haks/poa_exp_abilities/nw_s1_pulsstrdr.ncs differ diff --git a/_haks/poa_exp_abilities/nw_s1_pulswind.ncs b/_haks/poa_exp_abilities/nw_s1_pulswind.ncs index 18d187d1..75d41338 100644 Binary files a/_haks/poa_exp_abilities/nw_s1_pulswind.ncs and b/_haks/poa_exp_abilities/nw_s1_pulswind.ncs differ diff --git a/_haks/poa_exp_abilities/nw_s1_pulswisdr.ncs b/_haks/poa_exp_abilities/nw_s1_pulswisdr.ncs index ebea6d65..da829cab 100644 Binary files a/_haks/poa_exp_abilities/nw_s1_pulswisdr.ncs and b/_haks/poa_exp_abilities/nw_s1_pulswisdr.ncs differ diff --git a/_haks/poa_exp_abilities/nw_s1_smokeclaw.ncs b/_haks/poa_exp_abilities/nw_s1_smokeclaw.ncs index f96f3200..2e5a5477 100644 Binary files a/_haks/poa_exp_abilities/nw_s1_smokeclaw.ncs and b/_haks/poa_exp_abilities/nw_s1_smokeclaw.ncs differ diff --git a/_haks/poa_exp_abilities/nw_s1_stink_a.ncs b/_haks/poa_exp_abilities/nw_s1_stink_a.ncs index 9378d6f4..bca10c2f 100644 Binary files a/_haks/poa_exp_abilities/nw_s1_stink_a.ncs and b/_haks/poa_exp_abilities/nw_s1_stink_a.ncs differ diff --git a/_haks/poa_exp_abilities/nw_s1_trogstink.ncs b/_haks/poa_exp_abilities/nw_s1_trogstink.ncs index c68862b9..1cae10ce 100644 Binary files a/_haks/poa_exp_abilities/nw_s1_trogstink.ncs and b/_haks/poa_exp_abilities/nw_s1_trogstink.ncs differ diff --git a/_haks/poa_exp_abilities/nw_s1_trogstinka.ncs b/_haks/poa_exp_abilities/nw_s1_trogstinka.ncs index 8a514732..b389286c 100644 Binary files a/_haks/poa_exp_abilities/nw_s1_trogstinka.ncs and b/_haks/poa_exp_abilities/nw_s1_trogstinka.ncs differ diff --git a/_haks/poa_exp_abilities/nw_s1_tyrantfga.ncs b/_haks/poa_exp_abilities/nw_s1_tyrantfga.ncs index 0467a5b8..5f27b264 100644 Binary files a/_haks/poa_exp_abilities/nw_s1_tyrantfga.ncs and b/_haks/poa_exp_abilities/nw_s1_tyrantfga.ncs differ diff --git a/_haks/poa_exp_abilities/nw_s1_tyrantfog.ncs b/_haks/poa_exp_abilities/nw_s1_tyrantfog.ncs index 609cad3b..8ba90b5d 100644 Binary files a/_haks/poa_exp_abilities/nw_s1_tyrantfog.ncs and b/_haks/poa_exp_abilities/nw_s1_tyrantfog.ncs differ diff --git a/_haks/poa_exp_abilities/nw_s2_divprot.ncs b/_haks/poa_exp_abilities/nw_s2_divprot.ncs index 3aff8699..7f7632cd 100644 Binary files a/_haks/poa_exp_abilities/nw_s2_divprot.ncs and b/_haks/poa_exp_abilities/nw_s2_divprot.ncs differ diff --git a/_haks/poa_exp_abilities/nw_s2_elemshape.ncs b/_haks/poa_exp_abilities/nw_s2_elemshape.ncs index d889a383..2d1b2361 100644 Binary files a/_haks/poa_exp_abilities/nw_s2_elemshape.ncs and b/_haks/poa_exp_abilities/nw_s2_elemshape.ncs differ diff --git a/_haks/poa_exp_abilities/nw_s2_layonhand.ncs b/_haks/poa_exp_abilities/nw_s2_layonhand.ncs index 86350043..69359487 100644 Binary files a/_haks/poa_exp_abilities/nw_s2_layonhand.ncs and b/_haks/poa_exp_abilities/nw_s2_layonhand.ncs differ diff --git a/_haks/poa_exp_abilities/nw_s2_wildshape.ncs b/_haks/poa_exp_abilities/nw_s2_wildshape.ncs index 5752166c..c13a44e4 100644 Binary files a/_haks/poa_exp_abilities/nw_s2_wildshape.ncs and b/_haks/poa_exp_abilities/nw_s2_wildshape.ncs differ diff --git a/_haks/poa_exp_abilities/nw_s3_balordeth.ncs b/_haks/poa_exp_abilities/nw_s3_balordeth.ncs index f97f0abc..4e9dd36d 100644 Binary files a/_haks/poa_exp_abilities/nw_s3_balordeth.ncs and b/_haks/poa_exp_abilities/nw_s3_balordeth.ncs differ diff --git a/_haks/poa_exp_abilities/prc_hexbl_comp_a.ncs b/_haks/poa_exp_abilities/prc_hexbl_comp_a.ncs index 1c7d42b5..3ff27713 100644 Binary files a/_haks/poa_exp_abilities/prc_hexbl_comp_a.ncs and b/_haks/poa_exp_abilities/prc_hexbl_comp_a.ncs differ diff --git a/_haks/poa_exp_abilities/prc_hexbl_comp_c.ncs b/_haks/poa_exp_abilities/prc_hexbl_comp_c.ncs index 126ad6f6..6f21372e 100644 Binary files a/_haks/poa_exp_abilities/prc_hexbl_comp_c.ncs and b/_haks/poa_exp_abilities/prc_hexbl_comp_c.ncs differ diff --git a/_haks/poa_exp_abilities/prc_hexbl_curse.ncs b/_haks/poa_exp_abilities/prc_hexbl_curse.ncs index b5d19830..a7927e54 100644 Binary files a/_haks/poa_exp_abilities/prc_hexbl_curse.ncs and b/_haks/poa_exp_abilities/prc_hexbl_curse.ncs differ diff --git a/_haks/poa_exp_abilities/prc_kotmc_combat.ncs b/_haks/poa_exp_abilities/prc_kotmc_combat.ncs index 74cbf5e4..ffe41229 100644 Binary files a/_haks/poa_exp_abilities/prc_kotmc_combat.ncs and b/_haks/poa_exp_abilities/prc_kotmc_combat.ncs differ diff --git a/_haks/poa_exp_abilities/psi_sk_manifmbld.ncs b/_haks/poa_exp_abilities/psi_sk_manifmbld.ncs index 76f54c83..6f0e3e26 100644 Binary files a/_haks/poa_exp_abilities/psi_sk_manifmbld.ncs and b/_haks/poa_exp_abilities/psi_sk_manifmbld.ncs differ diff --git a/_haks/poa_exp_abilities/psi_sk_manifmbld.nss b/_haks/poa_exp_abilities/psi_sk_manifmbld.nss index 866382d6..0110af2e 100644 --- a/_haks/poa_exp_abilities/psi_sk_manifmbld.nss +++ b/_haks/poa_exp_abilities/psi_sk_manifmbld.nss @@ -138,7 +138,7 @@ void BuildMindblade(object oPC, object oMbld, int nMbldType) int nSKLevel = GetLevelByClass(CLASS_TYPE_SOULKNIFE, oPC); /* if(GetHasFeat(FEAT_PRACTICED_MIND_BLADE, oPC)){ int nNonSoulKnifeLevels = GetHitDice(oPC) - nSKLevel; - nSKLevel += min(nNonSoulKnifeLevels, 4); + nSKLevel += PRCMin(nNonSoulKnifeLevels, 4); } */ int nEnh; // The first actual enhancement bonus is gained at L4, but the mindblade needs to diff --git a/_haks/poa_exp_abilities/x0_s2_daze.ncs b/_haks/poa_exp_abilities/x0_s2_daze.ncs index aa14a761..5856a658 100644 Binary files a/_haks/poa_exp_abilities/x0_s2_daze.ncs and b/_haks/poa_exp_abilities/x0_s2_daze.ncs differ diff --git a/_haks/poa_exp_abilities/x0_s2_shadsum.ncs b/_haks/poa_exp_abilities/x0_s2_shadsum.ncs index 09d37c26..9aaebf5f 100644 Binary files a/_haks/poa_exp_abilities/x0_s2_shadsum.ncs and b/_haks/poa_exp_abilities/x0_s2_shadsum.ncs differ diff --git a/_haks/poa_exp_abilities/x0_s3_summonelem.ncs b/_haks/poa_exp_abilities/x0_s3_summonelem.ncs index 33256273..783c2a45 100644 Binary files a/_haks/poa_exp_abilities/x0_s3_summonelem.ncs and b/_haks/poa_exp_abilities/x0_s3_summonelem.ncs differ diff --git a/_haks/poa_exp_abilities/x1_s2_deatharrow.ncs b/_haks/poa_exp_abilities/x1_s2_deatharrow.ncs index 68814440..6f202905 100644 Binary files a/_haks/poa_exp_abilities/x1_s2_deatharrow.ncs and b/_haks/poa_exp_abilities/x1_s2_deatharrow.ncs differ diff --git a/_haks/poa_exp_abilities/x1_s2_hailarrow.ncs b/_haks/poa_exp_abilities/x1_s2_hailarrow.ncs index 0efc99d8..7d416706 100644 Binary files a/_haks/poa_exp_abilities/x1_s2_hailarrow.ncs and b/_haks/poa_exp_abilities/x1_s2_hailarrow.ncs differ diff --git a/_haks/poa_exp_abilities/x2_s1_dragneg.ncs b/_haks/poa_exp_abilities/x2_s1_dragneg.ncs index 22232442..8d5c7301 100644 Binary files a/_haks/poa_exp_abilities/x2_s1_dragneg.ncs and b/_haks/poa_exp_abilities/x2_s1_dragneg.ncs differ diff --git a/_haks/poa_exp_abilities/x2_s2_cursesong.ncs b/_haks/poa_exp_abilities/x2_s2_cursesong.ncs index df81c4ad..1f56853b 100644 Binary files a/_haks/poa_exp_abilities/x2_s2_cursesong.ncs and b/_haks/poa_exp_abilities/x2_s2_cursesong.ncs differ diff --git a/_haks/poa_exp_abilities/x2_s2_discbreath.ncs b/_haks/poa_exp_abilities/x2_s2_discbreath.ncs index 061dccb2..b854f0d5 100644 Binary files a/_haks/poa_exp_abilities/x2_s2_discbreath.ncs and b/_haks/poa_exp_abilities/x2_s2_discbreath.ncs differ diff --git a/_haks/poa_exp_abilities/x2_s2_discbreath.nss b/_haks/poa_exp_abilities/x2_s2_discbreath.nss index 76cc85d1..eee28a3b 100644 --- a/_haks/poa_exp_abilities/x2_s2_discbreath.nss +++ b/_haks/poa_exp_abilities/x2_s2_discbreath.nss @@ -149,7 +149,7 @@ void main() //Sets the save DC for Dragon Breath attacks. This is a reflex save to halve the damage. //Save is 10+CON+1/2 DD level. Gains +1 at level 13, and every 3 levels after. - int nSaveDCBonus = ((nLevel)/2) + max((nLevel - 10) / 3, 0); + int nSaveDCBonus = ((nLevel)/2) + PRCMax((nLevel - 10) / 3, 0); //Sets damage levels for Dragon Breath attacks. 2d10 at level 3, //4d10 at level 7, and then an additional 2d10 every 3 levels (10, 13, 16, ect) diff --git a/_haks/poa_exp_abilities/x2_s2_epicward.ncs b/_haks/poa_exp_abilities/x2_s2_epicward.ncs index 7cade1a5..99888fc3 100644 Binary files a/_haks/poa_exp_abilities/x2_s2_epicward.ncs and b/_haks/poa_exp_abilities/x2_s2_epicward.ncs differ diff --git a/_haks/poa_exp_abilities/x2_s2_epmagearm.ncs b/_haks/poa_exp_abilities/x2_s2_epmagearm.ncs index 9d4293c7..469094b1 100644 Binary files a/_haks/poa_exp_abilities/x2_s2_epmagearm.ncs and b/_haks/poa_exp_abilities/x2_s2_epmagearm.ncs differ diff --git a/_haks/poa_exp_spells/nw_s0_burnhand.nss b/_haks/poa_exp_spells/nw_s0_burnhand.nss index 95ec18c5..a4532f9d 100644 --- a/_haks/poa_exp_spells/nw_s0_burnhand.nss +++ b/_haks/poa_exp_spells/nw_s0_burnhand.nss @@ -48,7 +48,7 @@ void main() int nMetaMagic = PRCGetMetaMagicFeat(); int EleDmg = ChangedElementalDamage(oCaster, DAMAGE_TYPE_FIRE); int nSaveType = ChangedSaveType(EleDmg); - int nDice = min(20, nCasterLevel); + int nDice = PRCMin(20, nCasterLevel); int nDamage; float fDist; diff --git a/_haks/poa_exp_spells/nw_s0_calllghtn.nss b/_haks/poa_exp_spells/nw_s0_calllghtn.nss index 513e2770..cfaf2b10 100644 --- a/_haks/poa_exp_spells/nw_s0_calllghtn.nss +++ b/_haks/poa_exp_spells/nw_s0_calllghtn.nss @@ -64,7 +64,7 @@ void main() int nCasterLvl = PRCGetCasterLevel(oCaster); int nPenetr = nCasterLvl + SPGetPenetr(); int nMetaMagic = PRCGetMetaMagicFeat(); - int nDice = min(20, nCasterLvl); + int nDice = PRCMin(20, nCasterLvl); int EleDmg = ChangedElementalDamage(oCaster, DAMAGE_TYPE_ELECTRICAL); int nSaveType = ChangedSaveType(EleDmg); diff --git a/_haks/poa_exp_spells/nw_s0_fireball.nss b/_haks/poa_exp_spells/nw_s0_fireball.nss index 81d21fd1..9be118f0 100644 --- a/_haks/poa_exp_spells/nw_s0_fireball.nss +++ b/_haks/poa_exp_spells/nw_s0_fireball.nss @@ -43,7 +43,7 @@ void main() effect eVis = EffectVisualEffect(VFX_IMP_FLAME_M); effect eDam; //Limit Caster level for the purposes of damage - int nDice = min(20, nCasterLvl); //alterado rafael era 10 mudei para 20 d6 + int nDice = PRCMin(20, nCasterLvl); //alterado rafael era 10 mudei para 20 d6 nCasterLvl += SPGetPenetr(); diff --git a/_haks/poa_exp_spells/nw_s0_flmstrike.nss b/_haks/poa_exp_spells/nw_s0_flmstrike.nss index 02417b36..2669c89c 100644 --- a/_haks/poa_exp_spells/nw_s0_flmstrike.nss +++ b/_haks/poa_exp_spells/nw_s0_flmstrike.nss @@ -36,7 +36,7 @@ void main() int nMetaMagic = PRCGetMetaMagicFeat(); int EleDmg = ChangedElementalDamage(oCaster, DAMAGE_TYPE_FIRE); int nSaveType = ChangedSaveType(EleDmg); - int nDice = min(40, nCasterLvl); + int nDice = PRCMin(40, nCasterLvl); int nDamage, nDamage2; effect eStrike = EffectVisualEffect(VFX_IMP_DIVINE_STRIKE_FIRE); diff --git a/_haks/poa_exp_spells/sp_ayailla_rb.nss b/_haks/poa_exp_spells/sp_ayailla_rb.nss index e33383cb..1a7f4d50 100644 --- a/_haks/poa_exp_spells/sp_ayailla_rb.nss +++ b/_haks/poa_exp_spells/sp_ayailla_rb.nss @@ -72,12 +72,12 @@ void main() } //evil take damage, separate saving throw - nDam = d6(min(5, nCasterLvl/2)); + nDam = d6(PRCMin(5, nCasterLvl/2)); //maximize if(nMetaMagic & METAMAGIC_MAXIMIZE) { - nDam = 6 * (min(20, nCasterLvl/2)); + nDam = 6 * (PRCMin(20, nCasterLvl/2)); } //empower diff --git a/_haks/poa_exp_spells/sp_bigby_sf.nss b/_haks/poa_exp_spells/sp_bigby_sf.nss index fe3314d7..f69a4d04 100644 --- a/_haks/poa_exp_spells/sp_bigby_sf.nss +++ b/_haks/poa_exp_spells/sp_bigby_sf.nss @@ -60,11 +60,11 @@ void main() if (iAttackRoll > 0) { - int nDam = d6(min(20, (nCasterLevel/2))); + int nDam = d6(PRCMin(20, (nCasterLevel/2))); if(nMetaMagic & METAMAGIC_MAXIMIZE) { - nDam = 6 * (min(20, (nCasterLevel/2))); + nDam = 6 * (PRCMin(20, (nCasterLevel/2))); } if(nMetaMagic & METAMAGIC_EMPOWER) diff --git a/_haks/poa_exp_spells/sp_bigby_trip.nss b/_haks/poa_exp_spells/sp_bigby_trip.nss index 186a70ea..f3ccafd3 100644 --- a/_haks/poa_exp_spells/sp_bigby_trip.nss +++ b/_haks/poa_exp_spells/sp_bigby_trip.nss @@ -56,7 +56,7 @@ void main() int nAbilityScore = GetAbilityScoreForClass(nClassType, oPC); int nAttackBonus = (2 + nCasterLvl + (nAbilityScore - 10)/2 ); - int nTripBonus = min(20,(nCasterLvl/3)); + int nTripBonus = PRCMin(20,(nCasterLvl/3)); int iAttackRoll = GetAttackRoll(oTarget, OBJECT_INVALID, OBJECT_INVALID, 0, nAttackBonus,0,nDisplayFeedback, 0.0, TOUCH_ATTACK_MELEE_SPELL); if (iAttackRoll > 0) @@ -67,7 +67,7 @@ void main() //save if(!PRCMySavingThrow(SAVING_THROW_REFLEX, oTarget, PRCGetSaveDC(oTarget, oPC), SAVING_THROW_TYPE_SPELL)) { - int nOpposing = d20() + (max(GetAbilityModifier(ABILITY_STRENGTH, oTarget), GetAbilityModifier(ABILITY_DEXTERITY, oTarget))) + EvalSizeBonus(oTarget); + int nOpposing = d20() + (PRCMax(GetAbilityModifier(ABILITY_STRENGTH, oTarget), GetAbilityModifier(ABILITY_DEXTERITY, oTarget))) + EvalSizeBonus(oTarget); int nCheck = d20() + 2 + nTripBonus; if(nCheck > nOpposing) diff --git a/_haks/poa_exp_spells/sp_blastfrc.nss b/_haks/poa_exp_spells/sp_blastfrc.nss index fbe0452e..e478ac2c 100644 --- a/_haks/poa_exp_spells/sp_blastfrc.nss +++ b/_haks/poa_exp_spells/sp_blastfrc.nss @@ -49,7 +49,7 @@ int DoSpell(object oCaster, object oTarget, int nCasterLevel, int nEvent) { if (!PRCDoResistSpell(oCaster, oTarget, nPenetr)) { - int nDice= min(nCasterLevel/2, 20); + int nDice= PRCMin(nCasterLevel/2, 20); int nDam = d6(nDice); if(nMetaMagic & METAMAGIC_MAXIMIZE) nDam = 6 * nDice; if(nMetaMagic & METAMAGIC_EMPOWER) nDam += (nDam/2); diff --git a/_haks/poa_exp_spells/sp_bolt_glory.nss b/_haks/poa_exp_spells/sp_bolt_glory.nss index bda34d41..957b9e05 100644 --- a/_haks/poa_exp_spells/sp_bolt_glory.nss +++ b/_haks/poa_exp_spells/sp_bolt_glory.nss @@ -70,11 +70,11 @@ void main() { if((nRace == RACIAL_TYPE_UNDEAD) || (nRace == RACIAL_TYPE_OUTSIDER && nAlign == ALIGNMENT_EVIL)) { - nDam = d6(min(nCasterLevel, 40)); + nDam = d6(PRCMin(nCasterLevel, 40)); if(nMetaMagic & METAMAGIC_MAXIMIZE) { - nDam = 6 * min(nCasterLevel, 40); + nDam = 6 * PRCMin(nCasterLevel, 40); } if(nMetaMagic & METAMAGIC_EMPOWER) { @@ -88,11 +88,11 @@ void main() //Material native and living (nRace != RACIAL_TYPE_OUTSIDER && nRace != RACIAL_TYPE_UNDEAD && nRace != RACIAL_TYPE_CONSTRUCT)) { - nDam = d6(min(nCasterLevel/2, 30)); + nDam = d6(PRCMin(nCasterLevel/2, 30)); if(nMetaMagic & METAMAGIC_MAXIMIZE) { - nDam = 6 * min(nCasterLevel/2, 30); + nDam = 6 * PRCMin(nCasterLevel/2, 30); } if(nMetaMagic & METAMAGIC_EMPOWER) { diff --git a/_haks/poa_exp_spells/sp_chaavs_lgh.nss b/_haks/poa_exp_spells/sp_chaavs_lgh.nss index 2e69bed8..83dac8be 100644 --- a/_haks/poa_exp_spells/sp_chaavs_lgh.nss +++ b/_haks/poa_exp_spells/sp_chaavs_lgh.nss @@ -70,7 +70,7 @@ void main() effect eVilLink = EffectLinkEffects(EffectAttackDecrease(nModify, ATTACK_BONUS_MISC), EffectSavingThrowDecrease(SAVING_THROW_ALL, nModify, SAVING_THROW_TYPE_FEAR)); effect eGoodLink = EffectLinkEffects(EffectAttackIncrease(nModify, ATTACK_BONUS_MISC), EffectSavingThrowIncrease(SAVING_THROW_ALL, nModify, SAVING_THROW_TYPE_FEAR)); - eGoodLink = EffectLinkEffects(eGoodLink, EffectTemporaryHitpoints(d8(1) + min(40, nCasterLvl))); + eGoodLink = EffectLinkEffects(eGoodLink, EffectTemporaryHitpoints(d8(1) + PRCMin(40, nCasterLvl))); while(GetIsObjectValid(oTarget)) { diff --git a/_haks/poa_exp_spells/sp_chan_pyrob.nss b/_haks/poa_exp_spells/sp_chan_pyrob.nss index 5ec0b1a8..75f3dcb9 100644 --- a/_haks/poa_exp_spells/sp_chan_pyrob.nss +++ b/_haks/poa_exp_spells/sp_chan_pyrob.nss @@ -74,47 +74,47 @@ void main() return; } - nDam = d4(min((nCasterLvl/2), 40)); + nDam = d4(PRCMin((nCasterLvl/2), 40)); if(nMetaMagic & METAMAGIC_MAXIMIZE) { - nDam = 4 * (min((nCasterLvl/2), 40)); + nDam = 4 * (PRCMin((nCasterLvl/2), 40)); } } //standard else if(nSpell == SPELL_CHANNELED_PYROBURST_2) { - nDam = d6(min(40, nCasterLvl)); + nDam = d6(PRCMin(40, nCasterLvl)); fRadius = 3.048f; if(nMetaMagic & METAMAGIC_MAXIMIZE) { - nDam = 6 * (min(40, nCasterLvl)); + nDam = 6 * (PRCMin(40, nCasterLvl)); } } //full round else if(nSpell == SPELL_CHANNELED_PYROBURST_3) { - nDam = d8(min(40, nCasterLvl)); + nDam = d8(PRCMin(40, nCasterLvl)); fRadius = 4.57f; if(nMetaMagic & METAMAGIC_MAXIMIZE) { - nDam = 8 * (min(40, nCasterLvl)); + nDam = 8 * (PRCMin(40, nCasterLvl)); } } //two rounds else if(nSpell == SPELL_CHANNELED_PYROBURST_4) { - nDam = d10(min(40, nCasterLvl)); + nDam = d10(PRCMin(40, nCasterLvl)); fRadius = 6.10f; if(nMetaMagic & METAMAGIC_MAXIMIZE) { - nDam = 10 * (min(40, nCasterLvl)); + nDam = 10 * (PRCMin(40, nCasterLvl)); } } diff --git a/_haks/poa_exp_spells/sp_dancg_web.nss b/_haks/poa_exp_spells/sp_dancg_web.nss index 287e0cda..6268370e 100644 --- a/_haks/poa_exp_spells/sp_dancg_web.nss +++ b/_haks/poa_exp_spells/sp_dancg_web.nss @@ -46,7 +46,7 @@ void main() float fDur; int nMetaMagic = PRCGetMetaMagicFeat(); int nCasterLvl = PRCGetCasterLevel(oPC); - int nMin = min(40, nCasterLvl); + int nMin = PRCMin(40, nCasterLvl); int nDam; int nDC = PRCGetSaveDC(oTarget, oPC); diff --git a/_haks/poa_exp_spells/sp_deflect.nss b/_haks/poa_exp_spells/sp_deflect.nss index e9ecdcad..e5d65c18 100644 --- a/_haks/poa_exp_spells/sp_deflect.nss +++ b/_haks/poa_exp_spells/sp_deflect.nss @@ -54,7 +54,7 @@ void main() int nMetaMagic = PRCGetMetaMagicFeat(); int nSpell = PRCGetSpellId(); int nBonus = nSpell == SPELL_DEFLECT ? nCasterLvl/2: - min(20, (nCasterLvl/3)); + PRCMin(20, (nCasterLvl/3)); PRCSignalSpellEvent(oPC, FALSE, nSpell, oPC); diff --git a/_haks/poa_exp_spells/sp_dmnd_spray.nss b/_haks/poa_exp_spells/sp_dmnd_spray.nss index d113e56c..d92f7914 100644 --- a/_haks/poa_exp_spells/sp_dmnd_spray.nss +++ b/_haks/poa_exp_spells/sp_dmnd_spray.nss @@ -57,11 +57,11 @@ void main() { if(!PRCDoResistSpell(oPC, oTarget, nCasterLvl + SPGetPenetr())) { - int nDam = d6(min(nCasterLvl,40)); + int nDam = d6(PRCMin(nCasterLvl,40)); if(nMetaMagic & METAMAGIC_MAXIMIZE) { - nDam = 6 * (min(nCasterLvl, 40)); + nDam = 6 * (PRCMin(nCasterLvl, 40)); } if(nMetaMagic & METAMAGIC_EMPOWER) { diff --git a/_haks/poa_exp_spells/sp_doom_scarab.nss b/_haks/poa_exp_spells/sp_doom_scarab.nss index 81ec3816..6b2fac22 100644 --- a/_haks/poa_exp_spells/sp_doom_scarab.nss +++ b/_haks/poa_exp_spells/sp_doom_scarab.nss @@ -63,12 +63,12 @@ void main() while(GetIsObjectValid(oTarget)) { - nDam = d6(min(nCasterLvl/2, 40)); + nDam = d6(PRCMin(nCasterLvl/2, 40)); nDC = PRCGetSaveDC(oTarget, oPC); if(nMetaMagic & METAMAGIC_MAXIMIZE) { - nDam = 6 * (min(nCasterLvl/2, 40)); + nDam = 6 * (PRCMin(nCasterLvl/2, 40)); } if(nMetaMagic & METAMAGIC_EMPOWER) diff --git a/_haks/poa_exp_spells/sp_elemstrike.nss b/_haks/poa_exp_spells/sp_elemstrike.nss index a0d1f18d..9dcaa3d6 100644 --- a/_haks/poa_exp_spells/sp_elemstrike.nss +++ b/_haks/poa_exp_spells/sp_elemstrike.nss @@ -59,7 +59,7 @@ void main() location lTarget = PRCGetSpellTargetLocation(); int nSpellID = PRCGetSpellId(); int nCasterLvl = PRCGetCasterLevel(oCaster); - int nDice = min(40, nCasterLvl); + int nDice = PRCMin(40, nCasterLvl); int nPenter = nCasterLvl + SPGetPenetr(); int nMetaMagic = PRCGetMetaMagicFeat(); int nDamageType, nImpVfx, nDamage, nDamage2; diff --git a/_haks/poa_exp_spells/sp_energz_ptn.nss b/_haks/poa_exp_spells/sp_energz_ptn.nss index a70c31a6..ead57c45 100644 --- a/_haks/poa_exp_spells/sp_energz_ptn.nss +++ b/_haks/poa_exp_spells/sp_energz_ptn.nss @@ -120,7 +120,7 @@ void main() SetLocalInt(oGrenade, "PRC_EnergizedPotionSave", SAVING_THROW_TYPE_SONIC); sDamageType = "Sonic"; } - nLevel = min(20, nLevel); + nLevel = PRCMin(20, nLevel); SetLocalInt(oGrenade, "PRC_GrenadeLevel", nLevel); SetLocalInt(oGrenade, "PRC_EnPotSaveDC", nDC); diff --git a/_haks/poa_exp_spells/sp_exaltd_raim.nss b/_haks/poa_exp_spells/sp_exaltd_raim.nss index f6e822f9..ac17c6cd 100644 --- a/_haks/poa_exp_spells/sp_exaltd_raim.nss +++ b/_haks/poa_exp_spells/sp_exaltd_raim.nss @@ -44,7 +44,7 @@ Created: 6/28/06 int GetERSpellResistance(int nCasterLvl) { - int nSRBonus = min(nCasterLvl, 20); + int nSRBonus = PRCMin(nCasterLvl, 20); int nIPConst; switch(nSRBonus) @@ -81,7 +81,7 @@ void main() object oMyArmor = IPGetTargetedOrEquippedArmor(FALSE); int nCasterLvl = PRCGetCasterLevel(oPC); int nSR = GetERSpellResistance(nCasterLvl); - int nArmor = min(nCasterLvl / 5, 8); + int nArmor = PRCMin(nCasterLvl / 5, 8); float fDur = (60.0f * nCasterLvl); int nMetaMagic = PRCGetMetaMagicFeat(); diff --git a/_haks/poa_exp_spells/sp_extr_wtrele.nss b/_haks/poa_exp_spells/sp_extr_wtrele.nss index 9c3af967..3d44586a 100644 --- a/_haks/poa_exp_spells/sp_extr_wtrele.nss +++ b/_haks/poa_exp_spells/sp_extr_wtrele.nss @@ -48,7 +48,7 @@ void main() object oTarget = PRCGetSpellTargetObject(); int nCasterLvl = PRCGetCasterLevel(oPC); int nMetaMagic = PRCGetMetaMagicFeat(); - int nDam = d6(min(nCasterLvl, 40)); + int nDam = d6(PRCMin(nCasterLvl, 40)); int nSaveDC = PRCGetSaveDC(oTarget, oPC); int nType = MyPRCGetRacialType(oTarget); @@ -62,7 +62,7 @@ void main() if(nMetaMagic & METAMAGIC_MAXIMIZE) { - nDam = 6*(min(nCasterLvl, 40)); + nDam = 6*(PRCMin(nCasterLvl, 40)); } if(nMetaMagic & METAMAGIC_EMPOWER) diff --git a/_haks/poa_exp_spells/sp_false_life.nss b/_haks/poa_exp_spells/sp_false_life.nss index b7931cbf..9ba84858 100644 --- a/_haks/poa_exp_spells/sp_false_life.nss +++ b/_haks/poa_exp_spells/sp_false_life.nss @@ -39,9 +39,9 @@ void main() if(nMetaMagic & METAMAGIC_EXTEND) fDur *= 2; - int nBonus = d10(1) + (min(20, nCasterLvl)); + int nBonus = d10(1) + (PRCMin(20, nCasterLvl)); if(nMetaMagic & METAMAGIC_MAXIMIZE) - nBonus = 10 + (min(20, nCasterLvl)); + nBonus = 10 + (PRCMin(20, nCasterLvl)); if(nMetaMagic & METAMAGIC_EMPOWER) nBonus += (nBonus/2); diff --git a/_haks/poa_exp_spells/sp_flesh_armor.nss b/_haks/poa_exp_spells/sp_flesh_armor.nss index 0c41b1f4..29ef6c93 100644 --- a/_haks/poa_exp_spells/sp_flesh_armor.nss +++ b/_haks/poa_exp_spells/sp_flesh_armor.nss @@ -43,7 +43,7 @@ void main() int nCasterLvl = PRCGetCasterLevel(oPC); float fDur= (600.0f * nCasterLvl); int nMetaMagic = PRCGetMetaMagicFeat(); - int nAmount = min(50 + (nCasterLvl/2), (5 * nCasterLvl)); + int nAmount = PRCMin(50 + (nCasterLvl/2), (5 * nCasterLvl)); effect eDR = EffectDamageReduction(10 + (nCasterLvl/2), DAMAGE_POWER_PLUS_ONE, nAmount); //placeholder VFX diff --git a/_haks/poa_exp_spells/sp_flesh_rip.nss b/_haks/poa_exp_spells/sp_flesh_rip.nss index 84899fb7..4a3e1c2d 100644 --- a/_haks/poa_exp_spells/sp_flesh_rip.nss +++ b/_haks/poa_exp_spells/sp_flesh_rip.nss @@ -42,7 +42,7 @@ void main() int nMetaMagic = PRCGetMetaMagicFeat(); int nType = MyPRCGetRacialType(oPC); int nType2 = MyPRCGetRacialType(oTarget); - int nDice = min(20, nCasterLvl); + int nDice = PRCMin(20, nCasterLvl); PRCSignalSpellEvent(oTarget,TRUE, SPELL_FLESH_RIPPER, oPC); diff --git a/_haks/poa_exp_spells/sp_mass_frshld.nss b/_haks/poa_exp_spells/sp_mass_frshld.nss index dc5f5280..9419b234 100644 --- a/_haks/poa_exp_spells/sp_mass_frshld.nss +++ b/_haks/poa_exp_spells/sp_mass_frshld.nss @@ -36,7 +36,7 @@ void main() int nCasterLvl = PRCGetCasterLevel(oPC); location lLoc = PRCGetSpellTargetLocation(); int nMetaMagic = PRCGetMetaMagicFeat(); - int nDam = min(40,nCasterLvl); + int nDam = PRCMin(40,nCasterLvl); float fDur = RoundsToSeconds(nCasterLvl); effect eVis, eShield, eReduce; int nSpell = GetSpellId(); diff --git a/_haks/poa_exp_spells/sp_nec_bloat.nss b/_haks/poa_exp_spells/sp_nec_bloat.nss index 178d9a5c..f982c574 100644 --- a/_haks/poa_exp_spells/sp_nec_bloat.nss +++ b/_haks/poa_exp_spells/sp_nec_bloat.nss @@ -52,7 +52,7 @@ void main() object oPC = OBJECT_SELF; object oTarget = PRCGetSpellTargetObject(); - int nLevel = min(PRCGetCasterLevel(oPC), 20); + int nLevel = PRCMin(PRCGetCasterLevel(oPC), 20); int nMetaMagic = PRCGetMetaMagicFeat(); PRCSignalSpellEvent(oTarget, TRUE, SPELL_NECROTIC_BLOAT, oPC); diff --git a/_haks/poa_exp_spells/sp_nec_burst.nss b/_haks/poa_exp_spells/sp_nec_burst.nss index d76790c0..3e6c1d22 100644 --- a/_haks/poa_exp_spells/sp_nec_burst.nss +++ b/_haks/poa_exp_spells/sp_nec_burst.nss @@ -51,7 +51,7 @@ void main() object oPC = OBJECT_SELF; - int nLevel = min(PRCGetCasterLevel(oPC), 40); + int nLevel = PRCMin(PRCGetCasterLevel(oPC), 40); int nMetaMagic = PRCGetMetaMagicFeat(); object oTarget = PRCGetSpellTargetObject(); diff --git a/_haks/poa_exp_spells/sp_nec_erupt.nss b/_haks/poa_exp_spells/sp_nec_erupt.nss index 8ee26e29..d18df174 100644 --- a/_haks/poa_exp_spells/sp_nec_erupt.nss +++ b/_haks/poa_exp_spells/sp_nec_erupt.nss @@ -53,7 +53,7 @@ void main() object oPC = OBJECT_SELF; object oTarget = PRCGetSpellTargetObject(); - int nLevel = min(PRCGetCasterLevel(oPC), 60); + int nLevel = PRCMin(PRCGetCasterLevel(oPC), 60); int nMetaMagic = PRCGetMetaMagicFeat(); PRCSignalSpellEvent(oTarget, TRUE, SPELL_NECROTIC_ERUPTION, oPC); diff --git a/_haks/poa_exp_spells/sp_nec_term.nss b/_haks/poa_exp_spells/sp_nec_term.nss index 88d24f42..f0a0be6d 100644 --- a/_haks/poa_exp_spells/sp_nec_term.nss +++ b/_haks/poa_exp_spells/sp_nec_term.nss @@ -54,7 +54,7 @@ void main() object oPC = OBJECT_SELF; object oTarget = PRCGetSpellTargetObject(); - int nLevel = min(PRCGetCasterLevel(oPC), 80); + int nLevel = PRCMin(PRCGetCasterLevel(oPC), 80); int nMetaMagic = PRCGetMetaMagicFeat(); PRCSignalSpellEvent(oTarget, TRUE, SPELL_NECROTIC_TERMINATION, oPC); diff --git a/_haks/poa_exp_spells/sp_ot_frz_sphere.nss b/_haks/poa_exp_spells/sp_ot_frz_sphere.nss index 29d8fe08..1072eab1 100644 --- a/_haks/poa_exp_spells/sp_ot_frz_sphere.nss +++ b/_haks/poa_exp_spells/sp_ot_frz_sphere.nss @@ -52,7 +52,7 @@ void main() object oTarget; location lTarget = PRCGetSpellTargetLocation(); int nCasterLvl = PRCGetCasterLevel(oPC); - int nDice = min(40, nCasterLvl); + int nDice = PRCMin(40, nCasterLvl); int nMetaMagic = PRCGetMetaMagicFeat(); int eDamageType = ChangedElementalDamage(oPC, DAMAGE_TYPE_COLD); int nDC, bIsElemental, nDam; diff --git a/_haks/poa_exp_spells/sp_phoenix_fire.nss b/_haks/poa_exp_spells/sp_phoenix_fire.nss index 064ec247..55332e76 100644 --- a/_haks/poa_exp_spells/sp_phoenix_fire.nss +++ b/_haks/poa_exp_spells/sp_phoenix_fire.nss @@ -95,11 +95,11 @@ void main() if(GetAlignmentGoodEvil(oTarget) == ALIGNMENT_EVIL) { //Damage = 2d6/level - nDam = d6(min(60, (2 * nCasterLvl))); + nDam = d6(PRCMin(60, (2 * nCasterLvl))); if(nMetaMagic & METAMAGIC_MAXIMIZE) { - nDam = 6 * (min(60, (2 * nCasterLvl))); + nDam = 6 * (PRCMin(60, (2 * nCasterLvl))); } if(nMetaMagic & METAMAGIC_EMPOWER) @@ -126,11 +126,11 @@ void main() else if(GetAlignmentGoodEvil(oTarget) == ALIGNMENT_NEUTRAL) { //Half damage for neutrality, Damage = 1d6 - nDam = d6(min(40,nCasterLvl)); + nDam = d6(PRCMin(40,nCasterLvl)); if(nMetaMagic & METAMAGIC_MAXIMIZE) { - nDam = 6 * (min(40,nCasterLvl)); + nDam = 6 * (PRCMin(40,nCasterLvl)); } if(nMetaMagic & METAMAGIC_EMPOWER) diff --git a/_haks/poa_exp_spells/sp_pnp_frshld.nss b/_haks/poa_exp_spells/sp_pnp_frshld.nss index 1e079ce5..d4990c60 100644 --- a/_haks/poa_exp_spells/sp_pnp_frshld.nss +++ b/_haks/poa_exp_spells/sp_pnp_frshld.nss @@ -62,7 +62,7 @@ void main() int nCasterLvl = PRCGetCasterLevel(oPC); int nSpell = GetSpellId(); int nMetaMagic = PRCGetMetaMagicFeat(); - int nDam = min(40,nCasterLvl); + int nDam = PRCMin(40,nCasterLvl); float fDur = RoundsToSeconds(nCasterLvl); effect eShield; effect eVis; diff --git a/_haks/poa_exp_spells/sp_prot_arrows.nss b/_haks/poa_exp_spells/sp_prot_arrows.nss index 3f7ef4b6..fdc5c57c 100644 --- a/_haks/poa_exp_spells/sp_prot_arrows.nss +++ b/_haks/poa_exp_spells/sp_prot_arrows.nss @@ -53,7 +53,7 @@ void main() PRCSignalSpellEvent(oTarget,FALSE, SPELL_PROTECTION_FROM_ARROWS, oPC); // Damage Resistance 10 piercing, max of 100 total - effect eBuff = EffectLinkEffects(EffectDamageResistance(DAMAGE_TYPE_PIERCING, 10+(nCasterLvl/4), min((10 * nCasterLvl), 100)), EffectVisualEffect(VFX_DUR_PROTECTION_ARROWS)); + effect eBuff = EffectLinkEffects(EffectDamageResistance(DAMAGE_TYPE_PIERCING, 10+(nCasterLvl/4), PRCMin((10 * nCasterLvl), 100)), EffectVisualEffect(VFX_DUR_PROTECTION_ARROWS)); SPApplyEffectToObject(DURATION_TYPE_TEMPORARY, eBuff, oTarget, fDur); diff --git a/_haks/poa_exp_spells/sp_right_smt.nss b/_haks/poa_exp_spells/sp_right_smt.nss index 9dd5e542..bf67fd2c 100644 --- a/_haks/poa_exp_spells/sp_right_smt.nss +++ b/_haks/poa_exp_spells/sp_right_smt.nss @@ -63,21 +63,21 @@ void main() if((MyPRCGetRacialType(oTarget) == RACIAL_TYPE_OUTSIDER) && (nAlign == ALIGNMENT_EVIL)) { - nDam = d8(min(nCasterLvl, 20+nCasterLvl)); + nDam = d8(PRCMin(nCasterLvl, 20+nCasterLvl)); if(nMetaMagic & METAMAGIC_MAXIMIZE) { - nDam = 8 * (min(nCasterLvl, 20+nCasterLvl)); + nDam = 8 * (PRCMin(nCasterLvl, 20+nCasterLvl)); } } else { - nDam = d6(min(nCasterLvl, 20+nCasterLvl)); + nDam = d6(PRCMin(nCasterLvl, 20+nCasterLvl)); if(nMetaMagic & METAMAGIC_MAXIMIZE) { - nDam = 6 * (min(nCasterLvl, 20+nCasterLvl)); + nDam = 6 * (PRCMin(nCasterLvl, 20+nCasterLvl)); } } diff --git a/_haks/poa_exp_spells/sp_ring_bldsC.nss b/_haks/poa_exp_spells/sp_ring_bldsC.nss index b379138e..1aa8c7e7 100644 --- a/_haks/poa_exp_spells/sp_ring_bldsC.nss +++ b/_haks/poa_exp_spells/sp_ring_bldsC.nss @@ -60,7 +60,7 @@ void main() { if (spellsIsTarget(oTarget, SPELL_TARGET_STANDARDHOSTILE, oShadow)) { - int nDamage = d6() + min(20, nCasterLvl); + int nDamage = d6() + PRCMin(20, nCasterLvl); ApplyEffectToObject(DURATION_TYPE_INSTANT, PRCEffectDamage(oTarget, DAMAGE_TYPE_SLASHING, nDamage), oTarget); } //Select the next target within the spell shape. diff --git a/_haks/poa_exp_spells/sp_shock_grasp.nss b/_haks/poa_exp_spells/sp_shock_grasp.nss index b9cd182f..3be497d6 100644 --- a/_haks/poa_exp_spells/sp_shock_grasp.nss +++ b/_haks/poa_exp_spells/sp_shock_grasp.nss @@ -50,7 +50,7 @@ int DoSpell(object oCaster, object oTarget, int nCasterLevel, int nEvent) { int nMetaMagic = PRCGetMetaMagicFeat(); int nPenetr = nCasterLevel + SPGetPenetr(); - int nDie = min(nCasterLevel, 20); + int nDie = PRCMin(nCasterLevel, 20); object oArmor = GetItemInSlot(INVENTORY_SLOT_CHEST, oTarget); effect eVis = EffectVisualEffect(VFX_DUR_BIGBYS_BIGBLUE_HAND2); diff --git a/_haks/poa_exp_spells/sp_shriveling.nss b/_haks/poa_exp_spells/sp_shriveling.nss index 37334ed5..d7dfb913 100644 --- a/_haks/poa_exp_spells/sp_shriveling.nss +++ b/_haks/poa_exp_spells/sp_shriveling.nss @@ -55,12 +55,12 @@ void main() //SR if(!PRCDoResistSpell(oPC, oTarget, nCasterLvl + SPGetPenetr()) && PRCGetIsAliveCreature(oTarget)) { - int nDam = d4(min(nCasterLvl, 20)); + int nDam = d4(PRCMin(nCasterLvl, 20)); //eval metamagic if(nMetaMagic & METAMAGIC_MAXIMIZE) { - nDam = 4 * (min(nCasterLvl, 20)); + nDam = 4 * (PRCMin(nCasterLvl, 20)); } if(nMetaMagic & METAMAGIC_EMPOWER) diff --git a/_haks/poa_exp_spells/sp_strm_shard.nss b/_haks/poa_exp_spells/sp_strm_shard.nss index 36804e64..ea767c39 100644 --- a/_haks/poa_exp_spells/sp_strm_shard.nss +++ b/_haks/poa_exp_spells/sp_strm_shard.nss @@ -62,11 +62,11 @@ void main() SPApplyEffectToObject(DURATION_TYPE_PERMANENT, EffectBlindness(), oTarget); } - int nDam = d6(min(nCasterLvl, 40)); + int nDam = d6(PRCMin(nCasterLvl, 40)); if(nMetaMagic & METAMAGIC_MAXIMIZE) { - nDam = 6 *(min(nCasterLvl, 40)); + nDam = 6 *(PRCMin(nCasterLvl, 40)); } if(nMetaMagic & METAMAGIC_EMPOWER) diff --git a/_haks/poa_exp_spells/sp_touch_fatigue.nss b/_haks/poa_exp_spells/sp_touch_fatigue.nss index 13307056..cbcf20b0 100644 --- a/_haks/poa_exp_spells/sp_touch_fatigue.nss +++ b/_haks/poa_exp_spells/sp_touch_fatigue.nss @@ -37,7 +37,7 @@ int DoSpell(object oCaster, object oTarget, int nCasterLevel, int nEvent) { int nMetaMagic = PRCGetMetaMagicFeat(); int nPenetr = nCasterLevel + SPGetPenetr(); - int nDie = min(nCasterLevel, 20); + int nDie = PRCMin(nCasterLevel, 20); object oArmor = GetItemInSlot(INVENTORY_SLOT_CHEST, oTarget); effect eVis = EffectVisualEffect(VFX_DUR_BIGBYS_BIGBLUE_HAND2); diff --git a/_haks/poa_exp_spells/sp_unliv_weap.nss b/_haks/poa_exp_spells/sp_unliv_weap.nss index 27bfd5c8..0b0ee002 100644 --- a/_haks/poa_exp_spells/sp_unliv_weap.nss +++ b/_haks/poa_exp_spells/sp_unliv_weap.nss @@ -82,7 +82,7 @@ void HiImABomb(object oTarget, int nCounter, int nHP, int nCasterLvl, int nMetaM // eSplode = SupernaturalEffect(eSplode); location lLoc = GetLocation(oTarget); - int nDice = min((nCasterLvl/2), 20); + int nDice = PRCMin((nCasterLvl/2), 20); SPApplyEffectToObject(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_FNF_BLINDDEAF), oTarget); diff --git a/_haks/poa_exp_spells/sp_wrtch_blght.nss b/_haks/poa_exp_spells/sp_wrtch_blght.nss index 7eb88887..45b66a81 100644 --- a/_haks/poa_exp_spells/sp_wrtch_blght.nss +++ b/_haks/poa_exp_spells/sp_wrtch_blght.nss @@ -47,7 +47,7 @@ void main() location lLoc = PRCGetSpellTargetLocation(); int nCasterLvl = PRCGetCasterLevel(oPC); int nMetaMagic = PRCGetMetaMagicFeat(); - int nDice = min(nCasterLvl, 60); + int nDice = PRCMin(nCasterLvl, 60); int nAlign; int nDam; int nDC; diff --git a/_haks/poa_exp_spells/x0_s0_divfav.nss b/_haks/poa_exp_spells/x0_s0_divfav.nss index 49291fa7..c7499645 100644 --- a/_haks/poa_exp_spells/x0_s0_divfav.nss +++ b/_haks/poa_exp_spells/x0_s0_divfav.nss @@ -44,7 +44,7 @@ void main() float fDuration = TurnsToSeconds(1); // * Duration 1 turn if(nMetaMagic & METAMAGIC_EXTEND) fDuration *= 2; - int nScale = min(20, max(1, CasterLvl / 3)); + int nScale = PRCMin(20, PRCMax(1, CasterLvl / 3)); effect eVis = EffectVisualEffect(VFX_IMP_HEAD_HOLY); diff --git a/_haks/poa_exp_spells/x2_s0_acidshth.nss b/_haks/poa_exp_spells/x2_s0_acidshth.nss index 8f056328..43dffba4 100644 --- a/_haks/poa_exp_spells/x2_s0_acidshth.nss +++ b/_haks/poa_exp_spells/x2_s0_acidshth.nss @@ -46,7 +46,7 @@ SetLocalInt(OBJECT_SELF, "X2_L_LAST_SPELLSCHOOL_VAR", SPELL_SCHOOL_CONJURATION); //Declare major variables effect eVis = EffectVisualEffect(448); int nDuration = PRCGetCasterLevel(OBJECT_SELF); - int nDamage = min(nDuration * 2, 40); + int nDamage = PRCMin(nDuration * 2, 40); int nMetaMagic = PRCGetMetaMagicFeat(); object oTarget = OBJECT_SELF; effect eShield = EffectDamageShield(nDamage, 0, ChangedElementalDamage(OBJECT_SELF, DAMAGE_TYPE_ACID)); diff --git a/_haks/poa_exp_spells/x2_s0_icedagg.nss b/_haks/poa_exp_spells/x2_s0_icedagg.nss index 24f61152..774c68ba 100644 --- a/_haks/poa_exp_spells/x2_s0_icedagg.nss +++ b/_haks/poa_exp_spells/x2_s0_icedagg.nss @@ -29,7 +29,7 @@ void main() location lTarget = PRCGetSpellTargetLocation(); int nCasterLvl = PRCGetCasterLevel(oCaster); int nPenetr = nCasterLvl + SPGetPenetr(); - int nDice = min(nCasterLvl, 20); + int nDice = PRCMin(nCasterLvl, 20); int nMetaMagic = PRCGetMetaMagicFeat(); int EleDmg = ChangedElementalDamage(oCaster, DAMAGE_TYPE_COLD); int nSaveType = ChangedSaveType(EleDmg); diff --git a/_module/ncs/altardeath2.ncs b/_module/ncs/altardeath2.ncs index 7a7ab4e3..771f9243 100644 Binary files a/_module/ncs/altardeath2.ncs and b/_module/ncs/altardeath2.ncs differ diff --git a/_module/ncs/darktrigger.ncs b/_module/ncs/darktrigger.ncs index a3f08a15..3678fcf3 100644 Binary files a/_module/ncs/darktrigger.ncs and b/_module/ncs/darktrigger.ncs differ diff --git a/_module/ncs/horsecrettrig1.ncs b/_module/ncs/horsecrettrig1.ncs index 94310027..55dd910b 100644 Binary files a/_module/ncs/horsecrettrig1.ncs and b/_module/ncs/horsecrettrig1.ncs differ diff --git a/_module/ncs/re_widget9.ncs b/_module/ncs/re_widget9.ncs index 1005b0cf..3af13245 100644 Binary files a/_module/ncs/re_widget9.ncs and b/_module/ncs/re_widget9.ncs differ diff --git a/_module/ncs/sf_wingwand.ncs b/_module/ncs/sf_wingwand.ncs index edbcd395..43b1f98d 100644 Binary files a/_module/ncs/sf_wingwand.ncs and b/_module/ncs/sf_wingwand.ncs differ diff --git a/_module/nss/color_pc_enter.nss b/_module/nss/color_pc_enter.nss index e990c94e..68c15f1a 100644 --- a/_module/nss/color_pc_enter.nss +++ b/_module/nss/color_pc_enter.nss @@ -11,21 +11,21 @@ Event of the module properties event tab. These are colors defined by Genji's Color Token System.. NOTE: This is the fastest way to use color in text messages.. (Actual Examples) - GetRGB() := WHITE // no parameters, default is white - GetRGB(15,15,1):= YELLOW - GetRGB(15,5,1) := ORANGE - GetRGB(15,1,1) := RED - GetRGB(7,7,15) := BLUE - GetRGB(1,15,1) := NEON GREEN - GetRGB(1,11,1) := GREEN - GetRGB(9,6,1) := BROWN - GetRGB(11,9,11):= LIGHT PURPLE - GetRGB(12,10,7):= TAN - GetRGB(8,1,8) := PURPLE - GetRGB(13,9,13):= PLUM - GetRGB(1,7,7) := TEAL - GetRGB(1,15,15):= CYAN - GetRGB(1,1,15) := BRIGHT BLUE + PRCGetRGB() := WHITE // no parameters, default is white + PRCGetRGB(15,15,1):= YELLOW + PRCGetRGB(15,5,1) := ORANGE + PRCGetRGB(15,1,1) := RED + PRCGetRGB(7,7,15) := BLUE + PRCGetRGB(1,15,1) := NEON GREEN + PRCGetRGB(1,11,1) := GREEN + PRCGetRGB(9,6,1) := BROWN + PRCGetRGB(11,9,11):= LIGHT PURPLE + PRCGetRGB(12,10,7):= TAN + PRCGetRGB(8,1,8) := PURPLE + PRCGetRGB(13,9,13):= PLUM + PRCGetRGB(1,7,7) := TEAL + PRCGetRGB(1,15,15):= CYAN + PRCGetRGB(1,1,15) := BRIGHT BLUE */ //////////////////////////////////////// @@ -40,25 +40,25 @@ if(!GetIsPC(oPC)) return; //This is an example of a colorful message sent to the PC.. string sMessage; -sMessage = GetRGB(1,7,7); //The color (See above) +sMessage = PRCGetRGB(1,7,7); //The color (See above) sMessage += "Welcome "; //The text to be colorized by the above color. -sMessage += GetRGB(15,15,1);//The next color. +sMessage += PRCGetRGB(15,15,1);//The next color. sMessage += "To "; //The next text to be colorized by the above color. -sMessage += GetRGB(15,1,1);//etc.. +sMessage += PRCGetRGB(15,1,1);//etc.. sMessage += "This "; -sMessage += GetRGB(7,7,15); +sMessage += PRCGetRGB(7,7,15); sMessage += "Color "; -sMessage += GetRGB(1,15,1); +sMessage += PRCGetRGB(1,15,1); sMessage += "Resource "; -sMessage += GetRGB(13,9,13); +sMessage += PRCGetRGB(13,9,13); sMessage += "Module "; -sMessage += GetRGB(12,10,7); +sMessage += PRCGetRGB(12,10,7); sMessage += "Designed "; -sMessage += GetRGB(); +sMessage += PRCGetRGB(); sMessage += "By "; -sMessage += GetRGB(15,5,1); +sMessage += PRCGetRGB(15,5,1); sMessage += "Genisys / "; -sMessage += GetRGB(12,10,7); +sMessage += PRCGetRGB(12,10,7); sMessage += "Guile"; //This is how you would send the message in the combat logg.. diff --git a/_module/nss/coloritemcyan.nss b/_module/nss/coloritemcyan.nss index edd15dc7..30702019 100644 --- a/_module/nss/coloritemcyan.nss +++ b/_module/nss/coloritemcyan.nss @@ -12,24 +12,24 @@ to the proper color that matches this script's name (ie coloritemwhite script goes on the line which changes the color to white!) -**These GetRGB(#,#,#) are the functions you use to get the proper +**These PRCGetRGB(#,#,#) are the functions you use to get the proper color for the token you are setting on the item name.** - GetRGB() := WHITE // no parameters, default is white - GetRGB(15,15,1):= YELLOW - GetRGB(15,5,1) := ORANGE - GetRGB(15,1,1) := RED - GetRGB(7,7,15) := BLUE - GetRGB(1,15,1) := NEON GREEN - GetRGB(1,11,1) := GREEN - GetRGB(9,6,1) := BROWN - GetRGB(11,9,11):= LIGHT PURPLE - GetRGB(12,10,7):= TAN - GetRGB(8,1,8) := PURPLE - GetRGB(13,9,13):= PLUM - GetRGB(1,7,7) := TEAL - GetRGB(1,15,15):= CYAN - GetRGB(1,1,15) := BRIGHT BLUE + PRCGetRGB() := WHITE // no parameters, default is white + PRCGetRGB(15,15,1):= YELLOW + PRCGetRGB(15,5,1) := ORANGE + PRCGetRGB(15,1,1) := RED + PRCGetRGB(7,7,15) := BLUE + PRCGetRGB(1,15,1) := NEON GREEN + PRCGetRGB(1,11,1) := GREEN + PRCGetRGB(9,6,1) := BROWN + PRCGetRGB(11,9,11):= LIGHT PURPLE + PRCGetRGB(12,10,7):= TAN + PRCGetRGB(8,1,8) := PURPLE + PRCGetRGB(13,9,13):= PLUM + PRCGetRGB(1,7,7) := TEAL + PRCGetRGB(1,15,15):= CYAN + PRCGetRGB(1,1,15) := BRIGHT BLUE */ //////////////////////////////////////////////// @@ -37,7 +37,7 @@ color for the token you are setting on the item name.** //This color system is by Genji, w/ special thanks to //ADAL-Miko & Rich Dersheimer for their help to Genji :) -string GetRGB(int red = 15,int green = 15,int blue = 15); +string PRCGetRGB(int red = 15,int green = 15,int blue = 15); //Main Script// @@ -49,9 +49,9 @@ void main() object oPC = GetPCSpeaker(); string sName = GetLocalString(oPC, "ONNC"); -//string sToken = GetRGB(#,#,#); +//string sToken = PRCGetRGB(#,#,#); //(This is the proper function you need to create below!) -string sToken = GetRGB(1,15,15); //Cyan +string sToken = PRCGetRGB(1,15,15); //Cyan string sMod; @@ -93,7 +93,7 @@ DelayCommand(2.2, DeleteLocalString(oPC, "ONNC")); } //Prototype String Defined -string GetRGB(int red = 15,int green = 15,int blue = 15) +string PRCGetRGB(int red = 15,int green = 15,int blue = 15) { object coloringBook = GetObjectByTag("ColoringBook"); if (coloringBook == OBJECT_INVALID) diff --git a/_module/nss/coloritemgreen.nss b/_module/nss/coloritemgreen.nss index fded45ad..57258cbb 100644 --- a/_module/nss/coloritemgreen.nss +++ b/_module/nss/coloritemgreen.nss @@ -12,24 +12,24 @@ to the proper color that matches this script's name (ie coloritemwhite script goes on the line which changes the color to white!) -**These GetRGB(#,#,#) are the functions you use to get the proper +**These PRCGetRGB(#,#,#) are the functions you use to get the proper color for the token you are setting on the item name.** - GetRGB() := WHITE // no parameters, default is white - GetRGB(15,15,1):= YELLOW - GetRGB(15,5,1) := ORANGE - GetRGB(15,1,1) := RED - GetRGB(7,7,15) := BLUE - GetRGB(1,15,1) := NEON GREEN - GetRGB(1,11,1) := GREEN - GetRGB(9,6,1) := BROWN - GetRGB(11,9,11):= LIGHT PURPLE - GetRGB(12,10,7):= TAN - GetRGB(8,1,8) := PURPLE - GetRGB(13,9,13):= PLUM - GetRGB(1,7,7) := TEAL - GetRGB(1,15,15):= CYAN - GetRGB(1,1,15) := BRIGHT BLUE + PRCGetRGB() := WHITE // no parameters, default is white + PRCGetRGB(15,15,1):= YELLOW + PRCGetRGB(15,5,1) := ORANGE + PRCGetRGB(15,1,1) := RED + PRCGetRGB(7,7,15) := BLUE + PRCGetRGB(1,15,1) := NEON GREEN + PRCGetRGB(1,11,1) := GREEN + PRCGetRGB(9,6,1) := BROWN + PRCGetRGB(11,9,11):= LIGHT PURPLE + PRCGetRGB(12,10,7):= TAN + PRCGetRGB(8,1,8) := PURPLE + PRCGetRGB(13,9,13):= PLUM + PRCGetRGB(1,7,7) := TEAL + PRCGetRGB(1,15,15):= CYAN + PRCGetRGB(1,1,15) := BRIGHT BLUE */ //////////////////////////////////////////////// @@ -37,7 +37,7 @@ color for the token you are setting on the item name.** //This color system is by Genji, w/ special thanks to //ADAL-Miko & Rich Dersheimer for their help to Genji :) -string GetRGB(int red = 15,int green = 15,int blue = 15); +string PRCGetRGB(int red = 15,int green = 15,int blue = 15); //Main Script// @@ -49,9 +49,9 @@ void main() object oPC = GetPCSpeaker(); string sName = GetLocalString(oPC, "ONNC"); -//string sToken = GetRGB(#,#,#); +//string sToken = PRCGetRGB(#,#,#); //(This is the proper function you need to create below!) -string sToken = GetRGB(1,11,1); //Green +string sToken = PRCGetRGB(1,11,1); //Green string sMod; @@ -93,7 +93,7 @@ DelayCommand(2.2, DeleteLocalString(oPC, "ONNC")); } //Prototype String Defined -string GetRGB(int red = 15,int green = 15,int blue = 15) +string PRCGetRGB(int red = 15,int green = 15,int blue = 15) { object coloringBook = GetObjectByTag("ColoringBook"); if (coloringBook == OBJECT_INVALID) diff --git a/_module/nss/coloritemneongrn.nss b/_module/nss/coloritemneongrn.nss index 21db4a05..9ec36506 100644 --- a/_module/nss/coloritemneongrn.nss +++ b/_module/nss/coloritemneongrn.nss @@ -12,24 +12,24 @@ to the proper color that matches this script's name (ie coloritemwhite script goes on the line which changes the color to white!) -**These GetRGB(#,#,#) are the functions you use to get the proper +**These PRCGetRGB(#,#,#) are the functions you use to get the proper color for the token you are setting on the item name.** - GetRGB() := WHITE // no parameters, default is white - GetRGB(15,15,1):= YELLOW - GetRGB(15,5,1) := ORANGE - GetRGB(15,1,1) := RED - GetRGB(7,7,15) := BLUE - GetRGB(1,15,1) := NEON GREEN - GetRGB(1,11,1) := GREEN - GetRGB(9,6,1) := BROWN - GetRGB(11,9,11):= LIGHT PURPLE - GetRGB(12,10,7):= TAN - GetRGB(8,1,8) := PURPLE - GetRGB(13,9,13):= PLUM - GetRGB(1,7,7) := TEAL - GetRGB(1,15,15):= CYAN - GetRGB(1,1,15) := BRIGHT BLUE + PRCGetRGB() := WHITE // no parameters, default is white + PRCGetRGB(15,15,1):= YELLOW + PRCGetRGB(15,5,1) := ORANGE + PRCGetRGB(15,1,1) := RED + PRCGetRGB(7,7,15) := BLUE + PRCGetRGB(1,15,1) := NEON GREEN + PRCGetRGB(1,11,1) := GREEN + PRCGetRGB(9,6,1) := BROWN + PRCGetRGB(11,9,11):= LIGHT PURPLE + PRCGetRGB(12,10,7):= TAN + PRCGetRGB(8,1,8) := PURPLE + PRCGetRGB(13,9,13):= PLUM + PRCGetRGB(1,7,7) := TEAL + PRCGetRGB(1,15,15):= CYAN + PRCGetRGB(1,1,15) := BRIGHT BLUE */ //////////////////////////////////////////////// @@ -37,7 +37,7 @@ color for the token you are setting on the item name.** //This color system is by Genji, w/ special thanks to //ADAL-Miko & Rich Dersheimer for their help to Genji :) -string GetRGB(int red = 15,int green = 15,int blue = 15); +string PRCGetRGB(int red = 15,int green = 15,int blue = 15); //Main Script// @@ -49,9 +49,9 @@ void main() object oPC = GetPCSpeaker(); string sName = GetLocalString(oPC, "ONNC"); -//string sToken = GetRGB(#,#,#); +//string sToken = PRCGetRGB(#,#,#); //(This is the proper function you need to create below!) -string sToken = GetRGB(1,15,1); //neon green +string sToken = PRCGetRGB(1,15,1); //neon green string sMod; @@ -93,7 +93,7 @@ DelayCommand(2.2, DeleteLocalString(oPC, "ONNC")); } //Prototype String Defined -string GetRGB(int red = 15,int green = 15,int blue = 15) +string PRCGetRGB(int red = 15,int green = 15,int blue = 15) { object coloringBook = GetObjectByTag("ColoringBook"); if (coloringBook == OBJECT_INVALID) diff --git a/_module/nss/coloritemplum.nss b/_module/nss/coloritemplum.nss index 9c1a64fd..3344502d 100644 --- a/_module/nss/coloritemplum.nss +++ b/_module/nss/coloritemplum.nss @@ -12,24 +12,24 @@ to the proper color that matches this script's name (ie coloritemwhite script goes on the line which changes the color to white!) -**These GetRGB(#,#,#) are the functions you use to get the proper +**These PRCGetRGB(#,#,#) are the functions you use to get the proper color for the token you are setting on the item name.** - GetRGB() := WHITE // no parameters, default is white - GetRGB(15,15,1):= YELLOW - GetRGB(15,5,1) := ORANGE - GetRGB(15,1,1) := RED - GetRGB(7,7,15) := BLUE - GetRGB(1,15,1) := NEON GREEN - GetRGB(1,11,1) := GREEN - GetRGB(9,6,1) := BROWN - GetRGB(11,9,11):= LIGHT PURPLE - GetRGB(12,10,7):= TAN - GetRGB(8,1,8) := PURPLE - GetRGB(13,9,13):= PLUM - GetRGB(1,7,7) := TEAL - GetRGB(1,15,15):= CYAN - GetRGB(1,1,15) := BRIGHT BLUE + PRCGetRGB() := WHITE // no parameters, default is white + PRCGetRGB(15,15,1):= YELLOW + PRCGetRGB(15,5,1) := ORANGE + PRCGetRGB(15,1,1) := RED + PRCGetRGB(7,7,15) := BLUE + PRCGetRGB(1,15,1) := NEON GREEN + PRCGetRGB(1,11,1) := GREEN + PRCGetRGB(9,6,1) := BROWN + PRCGetRGB(11,9,11):= LIGHT PURPLE + PRCGetRGB(12,10,7):= TAN + PRCGetRGB(8,1,8) := PURPLE + PRCGetRGB(13,9,13):= PLUM + PRCGetRGB(1,7,7) := TEAL + PRCGetRGB(1,15,15):= CYAN + PRCGetRGB(1,1,15) := BRIGHT BLUE */ //////////////////////////////////////////////// @@ -37,7 +37,7 @@ color for the token you are setting on the item name.** //This color system is by Genji, w/ special thanks to //ADAL-Miko & Rich Dersheimer for their help to Genji :) -string GetRGB(int red = 15,int green = 15,int blue = 15); +string PRCGetRGB(int red = 15,int green = 15,int blue = 15); //Main Script// @@ -49,9 +49,9 @@ void main() object oPC = GetPCSpeaker(); string sName = GetLocalString(oPC, "ONNC"); -//string sToken = GetRGB(#,#,#); +//string sToken = PRCGetRGB(#,#,#); //(This is the proper function you need to create below!) -string sToken = GetRGB(13,9,13); //Plum +string sToken = PRCGetRGB(13,9,13); //Plum string sMod; @@ -92,7 +92,7 @@ DelayCommand(2.2, DeleteLocalString(oPC, "ONNC")); } //Prototype String Defined -string GetRGB(int red = 15,int green = 15,int blue = 15) +string PRCGetRGB(int red = 15,int green = 15,int blue = 15) { object coloringBook = GetObjectByTag("ColoringBook"); if (coloringBook == OBJECT_INVALID) diff --git a/_module/nss/coloritemred.nss b/_module/nss/coloritemred.nss index e5512fc7..9432d75c 100644 --- a/_module/nss/coloritemred.nss +++ b/_module/nss/coloritemred.nss @@ -12,24 +12,24 @@ to the proper color that matches this script's name (ie coloritemwhite script goes on the line which changes the color to white!) -**These GetRGB(#,#,#) are the functions you use to get the proper +**These PRCGetRGB(#,#,#) are the functions you use to get the proper color for the token you are setting on the item name.** - GetRGB() := WHITE // no parameters, default is white - GetRGB(15,15,1):= YELLOW - GetRGB(15,5,1) := ORANGE - GetRGB(15,1,1) := RED - GetRGB(7,7,15) := BLUE - GetRGB(1,15,1) := NEON GREEN - GetRGB(1,11,1) := GREEN - GetRGB(9,6,1) := BROWN - GetRGB(11,9,11):= LIGHT PURPLE - GetRGB(12,10,7):= TAN - GetRGB(8,1,8) := PURPLE - GetRGB(13,9,13):= PLUM - GetRGB(1,7,7) := TEAL - GetRGB(1,15,15):= CYAN - GetRGB(1,1,15) := BRIGHT BLUE + PRCGetRGB() := WHITE // no parameters, default is white + PRCGetRGB(15,15,1):= YELLOW + PRCGetRGB(15,5,1) := ORANGE + PRCGetRGB(15,1,1) := RED + PRCGetRGB(7,7,15) := BLUE + PRCGetRGB(1,15,1) := NEON GREEN + PRCGetRGB(1,11,1) := GREEN + PRCGetRGB(9,6,1) := BROWN + PRCGetRGB(11,9,11):= LIGHT PURPLE + PRCGetRGB(12,10,7):= TAN + PRCGetRGB(8,1,8) := PURPLE + PRCGetRGB(13,9,13):= PLUM + PRCGetRGB(1,7,7) := TEAL + PRCGetRGB(1,15,15):= CYAN + PRCGetRGB(1,1,15) := BRIGHT BLUE */ //////////////////////////////////////////////// @@ -37,7 +37,7 @@ color for the token you are setting on the item name.** //This color system is by Genji, w/ special thanks to //ADAL-Miko & Rich Dersheimer for their help to Genji :) -string GetRGB(int red = 15,int green = 15,int blue = 15); +string PRCGetRGB(int red = 15,int green = 15,int blue = 15); //Main Script// @@ -49,9 +49,9 @@ void main() object oPC = GetPCSpeaker(); string sName = GetLocalString(oPC, "ONNC"); -//string sToken = GetRGB(#,#,#); +//string sToken = PRCGetRGB(#,#,#); //(This is the proper function you need to create below!) -string sToken = GetRGB(15,1,1); //Red +string sToken = PRCGetRGB(15,1,1); //Red string sMod; @@ -92,7 +92,7 @@ DelayCommand(2.2, DeleteLocalString(oPC, "ONNC")); } //Prototype String Defined -string GetRGB(int red = 15,int green = 15,int blue = 15) +string PRCGetRGB(int red = 15,int green = 15,int blue = 15) { object coloringBook = GetObjectByTag("ColoringBook"); if (coloringBook == OBJECT_INVALID) diff --git a/_module/nss/coloritemtan.nss b/_module/nss/coloritemtan.nss index 173376f3..3674537e 100644 --- a/_module/nss/coloritemtan.nss +++ b/_module/nss/coloritemtan.nss @@ -12,24 +12,24 @@ to the proper color that matches this script's name (ie coloritemwhite script goes on the line which changes the color to white!) -**These GetRGB(#,#,#) are the functions you use to get the proper +**These PRCGetRGB(#,#,#) are the functions you use to get the proper color for the token you are setting on the item name.** - GetRGB() := WHITE // no parameters, default is white - GetRGB(15,15,1):= YELLOW - GetRGB(15,5,1) := ORANGE - GetRGB(15,1,1) := RED - GetRGB(7,7,15) := BLUE - GetRGB(1,15,1) := NEON GREEN - GetRGB(1,11,1) := GREEN - GetRGB(9,6,1) := BROWN - GetRGB(11,9,11):= LIGHT PURPLE - GetRGB(12,10,7):= TAN - GetRGB(8,1,8) := PURPLE - GetRGB(13,9,13):= PLUM - GetRGB(1,7,7) := TEAL - GetRGB(1,15,15):= CYAN - GetRGB(1,1,15) := BRIGHT BLUE + PRCGetRGB() := WHITE // no parameters, default is white + PRCGetRGB(15,15,1):= YELLOW + PRCGetRGB(15,5,1) := ORANGE + PRCGetRGB(15,1,1) := RED + PRCGetRGB(7,7,15) := BLUE + PRCGetRGB(1,15,1) := NEON GREEN + PRCGetRGB(1,11,1) := GREEN + PRCGetRGB(9,6,1) := BROWN + PRCGetRGB(11,9,11):= LIGHT PURPLE + PRCGetRGB(12,10,7):= TAN + PRCGetRGB(8,1,8) := PURPLE + PRCGetRGB(13,9,13):= PLUM + PRCGetRGB(1,7,7) := TEAL + PRCGetRGB(1,15,15):= CYAN + PRCGetRGB(1,1,15) := BRIGHT BLUE */ //////////////////////////////////////////////// @@ -37,7 +37,7 @@ color for the token you are setting on the item name.** //This color system is by Genji, w/ special thanks to //ADAL-Miko & Rich Dersheimer for their help to Genji :) -string GetRGB(int red = 15,int green = 15,int blue = 15); +string PRCGetRGB(int red = 15,int green = 15,int blue = 15); //Main Script// @@ -49,9 +49,9 @@ void main() object oPC = GetPCSpeaker(); string sName = GetLocalString(oPC, "ONNC"); -//string sToken = GetRGB(#,#,#); +//string sToken = PRCGetRGB(#,#,#); //(This is the proper function you need to create below!) -string sToken = GetRGB(12,10,7); //tan +string sToken = PRCGetRGB(12,10,7); //tan string sMod; @@ -90,7 +90,7 @@ DelayCommand(2.2, DeleteLocalString(oPC, "ONNC")); } //Prototype String Defined -string GetRGB(int red = 15,int green = 15,int blue = 15) +string PRCGetRGB(int red = 15,int green = 15,int blue = 15) { object coloringBook = GetObjectByTag("ColoringBook"); if (coloringBook == OBJECT_INVALID) diff --git a/_module/nss/coloritemteal.nss b/_module/nss/coloritemteal.nss index 0f5f344b..51776545 100644 --- a/_module/nss/coloritemteal.nss +++ b/_module/nss/coloritemteal.nss @@ -12,24 +12,24 @@ to the proper color that matches this script's name (ie coloritemwhite script goes on the line which changes the color to white!) -**These GetRGB(#,#,#) are the functions you use to get the proper +**These PRCGetRGB(#,#,#) are the functions you use to get the proper color for the token you are setting on the item name.** - GetRGB() := WHITE // no parameters, default is white - GetRGB(15,15,1):= YELLOW - GetRGB(15,5,1) := ORANGE - GetRGB(15,1,1) := RED - GetRGB(7,7,15) := BLUE - GetRGB(1,15,1) := NEON GREEN - GetRGB(1,11,1) := GREEN - GetRGB(9,6,1) := BROWN - GetRGB(11,9,11):= LIGHT PURPLE - GetRGB(12,10,7):= TAN - GetRGB(8,1,8) := PURPLE - GetRGB(13,9,13):= PLUM - GetRGB(1,7,7) := TEAL - GetRGB(1,15,15):= CYAN - GetRGB(1,1,15) := BRIGHT BLUE + PRCGetRGB() := WHITE // no parameters, default is white + PRCGetRGB(15,15,1):= YELLOW + PRCGetRGB(15,5,1) := ORANGE + PRCGetRGB(15,1,1) := RED + PRCGetRGB(7,7,15) := BLUE + PRCGetRGB(1,15,1) := NEON GREEN + PRCGetRGB(1,11,1) := GREEN + PRCGetRGB(9,6,1) := BROWN + PRCGetRGB(11,9,11):= LIGHT PURPLE + PRCGetRGB(12,10,7):= TAN + PRCGetRGB(8,1,8) := PURPLE + PRCGetRGB(13,9,13):= PLUM + PRCGetRGB(1,7,7) := TEAL + PRCGetRGB(1,15,15):= CYAN + PRCGetRGB(1,1,15) := BRIGHT BLUE */ //////////////////////////////////////////////// @@ -37,7 +37,7 @@ color for the token you are setting on the item name.** //This color system is by Genji, w/ special thanks to //ADAL-Miko & Rich Dersheimer for their help to Genji :) -string GetRGB(int red = 15,int green = 15,int blue = 15); +string PRCGetRGB(int red = 15,int green = 15,int blue = 15); //Main Script// @@ -49,9 +49,9 @@ void main() object oPC = GetPCSpeaker(); string sName = GetLocalString(oPC, "ONNC"); -//string sToken = GetRGB(#,#,#); +//string sToken = PRCGetRGB(#,#,#); //(This is the proper function you need to create below!) -string sToken = GetRGB(1,7,7); //Teal +string sToken = PRCGetRGB(1,7,7); //Teal string sMod; @@ -93,7 +93,7 @@ DelayCommand(2.2, DeleteLocalString(oPC, "ONNC")); } //Prototype String Defined -string GetRGB(int red = 15,int green = 15,int blue = 15) +string PRCGetRGB(int red = 15,int green = 15,int blue = 15) { object coloringBook = GetObjectByTag("ColoringBook"); if (coloringBook == OBJECT_INVALID) diff --git a/_module/nss/coloritemwhite.nss b/_module/nss/coloritemwhite.nss index 9631ad93..2786e2ed 100644 --- a/_module/nss/coloritemwhite.nss +++ b/_module/nss/coloritemwhite.nss @@ -12,24 +12,24 @@ to the proper color that matches this script's name (ie coloritemwhite script goes on the line which changes the color to white!) -**These GetRGB(#,#,#) are the functions you use to get the proper +**These PRCGetRGB(#,#,#) are the functions you use to get the proper color for the token you are setting on the item name.** - GetRGB() := WHITE // no parameters, default is white - GetRGB(15,15,1):= YELLOW - GetRGB(15,5,1) := ORANGE - GetRGB(15,1,1) := RED - GetRGB(7,7,15) := BLUE - GetRGB(1,15,1) := NEON GREEN - GetRGB(1,11,1) := GREEN - GetRGB(9,6,1) := BROWN - GetRGB(11,9,11):= LIGHT PURPLE - GetRGB(12,10,7):= TAN - GetRGB(8,1,8) := PURPLE - GetRGB(13,9,13):= PLUM - GetRGB(1,7,7) := TEAL - GetRGB(1,15,15):= CYAN - GetRGB(1,1,15) := BRIGHT BLUE + PRCGetRGB() := WHITE // no parameters, default is white + PRCGetRGB(15,15,1):= YELLOW + PRCGetRGB(15,5,1) := ORANGE + PRCGetRGB(15,1,1) := RED + PRCGetRGB(7,7,15) := BLUE + PRCGetRGB(1,15,1) := NEON GREEN + PRCGetRGB(1,11,1) := GREEN + PRCGetRGB(9,6,1) := BROWN + PRCGetRGB(11,9,11):= LIGHT PURPLE + PRCGetRGB(12,10,7):= TAN + PRCGetRGB(8,1,8) := PURPLE + PRCGetRGB(13,9,13):= PLUM + PRCGetRGB(1,7,7) := TEAL + PRCGetRGB(1,15,15):= CYAN + PRCGetRGB(1,1,15) := BRIGHT BLUE */ //////////////////////////////////////////////// @@ -37,7 +37,7 @@ color for the token you are setting on the item name.** //This color system is by Genji, w/ special thanks to //ADAL-Miko & Rich Dersheimer for their help to Genji :) -string GetRGB(int red = 15,int green = 15,int blue = 15); +string PRCGetRGB(int red = 15,int green = 15,int blue = 15); //Main Script// @@ -49,9 +49,9 @@ void main() object oPC = GetPCSpeaker(); string sName = GetLocalString(oPC, "ONNC"); -//string sToken = GetRGB(#,#,#); +//string sToken = PRCGetRGB(#,#,#); //(This is the proper function you need to create below!) -string sToken = GetRGB(); //nothing for white.. +string sToken = PRCGetRGB(); //nothing for white.. string sMod; @@ -93,7 +93,7 @@ DelayCommand(2.2, DeleteLocalString(oPC, "ONNC")); } //Prototype String Defined -string GetRGB(int red = 15,int green = 15,int blue = 15) +string PRCGetRGB(int red = 15,int green = 15,int blue = 15) { object coloringBook = GetObjectByTag("ColoringBook"); if (coloringBook == OBJECT_INVALID) diff --git a/_module/nss/coloritemyellow.nss b/_module/nss/coloritemyellow.nss index feaea490..038ae01e 100644 --- a/_module/nss/coloritemyellow.nss +++ b/_module/nss/coloritemyellow.nss @@ -12,24 +12,24 @@ to the proper color that matches this script's name (ie coloritemwhite script goes on the line which changes the color to white!) -**These GetRGB(#,#,#) are the functions you use to get the proper +**These PRCGetRGB(#,#,#) are the functions you use to get the proper color for the token you are setting on the item name.** - GetRGB() := WHITE // no parameters, default is white - GetRGB(15,15,1):= YELLOW - GetRGB(15,5,1) := ORANGE - GetRGB(15,1,1) := RED - GetRGB(7,7,15) := BLUE - GetRGB(1,15,1) := NEON GREEN - GetRGB(1,11,1) := GREEN - GetRGB(9,6,1) := BROWN - GetRGB(11,9,11):= LIGHT PURPLE - GetRGB(12,10,7):= TAN - GetRGB(8,1,8) := PURPLE - GetRGB(13,9,13):= PLUM - GetRGB(1,7,7) := TEAL - GetRGB(1,15,15):= CYAN - GetRGB(1,1,15) := BRIGHT BLUE + PRCGetRGB() := WHITE // no parameters, default is white + PRCGetRGB(15,15,1):= YELLOW + PRCGetRGB(15,5,1) := ORANGE + PRCGetRGB(15,1,1) := RED + PRCGetRGB(7,7,15) := BLUE + PRCGetRGB(1,15,1) := NEON GREEN + PRCGetRGB(1,11,1) := GREEN + PRCGetRGB(9,6,1) := BROWN + PRCGetRGB(11,9,11):= LIGHT PURPLE + PRCGetRGB(12,10,7):= TAN + PRCGetRGB(8,1,8) := PURPLE + PRCGetRGB(13,9,13):= PLUM + PRCGetRGB(1,7,7) := TEAL + PRCGetRGB(1,15,15):= CYAN + PRCGetRGB(1,1,15) := BRIGHT BLUE */ //////////////////////////////////////////////// @@ -37,7 +37,7 @@ color for the token you are setting on the item name.** //This color system is by Genji, w/ special thanks to //ADAL-Miko & Rich Dersheimer for their help to Genji :) -string GetRGB(int red = 15,int green = 15,int blue = 15); +string PRCGetRGB(int red = 15,int green = 15,int blue = 15); //Main Script// @@ -49,9 +49,9 @@ void main() object oPC = GetPCSpeaker(); string sName = GetLocalString(oPC, "ONNC"); -//string sToken = GetRGB(#,#,#); +//string sToken = PRCGetRGB(#,#,#); //(This is the proper function you need to create below!) -string sToken = GetRGB(15,15,1); //Yellow +string sToken = PRCGetRGB(15,15,1); //Yellow string sMod; @@ -93,7 +93,7 @@ DelayCommand(2.2, DeleteLocalString(oPC, "ONNC")); } //Prototype String Defined -string GetRGB(int red = 15,int green = 15,int blue = 15) +string PRCGetRGB(int red = 15,int green = 15,int blue = 15) { object coloringBook = GetObjectByTag("ColoringBook"); if (coloringBook == OBJECT_INVALID) diff --git a/_module/nss/gen_color_test.nss b/_module/nss/gen_color_test.nss index 4d716ce5..ad44a804 100644 --- a/_module/nss/gen_color_test.nss +++ b/_module/nss/gen_color_test.nss @@ -5,19 +5,19 @@ void main() { // examples sent to pc - SendMessageToPC(GetLastUsedBy(),GetRGB() + "WHITE "); - SendMessageToPC(GetLastUsedBy(),GetRGB(15,15,1) + "YELLOW"); - SendMessageToPC(GetLastUsedBy(),GetRGB(15,5,1) + "ORANGE"); - SendMessageToPC(GetLastUsedBy(),GetRGB(15,1,1) + "RED" ); - SendMessageToPC(GetLastUsedBy(),GetRGB(7,7,15) + "BLUE" ); - SendMessageToPC(GetLastUsedBy(),GetRGB(1,15,1) + "NEON GREEN" ); - SendMessageToPC(GetLastUsedBy(),GetRGB(1,11,1) + "GREEN" ); - SendMessageToPC(GetLastUsedBy(),GetRGB(9,6,1) + "BROWN" ); - SendMessageToPC(GetLastUsedBy(),GetRGB(11,9,11) + "LIGHT PURPLE"); - SendMessageToPC(GetLastUsedBy(),GetRGB(12,10,7) + "TAN"); - SendMessageToPC(GetLastUsedBy(),GetRGB(8,1,8) + "PURPLE"); - SendMessageToPC(GetLastUsedBy(),GetRGB(13,9,13) + "PLUM"); - SendMessageToPC(GetLastUsedBy(),GetRGB(1,7,7) + "TEAL"); - SendMessageToPC(GetLastUsedBy(),GetRGB(1,15,15) + "CYAN"); - SendMessageToPC(GetLastUsedBy(),GetRGB(1,1,15) + "BRIGHT BLUE"); + SendMessageToPC(GetLastUsedBy(),PRCGetRGB() + "WHITE "); + SendMessageToPC(GetLastUsedBy(),PRCGetRGB(15,15,1) + "YELLOW"); + SendMessageToPC(GetLastUsedBy(),PRCGetRGB(15,5,1) + "ORANGE"); + SendMessageToPC(GetLastUsedBy(),PRCGetRGB(15,1,1) + "RED" ); + SendMessageToPC(GetLastUsedBy(),PRCGetRGB(7,7,15) + "BLUE" ); + SendMessageToPC(GetLastUsedBy(),PRCGetRGB(1,15,1) + "NEON GREEN" ); + SendMessageToPC(GetLastUsedBy(),PRCGetRGB(1,11,1) + "GREEN" ); + SendMessageToPC(GetLastUsedBy(),PRCGetRGB(9,6,1) + "BROWN" ); + SendMessageToPC(GetLastUsedBy(),PRCGetRGB(11,9,11) + "LIGHT PURPLE"); + SendMessageToPC(GetLastUsedBy(),PRCGetRGB(12,10,7) + "TAN"); + SendMessageToPC(GetLastUsedBy(),PRCGetRGB(8,1,8) + "PURPLE"); + SendMessageToPC(GetLastUsedBy(),PRCGetRGB(13,9,13) + "PLUM"); + SendMessageToPC(GetLastUsedBy(),PRCGetRGB(1,7,7) + "TEAL"); + SendMessageToPC(GetLastUsedBy(),PRCGetRGB(1,15,15) + "CYAN"); + SendMessageToPC(GetLastUsedBy(),PRCGetRGB(1,1,15) + "BRIGHT BLUE"); } diff --git a/_module/nss/gen_inc_color.nss b/_module/nss/gen_inc_color.nss index fdada3bf..8751b1ff 100644 --- a/_module/nss/gen_inc_color.nss +++ b/_module/nss/gen_inc_color.nss @@ -9,24 +9,24 @@ // simple function to use the name of a item holding escape sequences that, though they will not compile, // they can be interpreted at run time and produce rbg scales between 32 and 255 in increments. // -- allows 3375 colors to be made. -// for example SendMessageToPC(pc,GetRGB(15,15,1)+ "Help, I'm on fire!") will produce yellow text. +// for example SendMessageToPC(pc,PRCGetRGB(15,15,1)+ "Help, I'm on fire!") will produce yellow text. // more examples: /* - GetRGB() := WHITE // no parameters, default is white - GetRGB(15,15,1):= YELLOW - GetRGB(15,5,1) := ORANGE - GetRGB(15,1,1) := RED - GetRGB(7,7,15) := BLUE - GetRGB(1,15,1) := NEON GREEN - GetRGB(1,11,1) := GREEN - GetRGB(9,6,1) := BROWN - GetRGB(11,9,11):= LIGHT PURPLE - GetRGB(12,10,7):= TAN - GetRGB(8,1,8) := PURPLE - GetRGB(13,9,13):= PLUM - GetRGB(1,7,7) := TEAL - GetRGB(1,15,15):= CYAN - GetRGB(1,1,15) := BRIGHT BLUE + PRCGetRGB() := WHITE // no parameters, default is white + PRCGetRGB(15,15,1):= YELLOW + PRCGetRGB(15,5,1) := ORANGE + PRCGetRGB(15,1,1) := RED + PRCGetRGB(7,7,15) := BLUE + PRCGetRGB(1,15,1) := NEON GREEN + PRCGetRGB(1,11,1) := GREEN + PRCGetRGB(9,6,1) := BROWN + PRCGetRGB(11,9,11):= LIGHT PURPLE + PRCGetRGB(12,10,7):= TAN + PRCGetRGB(8,1,8) := PURPLE + PRCGetRGB(13,9,13):= PLUM + PRCGetRGB(1,7,7) := TEAL + PRCGetRGB(1,15,15):= CYAN + PRCGetRGB(1,1,15) := BRIGHT BLUE */ // issues? contact genji@thegenji.com // special thanks to ADAL-Miko and Rich Dersheimer in the bio forums. diff --git a/_module/nss/make_evolved.nss b/_module/nss/make_evolved.nss index 5fe18ba0..e63d06b1 100644 --- a/_module/nss/make_evolved.nss +++ b/_module/nss/make_evolved.nss @@ -53,7 +53,7 @@ json json_AddEvolvedPowers(json jCreature, int nBaseHD, int nCasterLevel, int iE { json jSpecAbility = JsonObject(); jSpecAbility = GffAddWord(jSpecAbility, "Spell", 18); - jSpecAbility = GffAddByte(jSpecAbility, "SpellCasterLevel", max(nCasterLevel, nBaseHD)); + jSpecAbility = GffAddByte(jSpecAbility, "SpellCasterLevel", PRCMax(nCasterLevel, nBaseHD)); jSpecAbility = GffAddByte(jSpecAbility, "SpellFlags", 1); // Manually add to the array @@ -73,7 +73,7 @@ json json_AddEvolvedPowers(json jCreature, int nBaseHD, int nCasterLevel, int iE { json jSpecAbility = JsonObject(); jSpecAbility = GffAddWord(jSpecAbility, "Spell", 23); - jSpecAbility = GffAddByte(jSpecAbility, "SpellCasterLevel", max(nCasterLevel, nBaseHD)); + jSpecAbility = GffAddByte(jSpecAbility, "SpellCasterLevel", PRCMax(nCasterLevel, nBaseHD)); jSpecAbility = GffAddByte(jSpecAbility, "SpellFlags", 1); // Manually add to the array @@ -93,7 +93,7 @@ json json_AddEvolvedPowers(json jCreature, int nBaseHD, int nCasterLevel, int iE { json jSpecAbility = JsonObject(); jSpecAbility = GffAddWord(jSpecAbility, "Spell", 25); - jSpecAbility = GffAddByte(jSpecAbility, "SpellCasterLevel", max(nCasterLevel, nBaseHD)); + jSpecAbility = GffAddByte(jSpecAbility, "SpellCasterLevel", PRCMax(nCasterLevel, nBaseHD)); jSpecAbility = GffAddByte(jSpecAbility, "SpellFlags", 1); // Manually add to the array @@ -113,7 +113,7 @@ json json_AddEvolvedPowers(json jCreature, int nBaseHD, int nCasterLevel, int iE { json jSpecAbility = JsonObject(); jSpecAbility = GffAddWord(jSpecAbility, "Spell", 26); - jSpecAbility = GffAddByte(jSpecAbility, "SpellCasterLevel", max(nCasterLevel, nBaseHD)); + jSpecAbility = GffAddByte(jSpecAbility, "SpellCasterLevel", PRCMax(nCasterLevel, nBaseHD)); jSpecAbility = GffAddByte(jSpecAbility, "SpellFlags", 1); // Manually add to the array @@ -133,7 +133,7 @@ json json_AddEvolvedPowers(json jCreature, int nBaseHD, int nCasterLevel, int iE { json jSpecAbility = JsonObject(); jSpecAbility = GffAddWord(jSpecAbility, "Spell", 27); - jSpecAbility = GffAddByte(jSpecAbility, "SpellCasterLevel", max(nCasterLevel, nBaseHD)); + jSpecAbility = GffAddByte(jSpecAbility, "SpellCasterLevel", PRCMax(nCasterLevel, nBaseHD)); jSpecAbility = GffAddByte(jSpecAbility, "SpellFlags", 1); // Manually add to the array @@ -153,7 +153,7 @@ json json_AddEvolvedPowers(json jCreature, int nBaseHD, int nCasterLevel, int iE { json jSpecAbility = JsonObject(); jSpecAbility = GffAddWord(jSpecAbility, "Spell", 364); - jSpecAbility = GffAddByte(jSpecAbility, "SpellCasterLevel", max(nCasterLevel, nBaseHD)); + jSpecAbility = GffAddByte(jSpecAbility, "SpellCasterLevel", PRCMax(nCasterLevel, nBaseHD)); jSpecAbility = GffAddByte(jSpecAbility, "SpellFlags", 1); // Manually add to the array @@ -173,7 +173,7 @@ json json_AddEvolvedPowers(json jCreature, int nBaseHD, int nCasterLevel, int iE { json jSpecAbility = JsonObject(); jSpecAbility = GffAddWord(jSpecAbility, "Spell", 67); - jSpecAbility = GffAddByte(jSpecAbility, "SpellCasterLevel", max(nCasterLevel, nBaseHD)); + jSpecAbility = GffAddByte(jSpecAbility, "SpellCasterLevel", PRCMax(nCasterLevel, nBaseHD)); jSpecAbility = GffAddByte(jSpecAbility, "SpellFlags", 1); // Manually add to the array @@ -193,7 +193,7 @@ json json_AddEvolvedPowers(json jCreature, int nBaseHD, int nCasterLevel, int iE { json jSpecAbility = JsonObject(); jSpecAbility = GffAddWord(jSpecAbility, "Spell", 88); - jSpecAbility = GffAddByte(jSpecAbility, "SpellCasterLevel", max(nCasterLevel, nBaseHD)); + jSpecAbility = GffAddByte(jSpecAbility, "SpellCasterLevel", PRCMax(nCasterLevel, nBaseHD)); jSpecAbility = GffAddByte(jSpecAbility, "SpellFlags", 1); // Manually add to the array @@ -213,7 +213,7 @@ json json_AddEvolvedPowers(json jCreature, int nBaseHD, int nCasterLevel, int iE { json jSpecAbility = JsonObject(); jSpecAbility = GffAddWord(jSpecAbility, "Spell", 78); - jSpecAbility = GffAddByte(jSpecAbility, "SpellCasterLevel", max(nCasterLevel, nBaseHD)); + jSpecAbility = GffAddByte(jSpecAbility, "SpellCasterLevel", PRCMax(nCasterLevel, nBaseHD)); jSpecAbility = GffAddByte(jSpecAbility, "SpellFlags", 1); // Manually add to the array @@ -233,7 +233,7 @@ json json_AddEvolvedPowers(json jCreature, int nBaseHD, int nCasterLevel, int iE { json jSpecAbility = JsonObject(); jSpecAbility = GffAddWord(jSpecAbility, "Spell", 82); - jSpecAbility = GffAddByte(jSpecAbility, "SpellCasterLevel", max(nCasterLevel, nBaseHD)); + jSpecAbility = GffAddByte(jSpecAbility, "SpellCasterLevel", PRCMax(nCasterLevel, nBaseHD)); jSpecAbility = GffAddByte(jSpecAbility, "SpellFlags", 1); // Manually add to the array @@ -253,7 +253,7 @@ json json_AddEvolvedPowers(json jCreature, int nBaseHD, int nCasterLevel, int iE { json jSpecAbility = JsonObject(); jSpecAbility = GffAddWord(jSpecAbility, "Spell", 157); - jSpecAbility = GffAddByte(jSpecAbility, "SpellCasterLevel", max(nCasterLevel, nBaseHD)); + jSpecAbility = GffAddByte(jSpecAbility, "SpellCasterLevel", PRCMax(nCasterLevel, nBaseHD)); jSpecAbility = GffAddByte(jSpecAbility, "SpellFlags", 1); // Manually add to the array @@ -273,7 +273,7 @@ json json_AddEvolvedPowers(json jCreature, int nBaseHD, int nCasterLevel, int iE { json jSpecAbility = JsonObject(); jSpecAbility = GffAddWord(jSpecAbility, "Spell", 566); - jSpecAbility = GffAddByte(jSpecAbility, "SpellCasterLevel", max(nCasterLevel, nBaseHD)); + jSpecAbility = GffAddByte(jSpecAbility, "SpellCasterLevel", PRCMax(nCasterLevel, nBaseHD)); jSpecAbility = GffAddByte(jSpecAbility, "SpellFlags", 1); // Manually add to the array @@ -292,7 +292,7 @@ json json_AddEvolvedPowers(json jCreature, int nBaseHD, int nCasterLevel, int iE { json jSpecAbility = JsonObject(); jSpecAbility = GffAddWord(jSpecAbility, "Spell", 46); // Doom spell - jSpecAbility = GffAddByte(jSpecAbility, "SpellCasterLevel", max(nCasterLevel, nBaseHD)); + jSpecAbility = GffAddByte(jSpecAbility, "SpellCasterLevel", PRCMax(nCasterLevel, nBaseHD)); jSpecAbility = GffAddByte(jSpecAbility, "SpellFlags", 1); jSpecAbilityList = JsonArrayInsert(jSpecAbilityList, jSpecAbility); } @@ -310,7 +310,7 @@ void ApplyEvolvedEffects(object oCreature, int nBaseHD, int nCasterLevel, int iE effect eVolved; //:: Boost caster & SLA level - SetLocalInt(oCreature, PRC_CASTERLEVEL_ADJUSTMENT, max(nCasterLevel, nBaseHD)); + SetLocalInt(oCreature, PRC_CASTERLEVEL_ADJUSTMENT, PRCMax(nCasterLevel, nBaseHD)); //:: AC Bonuses: +1 natural or +1 deflection if Incorporal if(bIncorporeal) diff --git a/_module/nss/oncliententer.nss b/_module/nss/oncliententer.nss index aadb6cda..93b25fa5 100644 --- a/_module/nss/oncliententer.nss +++ b/_module/nss/oncliententer.nss @@ -126,30 +126,30 @@ void main() //Colorful Server Message sent to all PCs when they enter the module.. string sMessage; - sMessage = GetRGB(1,7,7); //The color (See above) + sMessage = PRCGetRGB(1,7,7); //The color (See above) sMessage += "Welcome to "; //The text to be colorized by the above color. - sMessage += GetRGB(15,15,1);//The next color. + sMessage += PRCGetRGB(15,15,1);//The next color. sMessage += "Server Genisys "; //The next text to be colorized by the above color. - sMessage += GetRGB(15,1,1);//etc.. + sMessage += PRCGetRGB(15,1,1);//etc.. sMessage += "a Revised "; - sMessage += GetRGB(7,7,15); + sMessage += PRCGetRGB(7,7,15); sMessage += "1.69 "; - sMessage += GetRGB(1,15,1); + sMessage += PRCGetRGB(1,15,1); sMessage += "Paths of Ascension "; - sMessage += GetRGB(13,9,13); + sMessage += PRCGetRGB(13,9,13); sMessage += "Classic Module "; - sMessage += GetRGB(12,10,7); + sMessage += PRCGetRGB(12,10,7); sMessage += "Revised & "; - sMessage += GetRGB(); + sMessage += PRCGetRGB(); sMessage += "Rescripted By "; - sMessage += GetRGB(15,5,1); + sMessage += PRCGetRGB(15,5,1); sMessage += "Genisys (Guile) "; - sMessage += GetRGB(12,10,7); + sMessage += PRCGetRGB(12,10,7); sMessage += "from 8/20/08 to 3/21/09."; - string sNewb = GetRGB(1,15,1) + "This is PRC Presents Path of Ascension."; - string sNewb2 = GetRGB(1,15,1) + "Contact Altpersona on Discord if you need assistance."; -//string sNewb = GetRGB(1,15,1) + "Be sure to read your journal frequently (press J)."; -//string sNewb2 = GetRGB(1,15,1) + "Be sure to examine the Rest Menu carefully."; + string sNewb = PRCGetRGB(1,15,1) + "This is PRC Presents Path of Ascension."; + string sNewb2 = PRCGetRGB(1,15,1) + "Contact Altpersona on Discord if you need assistance."; +//string sNewb = PRCGetRGB(1,15,1) + "Be sure to read your journal frequently (press J)."; +//string sNewb2 = PRCGetRGB(1,15,1) + "Be sure to examine the Rest Menu carefully."; string sEnter = GetName(oPC) + " / " + GetPCPlayerName(oPC) + " / " + GetPCPublicCDKey(oPC) + " / " + GetPCIPAddress(oPC) + " Entered." ; SendMessageToAllDMs(sEnter); diff --git a/_release/Path of Ascension [PRC8-CEP3].7z b/_release/Path of Ascension [PRC8-CEP3].7z index a5b9f2b5..4c68252c 100644 Binary files a/_release/Path of Ascension [PRC8-CEP3].7z and b/_release/Path of Ascension [PRC8-CEP3].7z differ