Aller au contenu

Photo

Any ONhit script for creature that deals damage to those who attack it with non-reach melee weapon?


  • Veuillez vous connecter pour répondre
2 réponses à ce sujet

#1
Artistmonk

Artistmonk
  • Members
  • 30 messages
I'm basically looking for scripts that give creature aura damage for those that attack it and deal a d6 of damage type or five points of damage,-no save when struck by hand or melee weapon.

Much appreciated if anyone can point me in a direction.

I would also like similar script for ONDAMAGED for creatures with damaging blood for any who hit it with melee weapon that doesn't have reach.

Thanks

#2
WhiZard

WhiZard
  • Members
  • 1 204 messages

Artistmonk wrote...

I'm basically looking for scripts that give creature aura damage for those that attack it and deal a d6 of damage type or five points of damage,-no save when struck by hand or melee weapon.

Much appreciated if anyone can point me in a direction.

I would also like similar script for ONDAMAGED for creatures with damaging blood for any who hit it with melee weapon that doesn't have reach.

Thanks


By those that attack it, are you looking at the OnPhysicalAttacked event (which triggers even for misses) or the on-hit unique power property?  For either just use a GetIsRanged() for the attacking weapon to rule out all ranged instances.

I don't understand "damaging blood" for the next request, would this just be a visual effect, or damage as well.

#3
Artistmonk

Artistmonk
  • Members
  • 30 messages
Yes I guess it would be OnphysicalAttacked event, even if no damage occurs the attacker would be still take damage for simply touching the creature with hand non-reach melee weapon.

Second question....
The creatures blood is acidic so striking it with a melee weapon and damaging it deals 5 points of acid damage to attacker from acid blood spray I guess the visual of a acid attack would work but not necessary. Although a message might be a good idea to let PC attackers know that striking it up close is damaging them.

Does anyone have aura spell that affects creatures within 15 of aura-creature, no visual effect necessary but wouldn't mind of course?