Exemple #1
0
            void createHexes()
            {
                createBattleMasterHex();
                battle_ward_hex = hex_engine.createBattleWardHex(prefix + "BattleWard",
                                                                 "Battle Ward",
                                                                 "The shaman touches a willing creature (including herself) and grants a battle ward. The next time a foe makes an attack roll against the target, the ward activates and grants a +3 deflection bonus to the warded creature’s AC. Each subsequent time she’s attacked, the defection bonus reduces by 1 (to +2 for the second time she’s attacked and +1 for the third). The ward fades when the bonus is reduced to +0 or after 24 hours, whichever comes first. At 8th level, the ward’s starting bonus increases to +4. At 16th level, it increases to +5. A creature affected by this hex cannot be affected by it again for 24 hours."
                                                                 );

                curse_of_suffering_hex = hex_engine.createCurseOfSuffering(prefix + "CurseOfSuffering",
                                                                           "Curse of Suffering",
                                                                           "The shaman causes a creature within 30 feet to take more damage from bleed effects and causes its wounds to heal at a slower rate. When the cursed creature takes bleed damage, it takes 1 additional point of bleed damage (even if the bleed is ability damage). Furthermore, when the target is subject to an effect that would restore its hit points, that effect restores only half the normal amount of hit points. This curse lasts for a number of rounds equal to the shaman’s level. A creature affected by this hex cannot be affected by it again for 24 hours."
                                                                           );

                hampering_hex = hex_engine.createHamperingHex(prefix + "HamperingHex",
                                                              "Hampering Hex",
                                                              "The shaman causes a creature within 30 feet to take a –2 penalty to AC and CMD for a number of rounds equal to the shaman’s level. A successful Will saving throw reduces this to just 1 round. At 8th level, the penalty becomes –4. Whether or not the save is successful, a creature affected by a hampering hex cannot be the target of this hex again for 24 hours."
                                                              );
                hexes = new BlueprintFeature[]
                {
                    battle_master_hex,
                    battle_ward_hex,
                    curse_of_suffering_hex,
                    hampering_hex,
                };
            }