Some script<>skill questions and other...

Is it possible to…

  1. … make a skill execute a script (with a chance)?
    1.1 … make a skill execute a script when the skill expires?
  2. … make a script modify a skills attributes?
    E.g. script reads player hp -> copies skill dbr -> multiplies every entry in some damage values’ array of the skill with player hp -> writes that data back to the copied skill (see 3.: -> cast the skill)
    2.1 If yes, can the original skill be overwritten until game restart?
  3. … make a script cast a skill?
    3.1 If yes, can that cast’s actor and target be specified?
  4. … make projectiles “seek” a target, following them until it reaches them?
  5. … make a projectile penetrate everything until it reaches its target?
  6. … make a skill cast a skill on enemies hit (with a chance)?

Yep, using an invisible pet and it’s onAddToWorld or onDie triggers

Nope

Only through quests though these can be triggered by lua scripts so if you look at it this way, yes.

Didn’t see anything like that though I didn’t try it yet.

Only via workarounds, using a pet that looks like a projectile.

Yes, give it 100% piercing.

Yep, using the devotion triggers…but you can not level this second skill, it will always remain at the same level.

Thanks for the answers and rudiments!

Skills which spawn invisible pets which execute scripts which advance hidden quests to cast skills which again spawn pets which execute scripts to reverse hidden quests incoming? … my brain.
Edit: Or rather just spawn pets that execute scripts on spawn which advance hidden quests to cast skills and execute scripts on death which reverse the hidden quests, with a life timer of 0 or something. Still, can you even uncomplete/reverse-advance quests to achieve this…? God.

I haven’t seen a pet AI that would try to get to stand right on the player, and spontaneously, I can’t really think of a way to kill it once reaching the player… hm.

Will this make it pierce walls though? :stuck_out_tongue:

But can the devotion triggers cast a skill on enemies hit (with a chance)?

On a different note, is it possible to “dynamically” replace skills, e.g. casting one skill will turn another skill into an entirely different skill?

No.

And no, projectiles can’t go through walls.

And yes, skills can trigger other skills with condition and chance.

<irony>Craaaate, your tools are lacking! QQ</irony>

Thanks again for the hints and nudges, sounds good enough to give it a go. :slight_smile:

somewhat-of-a-bump-but-not-really

If anyone finds a way to “cast” a skill with a specified actor and target via scripts, let me know. :slight_smile: