Exemple #1
0
 vector<DirEffectType> getOffensiveEffects() {
   return makeVec<DirEffectType>(
       DirEffectId::BLAST,
       DirEffectType(DirEffectId::CREATURE_EFFECT, EffectType(EffectId::LASTING, LastingEffect::STUNNED))
   );
 }
Exemple #2
0
void Effect::CircularBlast::applyToCreature(WCreature c, WCreature attacker) const {
  for (Vec2 v : Vec2::directions8(Random))
    applyDirected(c, v, DirEffectType(1, DirEffectId::BLAST));
}