Player Resource Consortium

 

Author Topic: Hierophant/Archmage SLA  (Read 4263 times)

0 Members and 1 Guest are viewing this topic.

July 10, 2009, 06:47:56 AM
  • Hero Member
  • *****
  • Posts: 1439
  • Karma: +27/-0
  • Gender: Male
    • View Profile

I searched for entries of Hierophant and Archmage Spell Like Abilities in spells.2da and found something like that:

Code: [Select]
2036  SLA_I                                                     16823384 ****                ****   L     **** ****      0x3F       sla_script1       **** ****   ****  ****    ****   ****     ****   ****     ****     ****            ****             ****            ****            ****             ****             ****     ****     ****            ****            ****            ****             **** ****             ****         ****          ****             ****            ****           ****         2037         2038         2039         2040         2041         ****     ****   ****     ****       ****             ****              ****       ****           ****       ****     ****     ****          
2037  SLA_I_a                                                   16823384 ****                ****   L     **** ****      0x3F       sla_script1       **** ****   ****  ****    ****   ****     ****   ****     ****     ****            ****             ****            ****            ****             ****             ****     ****     ****            ****            ****            ****             **** ****             ****         ****          ****             ****            ****           ****         ****         ****         ****         ****         ****         ****     2036   ****     ****       ****             ****              ****       ****           ****       ****     ****     ****          
2038  SLA_I_b                                                   16823384 ****                ****   L     **** ****      0x3F       sla_script1       **** ****   ****  ****    ****   ****     ****   ****     ****     ****            ****             ****            ****            ****             ****             ****     ****     ****            ****            ****            ****             **** ****             ****         ****          ****             ****            ****           ****         ****         ****         ****         ****         ****         ****     2036   ****     ****       ****             ****              ****       ****           ****       ****     ****     ****          
2039  SLA_I_c                                                   16823384 ****                ****   L     **** ****      0x3F       sla_script1       **** ****   ****  ****    ****   ****     ****   ****     ****     ****            ****             ****            ****            ****             ****             ****     ****     ****            ****            ****            ****             **** ****             ****         ****          ****             ****            ****           ****         ****         ****         ****         ****         ****         ****     2036   ****     ****       ****             ****              ****       ****           ****       ****     ****     ****          
2040  SLA_I_d                                                   16823384 ****                ****   L     **** ****      0x3F       sla_script1       **** ****   ****  ****    ****   ****     ****   ****     ****     ****            ****             ****            ****            ****             ****             ****     ****     ****            ****            ****            ****             **** ****             ****         ****          ****             ****            ****           ****         ****         ****         ****         ****         ****         ****     2036   ****     ****       ****             ****              ****       ****           ****       ****     ****     ****          
2041  SLA_I_e                                                   16823384 ****                ****   L     **** ****      0x3F       sla_script1       **** ****   ****  ****    ****   ****     ****   ****     ****     ****            ****             ****            ****            ****             ****             ****     ****     ****            ****            ****            ****             **** ****             ****         ****          ****             ****            ****           ****         ****         ****         ****         ****         ****         ****     2036   ****     ****       ****             ****              ****       ****           ****       ****     ****     ****


Can somebody tell me why there are 5 extra entries for each SLA, please. I don't see any differencies between them in game - all 5 cast the same spell, and have the same number of uses (which are decreased at the same time after casting SLA). I have edited spells.2da and it seems to work fine with just one entry (but as I wrote before, I don't know if I didn't messed up with something else ;) )

Also I have a question about number of SLA uses per day. In sla_script1.nss I read that uses/day are dependent on spell level, while in feat description I read that it can be used 3 times per day.

*Edit: There seems to be some kind of error with targeting of SLA - ie. if I choose to store Darkfire as SLA, when I try to cast it on myself I get 'You cannot target location' message (no idea why - i wasn't targeting location!).
« Last Edit: July 10, 2009, 01:04:04 PM by xwarren »


July 11, 2009, 02:10:34 PM
Reply #1
  • Hero Member
  • *****
  • Posts: 1439
  • Karma: +27/-0
  • Gender: Male
    • View Profile

I have fixed some issues with SLA:

- removed extra entries from spells.2da - now it's one icon for one SLA (instead of 6 before)
- fixed targeting problem (when target is not valid message appears but the usage is not lost)
- because ActionCastFakeSpell* forces the character to be in correct range, I removed range check code (if character is too far, it will now run toward target and then cast the spell - like with casting normal spells)
- added correct DC of SLA (not sure about that - number of uses per day depends on innate level of the spell, should DC also depend on innate level? DC of most SLA's is Charisma based, but there was a function in the script, unfortunately not complete, which indicated that DC of Heirophant SLA is Wisdom based :| )
- added icons for the feat ;)

I'm testing it now...
« Last Edit: July 11, 2009, 02:13:45 PM by xwarren »


July 13, 2009, 12:59:34 PM
Reply #2

If you fix this, I will be rather happy. It's been a bug report for about 3 years now :P
That is not dead which can eternal lie.
And with strange aeons even death may die.


July 13, 2009, 01:29:41 PM
Reply #3
  • Hero Member
  • *****
  • Posts: 1439
  • Karma: +27/-0
  • Gender: Male
    • View Profile

Not tested Spell Penetration for SLA, and still have no idea what the extra entries were for, but I think I have fixed every issue I have found in the script, but can't fix animation - if the spell stored as SLA has a projectile it is fired twice :|

Also I thought Archmage gets only one SLA... (currently can select all 5).

You'll need to change descriptions of the feat (can't rely on my English in this matter :P )
« Last Edit: July 13, 2009, 01:31:36 PM by xwarren »


July 13, 2009, 02:12:53 PM
Reply #4

No, archmage could get 1 SLA per level
That is not dead which can eternal lie.
And with strange aeons even death may die.