Condition - Monster Melee Poison

Discussion in 'General Modification' started by anatoliy, Jul 6, 2019.

Remove all ads!
  1. anatoliy

    anatoliy Established Member

    Joined:
    Feb 18, 2017
    Messages:
    122
    Likes Received:
    24
    Take a look at 8019 (food: poison), it has "'Poison' domain_special 3" spell memorized. Essentially it will call
    Spell352 - Poison.py:
    target_item.obj.condition_add_with_args( 'Poisoned', poison_index, time_to_secondary, poison_dc )​

    Which is condition I altered a bit.

    Now 3 is poison index from T+ new file - https://github.com/GrognardsFromHell/TemplePlus/blob/master/tpdatasrc/tpgamefiles/rules/poisons.json
    - "Blood Root" poison.

    Therefore you can easily expand the file. Just remember to place it in the <game>/overrides/rules/poisons.json, if you wish to override files from Temple Plus.
     
  2. Shiningted

    Shiningted I want my goat back Global Moderator

    Joined:
    Oct 23, 2004
    Messages:
    11,903
    Likes Received:
    60
    Thanks guys, but I got it going by just adding a flag at san_use and then checking for it. Too easy.

    @Allyx - individualised poisons on Daggers of Venom is the next task :)
     
    Allyx likes this.
Our Host!