예제 #1
0
파일: GrennsFire.cs 프로젝트: ren38/Scripts
 public void apply(float deltaTime)
 {
     if (subject.getBurningEffect() != null)
     {
         subject.takeDamageNoObs(DEGENSPEED * deltaTime, source);
     }
 }
예제 #2
0
    public void beginChilled(ObjectActor subject, ObjectInteractable source)
    {
        BurningEffect burning = subject.getBurningEffect();

        if (burning != null)
        {
            subject.endBurning();
            return;
        }
        beginCondition <ChilledEffect>(subject, source);
    }