Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Combo.json does not take into account opponent hero class?
kamil234
#1 Posted : Sunday, May 20, 2018 3:18:52 PM(UTC)

Rank: Advanced Member

Groups: Registered
Posts: 116

Thanks: 6 times
Was thanked: 34 time(s) in 20 post(s)
I had a more complex rule, but i saw that i always got negative value to coin when not part of combo.

So instead, to troubleshoot, I made a simple combo.json rule as follows:

If opponent is mage, give extra value to coin before playing call to arms . (GAME_005 >> LOOT_093)

Code:
				
      "comment":"Give boost to coin if opponent is mage before playing call to arms (test for counterspell)",
				"condition":"opp_hero(count(), hero_class = mage) > 0",
				"combo": "GAME_005 >> LOOT_093",
				"value": "50 >> 15",


But i see in debugger, that it gives negative value to coin (-50) for EVERY opponent class that i play... (ie.. paladin,priest, etc.)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF | YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.023 seconds.