Users browsing this thread: 2 Guest(s)
how to change the skill "possess"
(03-02-2012, 11:16 PM)CrumpledMedal Wrote: I would not touch the ability possess with a ten foot pole...
Why not? This is where the fun start usually...
(03-02-2012, 11:18 PM)badass Wrote: hmm.. yea too much to look into.. especially cuz i retested his game and even the spell "pray" was broken. (bannons health)
Well it's not that difficult to change I think, more simple than what you think if I'm right. First here is where the ability possess is executed:
Code:
C2/17E5: BB TYX
C2/17E6: 20 C1 19 JSR $19C1 (targetting ?)
C2/17E9: A9 20 LDA #$20
C2/17EB: 0C A4 11 TSB $11A4 (Set can't be dodged)
C2/17EE: A9 A0 LDA #$A0
C2/17F0: 8D A9 11 STA $11A9 (Stores Possess in special effect)
C2/17F3: 4C 7B 31 JMP $317B (Character execute one hit)
You could change that code to something similar to one of the following and it should do the job I think. Note that you could make possess behave like storm and put any spell number there if I'm right. Shock and Health are tied together but it is something that could be avoided with 3 extra ASM commands if you want.
Code:
Storm
C2/170D: 9C 15 34 STZ $3415 (will force to randomly retarget)
C2/1710: A9 54 LDA #$54 (Storm)
C2/1712: 85 B6 STA $B6 (Set spell/animation)
C2/1714: A9 02 LDA #$02 (Magic)
C2/1716: 85 B5 STA $B5 (Set command)
C2/1718: 80 45 BRA $175F
Shock
C2/171A: A9 82 LDA #$82 (shock)
C2/171C: 80 02 BRA $1720 (jumps to health command to set spell/animation)
Health
C2/171E: A9 2E LDA #$2E (health)
C2/1720: 85 B6 STA $B6 (Set spell/animation)
C2/1722: A9 05 LDA #$05
C2/1724: 80 3F BRA $1765
« Next Oldest | Next Newest »
Users browsing this thread: 2 Guest(s)