Skip to content

G. Shapiro - JS III Project - All Problems Other Than Stretch - #1

Merged
jacobAngulo merged 9 commits into
masterfrom
gabriel-shapiro
Jun 3, 2019
Merged

jacobAngulo merged 9 commits into
masterfrom
gabriel-shapiro

Conversation

@lex-node

Copy link
Copy Markdown
Owner

solves all problems in JS III Project other than stretch problem

@lex-node
lex-node requested a review from jacobAngulo May 29, 2019 03:05
Comment thread assignments/prototypes.js Resolved
Comment thread assignments/prototypes.js
this.ninjaChop = function(obj){
obj.healthPoints -= 5;
console.log(`${this.name} has attacked ${obj.name} with a heroic ninja chop! costs 5 healthpoints!`);
if(obj.healthPoints <= 0) {

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can't tell why but, batman is not ninja-chopping the joker according to my developer console

@jacobAngulo jacobAngulo left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work man! tell Gal that I'm available if yall break up

@jacobAngulo
jacobAngulo merged commit d66f63e into master Jun 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants