artifact-javascript's People
artifact-javascript's Issues
Wisdom of the Elders draws 2 cards instead of 1
Description ability:
Wisdom of the Elders
Active Ability
Active 4: Draw a card.
Now Wisdom of the Elders draws 2 card.
I think the problem is here
abilityMap.set("Wisdom of the Elders" , function(card,e){
card.player.draw();card.player.draw()
return true
});
Can't get Artifact Javascript to run on localHost.
I'm trying to change some of Artifact's rules in my own branch of Artifact Javascript. I am quite new to Node.js and am having some nvm problems as well (although I believe Node requires nvm?). If you could help lead me through getting this repo to run on localHost I can work from there, I understand what javascript I need to change, just can't test it without a running version of my own.
[Gank] issue
Problem: when using [Gank] on an enemy in the not-yet-active lane, HP could go into negatives without properly disposing said enemy and awarding gold to the killing side.
Expected behaviour: [Gank] makes a check if the enemy's HP lies in the negatives, then disposes the dead one and awards gold to the victor.
This is important if the board has Mercenaries (their damage usually is a function of player's gold) or enemies with board-wide passives like Drow Ranger.
Allseeing One's Favor does not give modified hero +2 regen
I've been digging around with this for a while, but I can't find a fix for it.
g.set("Allseeing One's Favor", "unit"), p.set("Allseeing One's Favor", function (e, a, t, n) { if ("Red" != u.lanes[a].cards[n][t].Color || "Hero" != u.lanes[a].cards[n][t].CardType) return !1; return u.lanes[a].cards[n][t].div.addEventListener("continuousEffect", function (e) { u.lanes[e.detail.lane].cards.forEach(function (a) { null != a[e.detail.player].Name && a[e.detail.player] != u.lanes[e.detail.lane].cards[e.detail.card][e.detail.player] && (a[e.detail.player].regen[4] += 2, a[e.detail.player].updateDisplay()) }) }), !0 }),
This block doesn't seem to give the modified unit +2 regen. I tried just adding e.regen[4] +=2 but that doesn't work because e isn't the card modified.
God's Strength gives 2 attacks instead of 4
Hello!
When i use God's Strength, my hero gets 2 attacks instead of 4.
Won't load node_modules in fork of repository
I've got an exact clone of Artifact Javascript trying to run here but it keeps 404ing on anything stored in node_modules. Do I need to do something with the .gitignore file? It should work because it is the exact clone of your files. Are you running the github page off gh-pages branch or master? Considering it has access to master I would assume master, but I may be wrong there.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.