This commit is contained in:
Dukantic
2024-10-25 20:35:40 +02:00
parent 2d1cbb3129
commit b32f61c50e
38 changed files with 1336 additions and 49 deletions

View File

@@ -122,12 +122,16 @@ public partial class DoorView : Control
public void TrickPressed()
{
trick_bool = true;
int s = (int)menu.Get("spell");
menu.Set("spell", ++s);
text_mob.Text = "-You have casted : " + txt[s-1] + "\n- It : ...?";
butA.Text = "##############";
butB.Text = "##############";
anim.Play("question");
if ((int)menu.Get("spell") < 8)
{
trick_bool = true;
int s = (int)menu.Get("spell");
menu.Set("spell", ++s);
text_mob.Text = "-You have casted : " + txt[s-1] + "\n- It : ...?";
butA.Text = "##############";
butB.Text = "##############";
anim.Play("question");
}
}
}