rpherbig / dr-scripts

A series of Lich 5 (https://github.com/elanthia-online/lich-5) scripts for use with DragonRealms (http://www.play.net/dr/). Donations are welcome (http://www.paypal.me/rcuhljr)!
GNU General Public License v2.0
53 stars 178 forks source link

empathic shock with combat-trainer #1851

Closed blaylosw closed 2 years ago

blaylosw commented 7 years ago

For some reason combat-trainer had me attack a prereni as an empath.

[combat-trainer]>attack
You leap out of hiding and ambush a young blue-dappled prereni, completely surprising him.
< Moving with incredible power and control, you thrust a steel throwing spike with a tempered blade at a young blue-dappled prereni.  A young blue-dappled prereni attempts to dodge, moving almost completely out of harm's reach.  The spike lands a good hit to the prereni's neck.

Pain blossoms within you, your delicate empathic senses singing with agony.  You feel the wound to the other life essence almost before it happens, your empathy focusing and magnifying the pain you have caused.  You draw back instinctively, your empathy recoiling, leaving you briefly stunned.
[You're bruised, nimbly balanced and in dominating position.]
[Roundtime 2 sec.]
>
Moving strongly, a young blue-dappled prereni kicks out its hooves at a young blue-dappled prereni.  A young blue-dappled prereni fails to evade.  The hoof lands a good hit to his chest!  
>
[combat-trainer]>pre bs 5
You are still stunned.
>
[combat-trainer]>pre bs 5
You are still stunned.
>
[combat-trainer]>pre bs 5
>
You are still stunned.
>
A young blue-dappled prereni wakes up.
>
The blue-dappled prereni breathes slowly, its large ears twitching lightly as it sleeps.
>
Moving well, a young blue-dappled prereni bares its large teeth and bites at a young blue-dappled prereni.  A young blue-dappled prereni attempts to evade.  The bite lands a brushing strike to his left leg!  
>
[combat-trainer]>pre bs 5
You are still stunned.
>
[combat-trainer]>pre bs 5
You are still stunned.
>
[combat-trainer]>pre bs 5
>
With tense movements you prepare your body for the Blood Staunching spell.
rpherbig commented 7 years ago

Can you run this and report the output? ;en echo DRStats.empath?

blaylosw commented 7 years ago

--- Lich: exec1 active. --- Exception: undefined method empath' for Scripting::DRStats:Class exec1:1:inscript' --- Lich: exec1 has exited

blaylosw commented 7 years ago

sorry it came back as -- Lich: exec1 active. [exec1: true] --- Lich: exec1 has exited

rcuhljr commented 7 years ago

Can you link your yamls from an ;e help_me?

blaylosw commented 7 years ago

https://pastebin.com/mpKqfUGp

https://pastebin.com/U8bVuN7F

rcuhljr commented 7 years ago

We could probably just have combat-trainer/hunting-buddy/training-manager refuse to start if guild isn't set. This is most likely caused by a bad autostart or something on drinfomon and it not picking up your class.

blaylosw commented 7 years ago

I am going to test it more in the next couple days. Life is in the way right now. I will let you know

MahtraDR commented 2 years ago

@rpherbig I reckon we can close this. Looking at the yaml linked,

hunting_info:
- :zone:  young_blue_dappled_prereni
  duration: 60
  args:
  - d0 ## this should be d4
  stop_on:
  - Debilitation
hunting_file_list:
- setup
- back

I just helped someone else debug an issue like this, and the problem was that she too, had -d0

Can close.