diff --git a/css/ecomonde.css b/css/ecomonde.css index 26682ff..a2f0cd4 100755 --- a/css/ecomonde.css +++ b/css/ecomonde.css @@ -309,3 +309,31 @@ color: #8128B5; font-weight: bold; } + +.enchant-default { + background-color: #999999; +} + +.enchant-verte { + background-color: green; +} + +.enchant-bleue { + background-color: blue; +} + +.enchant-jaune { + background-color: gold; +} + +.enchant-rouge { + background-color: red; +} + +.enchant-blanche { + background-color: #ADDFFF;; +} + +.enchant-noire { + background-color: #8128B5; +} diff --git a/medias/c0f08ae603e364cb554fe71c9fc94ffd/derpy.xml b/medias/c0f08ae603e364cb554fe71c9fc94ffd/derpy.xml old mode 100755 new mode 100644 index f9dc883..6b61cbe --- a/medias/c0f08ae603e364cb554fe71c9fc94ffd/derpy.xml +++ b/medias/c0f08ae603e364cb554fe71c9fc94ffd/derpy.xml @@ -3,49 +3,49 @@ derpy 0 - 18 - 0 - 0 + 10 + 50 + 5 0 0 - 2 + 0 0 - 1 - 3 - 1 - 2 + 0 + 0 + 0 + 0 - Épée simple + Vide default 0 - Dague + Vide default 0 - Bouclier bois + Vide default - 0 + Emplacement vide - Armure métal + Vide default - 0 + Emplacement vide - Potion soin + Vide default - Soigne 2 points de vie + Emplacement vide - Livre Rouge + Vide default - Livre d'enchantement Rouge + Emplacement vide default diff --git a/medias/default/player.xml b/medias/default/player.xml index f597ce7..545aff0 100755 --- a/medias/default/player.xml +++ b/medias/default/player.xml @@ -16,8 +16,38 @@ 0 0 + + + Vide + default + 0 + + + Vide + default + 0 + + + Vide + default + Emplacement vide + + + Vide + default + Emplacement vide + + + Vide + default + Emplacement vide + + + Vide + default + Emplacement vide + + default - ... - 0 diff --git a/play/action.php b/play/action.php index 598473c..d6bf983 100755 --- a/play/action.php +++ b/play/action.php @@ -138,7 +138,29 @@ if (isset($_GET['trans_dark'])) { } if (isset($_GET['edit_stuff'])) { - $xml->entry->stuff = $_POST["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) { diff --git a/play/gamers.php b/play/gamers.php index 0f4ac88..ca7af62 100755 --- a/play/gamers.php +++ b/play/gamers.php @@ -63,13 +63,21 @@ foreach($xml->entry as $entry) {
- nom, "0"); ?>nom, "-"); ?>nom, "+"); ?> + nom, "0"); ?> + nom, "-"); ?> + nom, "+"); ?>
- nom, ''); ?>nom, ''); ?>nom, ''); ?> + nom, ''); ?> + nom, ''); ?> + nom, ''); ?>
- nom, ''); ?>nom, "--"); ?>nom, "-"); ?>nom, "+"); ?>nom, "++"); ?> + nom, ''); ?> + nom, "--"); ?> + nom, "-"); ?> + nom, "+"); ?> + nom, "++"); ?>
@@ -81,13 +89,13 @@ foreach($xml->entry as $entry) {

Attaque

nom, ""); ?> - attack+$entry->level); ?> + attack+$entry->level+$entry->stuff->stuff_1->spec); ?> nom, ""); ?>

Défense

nom, ""); ?> - defense+$entry->level); ?> + defense+$entry->level+$entry->stuff->stuff_2->spec); ?> nom, ""); ?>
@@ -124,7 +132,7 @@ foreach($xml->entry as $entry) {
-
ecos->verte; ?>
+
ecos->verte; ?>
@@ -172,29 +180,30 @@ foreach($xml->entry as $entry) {
- +

Équipements

-
+

 Offensif

- stuff->stuff_1->info;?> - stuff->stuff_2->info;?> + stuff->stuff_1->info;?>
-
+

 Défensif

- stuff->stuff_3->info;?> - stuff->stuff_4->info;?> + stuff->stuff_2->info;?>
-
+

 Objets

- stuff->stuff_5->info;?> - stuff->stuff_6->info;?> + stuff->stuff_3->info;?> + stuff->stuff_4->info;?> + stuff->stuff_5->info;?> + stuff->stuff_6->info;?> +
@@ -206,13 +215,193 @@ foreach($xml->entry as $entry) {