Fixing Analyze Dweomer

Discussion in 'The Temple of Elemental Evil' started by Kharagh, Oct 5, 2014.

Remove all ads!
  1. Kharagh

    Kharagh Established Member

    Joined:
    Sep 20, 2014
    Messages:
    117
    Likes Received:
    1
    When my NPC casts this, the spell fails to identify anything - giving a message about not enough money. But Analyze dweomer doesn't cost anything, so here's how I fixed it:

    Open data\scr\Spell 005 - Analyze Dweomer.py (with notepad)

    Add a "#" at the start of each of these 3 lines:
    if spell.caster.money_get()>= 150000:

    else:
    spell.caster.float_mesfile_line('mes\\spell.mes', 16009)
     
Our Host!