Example #1
0
            void createHexes()
            {
                createCinderDanceHex();
                fire_nimbus = hex_engine.createFireNimbus(prefix + "FireNimbus",
                                                          "Fire Nimbus",
                                                          "The shaman causes a creature within 30 feet to gain a nimbus of fire. Though this doesn’t harm the creature, it does cause the creature to emit light like a torch, preventing it from gaining any benefit from concealment or invisibility. The target also takes a –2 penalty on saving throws against spells or effects that deal fire damage. The fire nimbus lasts for a number of rounds equal to the shaman’s level. A successful Will 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."
                                                          );

                flame_curse = hex_engine.createFlameCurse(prefix + "FlameCurse",
                                                          "Flame Curse",
                                                          "The shaman causes a creature within 30 feet to become vulnerable to fire until the end of the shaman’s next turn. If the creature is already vulnerable to fire, this hex has no effect. Fire immunity and resistances apply as normal, and any saving throw allowed by the effect that caused the damage reduces it as normal. At 8th and 16th levels, the duration of this hex is extended by 1 round. A creature affected by this hex cannot be affected by it again for 24 hours."
                                                          );

                ward_of_flames = hex_engine.createFlameWardHex(prefix + "FlameWard",
                                                               "Flame Ward",
                                                               "The shaman touches a willing creature (including herself ) and grants a ward of flames. The next time the warded creature is struck with a melee attack, the creature making the attack takes 1d6 points of fire damage + 1 point of fire damage for every 2 shaman levels she possesses. This ward lasts for 1 minute, after which it fades away if not already expended. At 8th and 16th levels, the ward lasts for one additional attack. A creature affected by this hex cannot be affected by it again for 24 hours."
                                                               );
                hexes = new BlueprintFeature[]
                {
                    cinder_dance,
                    fire_nimbus,
                    flame_curse,
                    ward_of_flames,
                };
            }