Ejemplo n.º 1
0
    public void DisplayNewTargetType()
    {
        List <string> impassTiles    = new List <string>();
        bool          stopOnOccupied = false;

        switch (selectedTargetType.GetValue())
        {
        case "Single Target":
            singlepanel.InitDisplay(new SingleTarget(impassTiles, stopOnOccupied));
            ActivateNewPanel(singlepanel);
            break;

        case "AoE Target":
            break;

        case "Block Target":
            break;

        case "Cone Target":
            break;

        case "Line Target":
            break;

        case "Random Target":
            break;
        }
    }
    protected override void Save()
    {
        eff.containerTypeBasis = (StatContainerType)Enum.Parse(typeof(StatContainerType), containterTypeBasis.GetValue());
        eff.containerToChange  = (StatContainerType)Enum.Parse(typeof(StatContainerType), containerToCHange.GetValue());

        eff.statTypeToChange = (StatTypes)Enum.Parse(typeof(StatTypes), stattypeCHange.GetValue());
        eff.statTypeBasis    = (StatTypes)Enum.Parse(typeof(StatTypes), statTypeBasis.GetValue());
    }
Ejemplo n.º 3
0
 protected override void Save()
 {
     effect.range       = int.Parse(range.text);
     effect.buffToApply = dropDown.GetValue();
 }
Ejemplo n.º 4
0
 protected override void Save()
 {
     effe.tagToAdd.tagToAdd = tagDrop.GetValue();
 }
Ejemplo n.º 5
0
 protected override void Save()
 {
     ondeath.skillID     = dropdown.GetValue();
     ondeath.useOnKiller = useOnKiller.isOn;
 }
Ejemplo n.º 6
0
 protected override void Save()
 {
     skillEffect.jobToChange  = jobSelect.GetValue();
     skillEffect.skillToLearn = skillSelect.GetValue();
 }
 protected override void Save()
 {
     effect.buffToApply = dropDown.GetValue();
 }