示例#1
0
            void createHexes()
            {
                air_barrier = hex_engine.createAirBarrier(prefix + "AirBarrier",
                                                          "Air Barrier",
                                                          "The shaman creates an invisible shell of air that grants her a +4 armor bonus to AC. At 7th level and every 4 levels thereafter, this bonus increases by 2. At 13th level, this barrier causes incoming arrows, rays, and other ranged attacks requiring an attack roll against her to suffer a 50% miss chance. The shaman can use this barrier for 1 hour per shaman level. This duration does not need to be consecutive, but it must be spent in 1-hour increments."
                                                          );

                sparkling_aura = hex_engine.createSparklingAura(prefix + "SparklingAura",
                                                                "Sparkling Aura",
                                                                "The shaman causes a creature within 30 feet to spark and shimmer with electrical energy. Though this does not harm the creature, it does cause the creature to emit light like a torch, preventing it from gaining any benefit from concealment or invisibility. Furthermore, while the aura lasts, whenever the target is hit with a metal melee weapon, it also takes an amount of electricity damage equal to the shaman’s Charisma modifier. The sparking aura lasts a 1 round for every 2 shaman levels the shaman possesses. A creature affected by this hex cannot be affected by it again for 24 hours."
                                                                );

                vortex_spells = hex_engine.createVortexSpells(prefix + "VortexSpells",
                                                              "Vortex Spells",
                                                              "Whenever the shaman confirms a critical hit against an opponent with a spell, the target is staggered for 1 round. At 11th level, the duration increases to 1d4 rounds."
                                                              );

                wind_ward = hex_engine.createWindWard(prefix + "WindWard",
                                                      "Wind Ward",
                                                      "The shaman can touch a willing creature (including herself) and grants a ward of wind. This ward lasts for a number of rounds equal to the shaman’s level. When a warded creature is attacked with an arrow, ray, or other ranged attack that requires an attack roll, that attack suffers a 20% miss chance. At 8th level, the ward lasts for 1 minute for every level the shaman possesses. At 16th level, the miss chance increases to 50%. Once affected, the creature cannot be the target of this hex again for 24 hours."
                                                      );
                hexes = new BlueprintFeature[]
                {
                    air_barrier,
                    sparkling_aura,
                    vortex_spells,
                    wind_ward
                };
            }