Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tamamo able to have Shackle ability without using Mantra #52

Closed
gelguy opened this issue Nov 11, 2016 · 1 comment
Closed

Tamamo able to have Shackle ability without using Mantra #52

gelguy opened this issue Nov 11, 2016 · 1 comment

Comments

@gelguy
Copy link
Collaborator

gelguy commented Nov 11, 2016

This is done by spamming F (to open and close spellbook). Due to Dota 2 engine's queuing of abilities, it is possible that at some point, your spellbook is open when the Open Spellbook spell is cast.

	if caster:GetAbilityByIndex(2):GetAbilityName() == "tamamo_mantra" then
		a3 = caster:FindAbilityByName("tamamo_mantra") -- Mantra
	else
		a3 = caster:FindAbilityByName("tamamo_mystic_shackle")
	end

if caster:GetAbilityByIndex(2):GetAbilityName() == "tamamo_mantra" then

The check then finds that Ability 2 is E charm and not the expected Mantra, and then sets a3 as Shackle. Shackle is then swapped with E charm. On closing spellbook, E charm is swapped with Mantra and since Shackle is in E charm's position, Shackle becomes your 3rd ability.

@gelguy
Copy link
Collaborator Author

gelguy commented Nov 19, 2016

Fixed by 8352f4b.

@gelguy gelguy closed this as completed Nov 19, 2016
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

No branches or pull requests

1 participant