diff --git a/objects/oMaudit/Destroy_0.gml b/objects/oMaudit/Destroy_0.gml new file mode 100644 index 0000000..9e7576c --- /dev/null +++ b/objects/oMaudit/Destroy_0.gml @@ -0,0 +1,13 @@ +/// @description Insérez la description ici +// Vous pouvez écrire votre code dans cet éditeur + +with(oPlayer) { + var bonus; + bonus = irandom(5); + switch(bonus) { + case 0 : // Augementation degat + case 1 : // Diminution vitesse + case 2 : // augmentation vitesse + case 3 : // diminution degat + case 4 : // arme + case 5 : // Degat joueur \ No newline at end of file diff --git a/objects/oMaudit/oMaudit.yy b/objects/oMaudit/oMaudit.yy index 0f64057..425eec0 100644 --- a/objects/oMaudit/oMaudit.yy +++ b/objects/oMaudit/oMaudit.yy @@ -20,7 +20,9 @@ "physicsStartAwake": true, "physicsKinematic": false, "physicsShapePoints": [], - "eventList": [], + "eventList": [ + {"isDnD":false,"eventNum":0,"eventType":1,"collisionObjectId":null,"parent":{"name":"oMaudit","path":"objects/oMaudit/oMaudit.yy",},"resourceVersion":"1.0","name":"","tags":[],"resourceType":"GMEvent",}, + ], "properties": [], "overriddenProperties": [], "parent": { diff --git a/sprites/sMaudit/fe55ec18-84e1-4322-969c-5ffc9431a4ed.png b/sprites/sMaudit/fe55ec18-84e1-4322-969c-5ffc9431a4ed.png index e3f2170..9736472 100644 Binary files a/sprites/sMaudit/fe55ec18-84e1-4322-969c-5ffc9431a4ed.png and b/sprites/sMaudit/fe55ec18-84e1-4322-969c-5ffc9431a4ed.png differ diff --git a/sprites/sMaudit/layers/fe55ec18-84e1-4322-969c-5ffc9431a4ed/9702b8d0-3fe0-4c9c-b381-03611c0f9248.png b/sprites/sMaudit/layers/fe55ec18-84e1-4322-969c-5ffc9431a4ed/9702b8d0-3fe0-4c9c-b381-03611c0f9248.png index e3f2170..9736472 100644 Binary files a/sprites/sMaudit/layers/fe55ec18-84e1-4322-969c-5ffc9431a4ed/9702b8d0-3fe0-4c9c-b381-03611c0f9248.png and b/sprites/sMaudit/layers/fe55ec18-84e1-4322-969c-5ffc9431a4ed/9702b8d0-3fe0-4c9c-b381-03611c0f9248.png differ diff --git a/sprites/sMaudit/sMaudit.yy b/sprites/sMaudit/sMaudit.yy index 7915cc4..2e017ac 100644 --- a/sprites/sMaudit/sMaudit.yy +++ b/sprites/sMaudit/sMaudit.yy @@ -7,10 +7,10 @@ "edgeFiltering": false, "collisionTolerance": 0, "swfPrecision": 2.525, - "bbox_left": 0, - "bbox_right": 0, - "bbox_top": 0, - "bbox_bottom": 0, + "bbox_left": 24, + "bbox_right": 38, + "bbox_top": 19, + "bbox_bottom": 34, "HTile": false, "VTile": false, "For3D": false,