Skip to content

pit fiend xp question

DanacmDanacm Member Posts: 951
I search for the answer but i didnt find it. Can i modify gate spell summoned pit fiends to give xp when they kill enemies ? Its okay that they are hostile, bit i want the xp for kills they do.

Comments

  • yowaveyowave Member Posts: 67
    edited December 2016
    You can theoretically do something like this:
    IF Killed(LastTargetedBy(Myself)) THEN RESPONSE #100 ActionOverride(LastSummonerOf(Myself),AddXPWorth(LastTargetedBy(Myself))) END
    This is just a concept, you need to provide your own logic cause right now it'll keep giving xp to the summoner.
    Enjoy :)

    Edit: is there a way to format code? [code][/code] not working.
    Post edited by yowave on
  • The user and all related content has been deleted.
  • argent77argent77 Member Posts: 3,478
    Both <pre></pre> and <code></code> are fine. Afaik, <code> will preserve all text, including text starting with '@' or '#'.
  • yowaveyowave Member Posts: 67
    edited December 2016
    I got confused cause when i use spoiler i use this tag [ spoiler ][ /spoiler ], so i thought the forum uses BBCode tags, that's why i used square brackets instead of <>.
  • The user and all related content has been deleted.
  • DanacmDanacm Member Posts: 951
    Unfortunately i wrote it bad. My question is only to editing maybe near infinity or such tool. Im low on scripting knowledge so i dont cant anything with this information, but thank you for your replies.
  • yowaveyowave Member Posts: 67
    In that case it's not possible ;(
Sign In or Register to comment.