예제 #1
0
파일: Common.cs 프로젝트: Bia10/SingularMod
 public static Composite CreateApplyPoisons()
 {
     return(new PrioritySelector(
                new Decorator(r => Poisons.NeedLethalPosion() > 0, Spell.BuffSelf(Poisons.NeedLethalPosion())),
                new Decorator(r => Poisons.NeedNonLethalPosion() > 0, Spell.BuffSelf(Poisons.NeedNonLethalPosion()))
                ));
 }