コード例 #1
0
            void createHexes()
            {
                entangling_curse = hex_engine.createEntanglingCurse(prefix + "EntanglingCurse",
                                                                    "Entangling Curse",
                                                                    "The shaman entangles a creature within 30 feet for a number of rounds equal to the shaman’s Charisma modifier (minimum 1). A successful Reflex saving throw negates this effect. Whether or not the save is successful, the creature cannot be the target of this hex again for 24 hours."
                                                                    );

                erosion_curse = hex_engine.createErosionCurse(prefix + "ErosionCurse",
                                                              "Erosion Curse",
                                                              "The shaman summons the powers of nature to erode a construct or object within 30 feet. This erosion deals 1d6 points of damage per 2 shaman levels, ignoring hardness and damage reduction. If used against a construct or an object in another creature’s possession, the construct or the creature possessing the object can attempt a Reflex saving throw to halve the damage. Once an object or a construct is damaged by this erosion, it cannot be the target of this hex again for 24 hours."
                                                              );

                friend_to_animals = hex_engine.createFriendToAnimals(prefix + "FriendToAnimals",
                                                                     "Friend to Animals",
                                                                     "The shaman can spontaneously cast summon nature’s ally spells as a druid. In addition, all animals within 30 feet of the shaman receive a sacred bonus on all saving throws equal to the shaman’s Charisma modifier."
                                                                     );
                storm_walker = hex_engine.createStormWalker(prefix + "StormWalker",
                                                            "Stormwalker",
                                                            "The shaman can move through non-magical fog, rain, mist, snow, and other environmental effects without penalty. She is never slowed by such effects. At 10th level she is also ignoring any concealement that is provided by environmental effects, whether or not they are magical in nature."
                                                            );

                hexes = new BlueprintFeature[]
                {
                    entangling_curse,
                    erosion_curse,
                    friend_to_animals,
                    storm_walker,
                };
            }