Currently runs away from any hostile creature / monster and any shadow creature with a target
local function ShouldRunAway(target) return not (target.components.health ~= nil and target.components.health:IsDead()) and (not target:HasTag("shadowcreature") or (target.components.combat ~= nil and target.components.combat:HasTarget())) end
Switching the "or" to "and" means shadow minions shouldn't run away from any shadow creature or any hostile creature / monster without a target
local function ShouldRunAway(target) return not (target.components.health ~= nil and target.components.health:IsDead()) and not target:HasTag("shadowcreature") and (target.components.combat ~= nil and target.components.combat:HasTarget()) end
shadowwaxwellbrain.lua line 112
Steps to Reproduce
Using Maxwell to chop trees with his minions while near shadow creatures
Using Maxwell to chop trees with his minions while near shadow creatures
-
1
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now