diff --git a/css/bootstrap.css b/css/bootstrap.css index b24b105..27a6fac 100755 --- a/css/bootstrap.css +++ b/css/bootstrap.css @@ -4335,7 +4335,7 @@ select[multiple].input-group-sm > .input-group-btn > .btn { vertical-align: baseline; white-space: nowrap; text-align: center; - background-color: #158cba; + background-color: #999999; border-radius: 10px; } .badge:empty { diff --git a/medias/c0f08ae603e364cb554fe71c9fc94ffd/derpy.xml b/medias/c0f08ae603e364cb554fe71c9fc94ffd/derpy.xml index 6b61cbe..9cf6026 100644 --- a/medias/c0f08ae603e364cb554fe71c9fc94ffd/derpy.xml +++ b/medias/c0f08ae603e364cb554fe71c9fc94ffd/derpy.xml @@ -2,8 +2,8 @@ derpy - 0 - 10 + 2 + 22 50 5 0 @@ -18,19 +18,19 @@ - Vide - default - 0 + Épée de mort + rouge + 2 - Vide - default - 0 + Armure métalique + bleue + 1 - Vide - default - Emplacement vide + Pot. soin + verte + Une potion de soin rétablissant 2 PV Vide diff --git a/medias/c0f08ae603e364cb554fe71c9fc94ffd/index.php b/medias/c0f08ae603e364cb554fe71c9fc94ffd/index.php index 4a00264..1910d87 100755 --- a/medias/c0f08ae603e364cb554fe71c9fc94ffd/index.php +++ b/medias/c0f08ae603e364cb554fe71c9fc94ffd/index.php @@ -1,31 +1,31 @@ '; + echo '
'; } function button_modif_hp($nom_parametre, $nom_perso, $texte_bouton) { - echo '
'; + echo '
'; } function button_modif_xp($nom_parametre, $nom_perso, $texte_bouton) { - echo '
'; + echo '
'; } function button_modif_money($nom_parametre, $nom_perso, $texte_bouton) { - echo '
'; + echo '
'; } function trans($nom_parametre, $nom_perso, $couleur) { - echo '
'; + echo '
'; } function button_modif_attack($nom_parametre, $nom_perso, $texte_bouton) { - echo '
'; + echo '
'; } function button_modif_defense($nom_parametre, $nom_perso, $texte_bouton) { - echo '
'; + echo '
'; } function button_modif_ecos($nom_parametre, $nom_perso, $texte_bouton) { @@ -33,7 +33,7 @@ } function button_modif_gift($nom_parametre, $nom_perso, $texte_bouton) { - echo '
'; + echo '
'; } ?> @@ -59,17 +59,19 @@ if(!empty($_GET["view"]))
level; ?>    - nom; ?> -        + nom; ?>       + Attaque + attack+$entry->level+$entry->stuff->stuff_1->spec; ?>    + Défense + defense+$entry->level+$entry->stuff->stuff_2->spec; ?> level) @@ -90,10 +92,12 @@ if(!empty($_GET["view"])) echo "?"; } ?> -  hp; ?>/    -  money; ?>    -  xp; ?>    -  gift; ?>    +

+ nom, "-1 "); ?>    +  hp; ?>/    +  money; ?>    +  xp; ?>    +


@@ -186,12 +190,23 @@ if(!empty($_GET["view"]))

-

Prise de note

+

Équipements

-
- - -
+

+  Offensif  + stuff->stuff_1->info;?> Attaque +stuff->stuff_1->spec;?> +

+

+  Défensif  + stuff->stuff_2->info;?> Défense +stuff->stuff_2->spec;?> +

+

+  Objets +

 stuff->stuff_3->info;?> stuff->stuff_3->spec;?> +

 stuff->stuff_4->info;?> stuff->stuff_4->spec;?> +

 stuff->stuff_5->info;?> stuff->stuff_5->spec;?> +

 stuff->stuff_6->info;?> stuff->stuff_6->spec;?> +

diff --git a/play/action_phone.php b/play/action_phone.php index f7f5723..2d6806e 100644 --- a/play/action_phone.php +++ b/play/action_phone.php @@ -19,6 +19,13 @@ if (isset($_GET['level_down']) && $xml->entry->level>0) { $xml->entry->level--; } +if (isset($_GET['heal']) && $xml->entry->hp<20 && $xml->entry->ecos->verte>0) { + $lvl=$xml->entry->level; + $hp=$xml->entry->hp; + $xml->entry->hp=$hp+2+$lvl; + $xml->entry->ecos->verte--; +} + if (isset($_GET['hp_plus']) && $xml->entry->hp<20) { $xml->entry->hp++; } @@ -130,8 +137,30 @@ if (isset($_GET['trans_dark'])) { $xml->entry->trans="dark"; } -if (isset($_GET['edit_notes'])) { - $xml->entry->notes = $_POST["notes"]; +if (isset($_GET['edit_stuff'])) { + $xml->entry->stuff->stuff_1->info = $_POST["stuff_1_info"]; + $xml->entry->stuff->stuff_1->enchant = $_POST["stuff_1_enchant"]; + $xml->entry->stuff->stuff_1->spec = $_POST["stuff_1_spec"]; + + $xml->entry->stuff->stuff_2->info = $_POST["stuff_2_info"]; + $xml->entry->stuff->stuff_2->enchant = $_POST["stuff_2_enchant"]; + $xml->entry->stuff->stuff_2->spec = $_POST["stuff_2_spec"]; + + $xml->entry->stuff->stuff_3->info = $_POST["stuff_3_info"]; + $xml->entry->stuff->stuff_3->enchant = $_POST["stuff_3_enchant"]; + $xml->entry->stuff->stuff_3->spec = $_POST["stuff_3_spec"]; + + $xml->entry->stuff->stuff_4->info = $_POST["stuff_4_info"]; + $xml->entry->stuff->stuff_4->enchant = $_POST["stuff_4_enchant"]; + $xml->entry->stuff->stuff_4->spec = $_POST["stuff_4_spec"]; + + $xml->entry->stuff->stuff_5->info = $_POST["stuff_5_info"]; + $xml->entry->stuff->stuff_5->enchant = $_POST["stuff_5_enchant"]; + $xml->entry->stuff->stuff_5->spec = $_POST["stuff_5_spec"]; + + $xml->entry->stuff->stuff_6->info = $_POST["stuff_6_info"]; + $xml->entry->stuff->stuff_6->enchant = $_POST["stuff_6_enchant"]; + $xml->entry->stuff->stuff_6->spec = $_POST["stuff_6_spec"]; } if (isset($_GET['gift_plus']) && $xml->entry->gift<99999) {