Code Monkey home page Code Monkey logo

twitch-master's People

Contributors

davidventura avatar tatianainama avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

twitch-master's Issues

crash on missing ability

with this payload

{"type":"single","data":{"n":"npc_dota_hero_ogre_magi","name":"Ogre Magi","talent_tree":{"entries":[[{"name":"-1s Fireblast Cooldown","picked":false},{"name":"+15 Ignite DPS","picked":true}],[{"name":"+2/0.01 Dumb Luck Mana/Mana Regen Per Strength","picked":false},{"name":"+80 Damage","picked":false}],[{"name":"+30 Bloodlust Attack Speed","picked":false},{"name":"+30 Strength","picked":false}],[{"name":"+240 Fireblast Damage","picked":false},{"name":"17% Fireblast chance on attack","picked":false}]]},"abilities":[{"name":"Fireblast","n":"ogre_magi_fireblast","tooltip":{"description":"Blasts an enemy unit with a wave of fire, dealing damage and stunning the target.","lore":"The Ogre Magi is easily amused, entertained for hours by playing with fire.","scepter_description":null},"has_scepter_upgrade":false,"has_shard_upgrade":false,"granted_by_scepter":false,"granted_by_shard":false,"innate":false,"properties":[{"name":"STUN DURATION:","value":["1.2"]},{"name":"FIREBLAST DAMAGE:","value":["70","130","190","250"]}]},{"name":"Ignite","n":"ogre_magi_ignite","tooltip":{"description":"Drenches the target and another random unit in volatile chemicals, causing it to burst into flames. The target is in immense pain, taking damage and moving more slowly.","lore":"Batter up!","scepter_description":null},"has_scepter_upgrade":false,"has_shard_upgrade":false,"granted_by_scepter":false,"granted_by_shard":false,"innate":false,"properties":[{"name":"DURATION:","value":["5","6","7","8"]},{"name":"BURN DAMAGE:","value":["20","30","40","50"]},{"name":"SLOW:","value":["-20%","-23%","-26%","-29%"]}]},{"name":"Bloodlust","n":"ogre_magi_bloodlust","tooltip":{"description":"Incites a frenzy in a friendly unit, increasing its movement speed and attack speed. Gives bonus attacks speed if cast on Ogre himself. Can be cast on towers.","lore":"'Running's not as fun as hitting... Not one bit fun.'","scepter_description":null},"has_scepter_upgrade":false,"has_shard_upgrade":false,"granted_by_scepter":false,"granted_by_shard":false,"innate":false,"properties":[{"name":"BONUS MOVE SPEED:","value":["7%","9%","11%","13%"]},{"name":"BONUS ATTACK SPEED:","value":["30","45","60","75"]},{"name":"SELF BONUS ATTACK SPEED:","value":["40","60","80","100"]},{"name":"DURATION:","value":["30"]}]},{"name":"Dumb Luck","n":"ogre_magi_dumb_luck","tooltip":{"description":"Ogre Magi's max Intelligence is 0. He receives mana and mana regeneration from Strength.","lore":null,"scepter_description":null},"has_scepter_upgrade":false,"has_shard_upgrade":false,"granted_by_scepter":false,"granted_by_shard":false,"innate":true,"properties":[{"name":"MAX MANA PER STRENGTH:","value":["6"]},{"name":"MANA REGENERATION PER STRENGTH:","value":["0.03"]}]},{"name":"Multicast","n":"ogre_magi_multicast","tooltip":{"description":"Enables Ogre Magi to cast his abilities and items multiple times with each use.","lore":"Despite being largely incapacitated by his IQ, the Ogre Magi's success in battle is attributed to pure skill.","scepter_description":null},"has_scepter_upgrade":false,"has_shard_upgrade":false,"granted_by_scepter":false,"granted_by_shard":false,"innate":false,"properties":[{"name":"2X CAST CHANCE:","value":["75%"]},{"name":"3X CAST CHANCE:","value":["0%","30%","30%"]},{"name":"4X CAST CHANCE:","value":["0%","0%","15%"]}]}],"inventory":{"items":[{"n":"item_arcane_boots","name":"Arcane Boots","cooldown":"55.0","manacost":"0","cost":"1300","description":[{"tag":"h1","val":"Active: Replenish Mana"},{"tag":"text","val":"Restores"},{"tag":"b","val":"175"},{"tag":"text","val":"mana to all nearby allies."},{"tag":"newline","val":""},{"tag":"newline","val":""},{"tag":"text","val":"Radius:"},{"tag":"b","val":"1200"},{"tag":"newline","val":""},{"tag":"text","val":"Movement speed bonuses from multiple pairs of boots do not stack."},{"tag":"newline","val":""},{"tag":"newline","val":""},{"tag":"h1","val":"Passive: Basilius Aura"},{"tag":"text","val":"Grants"},{"tag":"b","val":"1"},{"tag":"text","val":"mana regeneration to allies."},{"tag":"newline","val":""},{"tag":"newline","val":""},{"tag":"text","val":"Radius:"},{"tag":"b","val":"1200"}],"active":[{"tag":"h1","val":"Active: Replenish Mana"},{"tag":"text","val":"Restores"},{"tag":"b","val":"175"},{"tag":"text","val":"mana to all nearby allies."},{"tag":"newline","val":""},{"tag":"newline","val":""},{"tag":"text","val":"Radius:"},{"tag":"b","val":"1200"},{"tag":"newline","val":""},{"tag":"text","val":"Movement speed bonuses from multiple pairs of boots do not stack."},{"tag":"newline","val":""},{"tag":"newline","val":""}],"use":[],"passive":[{"tag":"h1","val":"Passive: Basilius Aura"},{"tag":"text","val":"Grants"},{"tag":"b","val":"1"},{"tag":"text","val":"mana regeneration to allies."},{"tag":"newline","val":""},{"tag":"newline","val":""},{"tag":"text","val":"Radius:"},{"tag":"b","val":"1200"}],"properties":{"Movement Speed":"45","Mana Regeneration":"0.75"}},{"n":"item_gauntlets","name":"Gauntlets of Strength","cooldown":null,"manacost":null,"cost":"140","description":[],"active":[],"use":[],"passive":[],"properties":{"Strength":"3"}},{"n":"item_gauntlets","name":"Gauntlets of Strength","cooldown":null,"manacost":null,"cost":"140","description":[],"active":[],"use":[],"passive":[],"properties":{"Strength":"3"}},{"n":"item_cyclone","name":"Eul's Scepter of Divinity","cooldown":"23.0","manacost":"175","cost":"2625","description":[{"tag":"h1","val":"Active: Cyclone"},{"tag":"text","val":"Sweeps a target unit up into a cyclone, making them invulnerable for"},{"tag":"b","val":"2.5"},{"tag":"text","val":"seconds. Cyclone can only be cast on enemy units or yourself."},{"tag":"newline","val":""},{"tag":"newline","val":""},{"tag":"text","val":"Enemy units take"},{"tag":"b","val":"50"},{"tag":"text","val":"magical damage upon landing."},{"tag":"newline","val":""},{"tag":"text","val":"Dispel Type:"},{"tag":"b","val":"Basic Dispel"}],"active":[{"tag":"h1","val":"Active: Cyclone"},{"tag":"text","val":"Sweeps a target unit up into a cyclone, making them invulnerable for"},{"tag":"b","val":"2.5"},{"tag":"text","val":"seconds. Cyclone can only be cast on enemy units or yourself."},{"tag":"newline","val":""},{"tag":"newline","val":""},{"tag":"text","val":"Enemy units take"},{"tag":"b","val":"50"},{"tag":"text","val":"magical damage upon landing."},{"tag":"newline","val":""},{"tag":"text","val":"Dispel Type:"},{"tag":"b","val":"Basic Dispel"}],"use":[],"passive":[],"properties":{"Intelligence":"10","Mana Regeneration":"2.5","Movement Speed":"20"}},{"n":"item_hand_of_midas","name":"Hand of Midas","cooldown":"0","manacost":"0","cost":"2200","description":[{"tag":"h1","val":"Active: Transmute"},{"tag":"text","val":"Kills a non-hero target for"},{"tag":"b","val":"160"},{"tag":"text","val":"gold and"},{"tag":"b","val":"2.1"},{"tag":"text","val":"x experience. When used on a neutral creep, guarantees to create a neutral item if available."},{"tag":"newline","val":""},{"tag":"newline","val":""},{"tag":"text","val":"Cannot be used on Ancient creeps."}],"active":[{"tag":"h1","val":"Active: Transmute"},{"tag":"text","val":"Kills a non-hero target for"},{"tag":"b","val":"160"},{"tag":"text","val":"gold and"},{"tag":"b","val":"2.1"},{"tag":"text","val":"x experience. When used on a neutral creep, guarantees to create a neutral item if available."},{"tag":"newline","val":""},{"tag":"newline","val":""},{"tag":"text","val":"Cannot be used on Ancient creeps."}],"use":[],"passive":[],"properties":{"Attack Speed":"35"}},{"n":"item_ghost","name":"Ghost Scepter","cooldown":"22.0","manacost":null,"cost":"1500","description":[{"tag":"h1","val":"Active: Ghost Form"},{"tag":"text","val":"You enter ghost form for"},{"tag":"b","val":"4.0"},{"tag":"text","val":"seconds, becoming immune to physical damage, but are unable to attack and"},{"tag":"b","val":"-40"},{"tag":"text","val":"% more vulnerable to magic damage."}],"active":[{"tag":"h1","val":"Active: Ghost Form"},{"tag":"text","val":"You enter ghost form for"},{"tag":"b","val":"4.0"},{"tag":"text","val":"seconds, becoming immune to physical damage, but are unable to attack and"},{"tag":"b","val":"-40"},{"tag":"text","val":"% more vulnerable to magic damage."}],"use":[],"passive":[],"properties":{"All Attributes":"5"}}],"neutral_slot":{"n":"item_gossamer_cape","name":"Gossamer Cape","cooldown":"4","manacost":null,"cost":"0","description":[{"tag":"h1","val":"Passive: Sixth Sense"},{"tag":"text","val":"Automatically dodge an attack from an enemy hero."}],"active":[],"use":[],"passive":[{"tag":"h1","val":"Passive: Sixth Sense"},{"tag":"text","val":"Automatically dodge an attack from an enemy hero."}],"properties":{"Movement Speed":"20"}}},"has_scepter":false,"has_shard":false,"level":1,"player":"gorgc","facet":{"facet_id":2,"icon":"ogre","color":"Blue","n":"ogre_magi_learning_curve","title":"Learning Curve","description":"Level requirement of all spells and talents reduced by -1. You get 0 Ability Points at level one and 3 Ability Points at level two."}}}

clicking on the Aghanim's icon crashes ((

related to the backend change that removes not-yet-acquired abilities.
maybe the backend should send acquiredAbilities and unavailableAbilities ? or send them all, but mark them as unlocked/available

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.