DoAction and CanCast don't agree.
Pretty simple
Why does this work?
but this doesn't do anything?
Edit: Hmmm.... looks like CanCast only returns true if the target is Core.Player, but DoAction has to be Core.Player.CurrentTarget.
Edit2: I guess I wrote around it, but it would be nice to not have to.
Pretty simple
Why does this work?
Code:
Actionmanager.DoAction("Ninjutsu", Core.Player.CurrentTarget)
but this doesn't do anything?
Code:
Spell.Cast("Ninjutsu", r => true, r => Core.Player.CurrentTarget)
Edit: Hmmm.... looks like CanCast only returns true if the target is Core.Player, but DoAction has to be Core.Player.CurrentTarget.
Edit2: I guess I wrote around it, but it would be nice to not have to.
Last edited: