Animeband - The worst variant ever

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • phaethon_h
    replied
    This is using continue, so now I see what you mean. I know why this happens. Give me several minutes.

    Code:
    Message Recall (0-19 of 58), Offset 0                                           
                                                                                    
    The Ugly stick attacks you, but you use the replacement technique!
    You feel something roll beneath your feet.
    You can learn 12 more spells.
    You do not have enough meter to use that power!.
    You get a log ready.
    You hit the Black Chameleon.
    The Black Chameleon bites you.
    The Black Chameleon claws you.
    The Black Chameleon attacks you, but you use the replacement technique!
    You feel something roll beneath your feet.
    You get a log ready.
    The Black Chameleon attacks you, but you use the replacement technique!
    You feel something roll beneath your feet.
    The Black Chameleon claws you.
    The Black Chameleon hits you.
    You get a log ready.
    The Black Chameleon bites you.
    The Black Chameleon claws you.
    The Black Chameleon attacks you, but you use the replacement technique!
    You feel something roll beneath your feet.

    Leave a comment:


  • ehuangsan
    replied
    Originally posted by phaethon_h
    This... doesn't look right?...
    Code:
    Message Recall (0-19 of 521), Offset 0                                          
                                                                                    
    You get a log ready.                                                            
    The Ugly stick attacks you, but you use the replacement technique!              
    You feel something roll beneath your feet.                                      
    You get a log ready.                                                            
    You hit the Ugly stick.                                                         
    The Ugly stick attacks you, but you use the replacement technique!              
    You feel something roll beneath your feet.                                      
    You get a log ready.                                                            
    You hit the Ugly stick.                                                         
    The Ugly stick attacks you, but you use the replacement technique!              
    You feel something roll beneath your feet.                                      
    You get a log ready.                                                            
    The Ugly stick attacks you, but you use the replacement technique!              
    You feel something roll beneath your feet.                                      
    You get a log ready.                                                            
    The Ugly stick hits you.                                                        
    You hit the Ugly stick.                                                         
    You hit the Ugly stick.                                                         
    The Ugly stick attacks you, but you use the replacement technique!              
    You feel something roll beneath your feet.                                      
                                                                                    
    [Press 'p' for older, 'n' for newer, ..., or ESCAPE]
    Oh I forgot, ugly sticks are no loner multi hit. Try Black Chameleons instead then.

    Leave a comment:


  • phaethon_h
    replied
    Originally posted by ehuangsan
    Test it with ugly sticks and see what happens.
    This... doesn't look right?...
    Code:
    Message Recall (0-19 of 521), Offset 0                                          
                                                                                    
    You get a log ready.                                                            
    The Ugly stick attacks you, but you use the replacement technique!              
    You feel something roll beneath your feet.                                      
    You get a log ready.                                                            
    You hit the Ugly stick.                                                         
    The Ugly stick attacks you, but you use the replacement technique!              
    You feel something roll beneath your feet.                                      
    You get a log ready.                                                            
    You hit the Ugly stick.                                                         
    The Ugly stick attacks you, but you use the replacement technique!              
    You feel something roll beneath your feet.                                      
    You get a log ready.                                                            
    The Ugly stick attacks you, but you use the replacement technique!              
    You feel something roll beneath your feet.                                      
    You get a log ready.                                                            
    The Ugly stick hits you.                                                        
    You hit the Ugly stick.                                                         
    You hit the Ugly stick.                                                         
    The Ugly stick attacks you, but you use the replacement technique!              
    You feel something roll beneath your feet.                                      
                                                                                    
    [Press 'p' for older, 'n' for newer, ..., or ESCAPE]

    Leave a comment:


  • ehuangsan
    replied
    Test it with ugly sticks and see what happens.

    Leave a comment:


  • phaethon_h
    replied
    Changed break to continue with what's in svn and got this little game transaction:
    Code:
    Message Recall (0-19 of 108), Offset 0                                          
                                                                                    
    You hit the Drunk JET guy.
    You hit the Drunk JET guy.
    You miss the Drunk JET guy.
    The Drunk JET guy begs you for money.
    You hit the Drunk JET guy.
    The Drunk JET guy flees in terror!
    You hit the Drunk JET guy.
    You hit the Scruffy little dog.
    The Scruffy little dog flees in terror!
    You hit the Hello Kitty.
    The Hello Kitty claws you.
    The Hello Kitty claws you.
    The Hello Kitty claws you.
    The Hello Kitty claws you.
    The Hello Kitty attacks you, but you use the replacement technique!
    You feel something roll beneath your feet.
    You get a log ready.
    You hit the Hello Kitty.
    The Hello Kitty attacks you, but you use the replacement technique!
    You feel something roll beneath your feet.
    Don't know what to make of it.

    Leave a comment:


  • ehuangsan
    replied
    Originally posted by phaethon_h
    I think I'm going to need a log/messages dump of right and wrong (fabricated or not) to understand what you're trying to get at
    At its current implementation, it'll only check for replacement on the monster's first attack. So you're never gonna get the situation of "Monster 1 hits you, monster 1 hits you, You use the replacement technique" for a monster with 4 attacks.

    When I tried to implement that previously, it would spew something funny like "Monster 1 hits you, you use replacement, Monster 1 hits you, etc." despite the fact you are clearly phased away.

    Leave a comment:


  • phaethon_h
    replied
    I think I'm going to need a log/messages dump of right and wrong (fabricated or not) to understand what you're trying to get at

    Leave a comment:


  • ehuangsan
    replied
    Ah, I think I remember how to replicate it.

    Change the "break" statement in melee1.c where the replacement code is to "continue". Otherwise, replacement only works on the first hit of the monster melee. I don't understand why that happens though.

    Leave a comment:


  • phaethon_h
    replied
    Originally posted by ehuangsan
    Did you manage to replicate the previous solution? I think I should have an old beta version lying around somewhere that has it.
    um... no?... o_O

    Leave a comment:


  • ehuangsan
    replied
    Did you manage to replicate the previous solution? I think I should have an old beta version lying around somewhere that has it.

    Leave a comment:


  • ehuangsan
    replied
    Originally posted by phaethon_h
    hrm. That particular scenario didn't happen to me in 060a2. The scenario I posted did happen, though: A-hit1/3, teleport next to B, B-hit2/3, B-hit3/3. But then again it was a large horde of vicious Hello Kittys (Kitties?),: if I teleported next to another HK, I got hit by the remaining number of hits from a HK, but if I ended up in the clear, no remote hits. So I assume it was the other HK getting in the last hits.
    That's because my dumb solution was to only make the replacement technique work on first monster hit. If you tried to make it interrupt a string of hits coming from one monster, then the problem occurs.

    Leave a comment:


  • phaethon_h
    replied
    Originally posted by ehuangsan
    Actually I didn't care much about that scenario as I did about this:

    Monster 1 hits you, Monster 1 hits you, you teleport, Monster 1 hits you, Monster 1 misses you.

    If you try making it so that it can interrupt an attack at anytime, funky things happen. Honestly, if you teleport and Monster 2 happens to hit you, I say oh well, that's just silly luck.
    hrm. That particular scenario didn't happen to me in 060a2. The scenario I posted did happen, though: A-hit1/3, teleport next to B, B-hit2/3, B-hit3/3. But then again it was a large horde of vicious Hello Kittys (Kitties?),: if I teleported next to another HK, I got hit by the remaining number of hits from a HK, but if I ended up in the clear, no remote hits. So I assume it was the other HK getting in the last hits.

    Leave a comment:


  • ehuangsan
    replied
    Originally posted by phaethon_h
    I added code which I think fixes one of the Replacement Technique bugs, where you teleport out of a multi-hit attack and end up teleporting into the middle of another multi-hit attack ("monster1 hit 1 of 3, teleport, monster2 hit 2/3, monster2 hit 3/3").

    My idea was basically to implement "phasing out" for the duration of the turn (cf Shadowcat, Gouki/Athena teleport), so the monsters try all the motion but end up doing nothing to you (literally attacking empty air).

    The one gotcha is that the teleport expends "action energy" (akin to a RPG "turn gauge/meter")... on the next turn, if you're "tired" enough, the monster you teleported next to may get a chance to attack before you get a chance to move. This is what happens with regular angband teleporting, but Replacement Technique is supposed to escape danger -- so I don't know if the "phase-in" should happen at the start of the turn (before you move, as it is now) or just as you get to move (complete escape, but godly-priority cheap).
    Actually I didn't care much about that scenario as I did about this:

    Monster 1 hits you, Monster 1 hits you, you teleport, Monster 1 hits you, Monster 1 misses you.

    If you try making it so that it can interrupt an attack at anytime, funky things happen. Honestly, if you teleport and Monster 2 happens to hit you, I say oh well, that's just silly luck.

    Leave a comment:


  • phaethon_h
    replied
    I added code which I think fixes one of the Replacement Technique bugs, where you teleport out of a multi-hit attack and end up teleporting into the middle of another multi-hit attack ("monster1 hit 1 of 3, teleport, monster2 hit 2/3, monster2 hit 3/3").

    My idea was basically to implement "phasing out" for the duration of the turn (cf Shadowcat, Gouki/Athena teleport), so the monsters try all the motion but end up doing nothing to you (literally attacking empty air).

    The one gotcha is that the teleport expends "action energy" (akin to a RPG "turn gauge/meter")... on the next turn, if you're "tired" enough, the monster you teleported next to may get a chance to attack before you get a chance to move. This is what happens with regular angband teleporting, but Replacement Technique is supposed to escape danger -- so I don't know if the "phase-in" should happen at the start of the turn (before you move, as it is now) or just as you get to move (complete escape, but godly-priority cheap).

    Leave a comment:


  • ehuangsan
    replied
    Oh excellent. Thanks a lot!

    Leave a comment:

Working...
😀
😂
🥰
😘
🤢
😎
😞
😡
👍
👎
☕