pyherc.rules.magic

pyherc.rules.magic.cast_effect(model, target, effect, dice=None)

Casts effect of a spell, potion, etc. on a target @param model: model to use @param target: target of the effect @param effect: ItemEffectData object @param dice: prerolled dice

pyherc.rules.magic.cast_hp_effect(model, target, effect, dice=None)

Casts HP effect on target, causing it to gain or lose some HP @param model: model to use @param target: target of the effect @param effect: parameters of effect in dictionary @param dice: prerolled dice

Previous topic

pyherc.rules.los

Next topic

pyherc.rules.move

This Page