Jump to content


Photo

Low frequency of PRO repetitions


  • Please log in to reply
9 replies to this topic

#1 temnix

temnix
  • Member
  • 983 posts

Posted 10 March 2018 - 03:53 AM

A question for those who know a lot about projectiles. I have a spell that applies a repeating EFF to the caster, and that EFF leads, through another spell, to an area-of-effect. It is an exploding self-centered blast (sounds like a characteristic of someone). I wanted the repetition to be frequent, so I set the EFF to trigger 15 times a second. I could settle for a little less, but the most I can get, the frequency with which the AOE blows up, is about once a second, perhaps a little better. I don't mean the frequency in frames in the PRO but the application of the EFF. Any ideas why this might be happening? Is there a limit?

 

If it helps, here is the structure:

 

Spell 1. No proj. Caster, Use EFF File on Condition.

 

EFF. Cast Spell, Instant.

 

Spell 2. No proj, Living actor. Cast Spell. (I need this step for some extra filtering.)

 

Spell 3. AOE proj, Living actor. Actual spell effects here.

 

The proj is "Hit instantly."



#2 -kjeron-

-kjeron-
  • Guest

Posted 10 March 2018 - 01:11 PM

Opcode 272(parameter2=4) does not distribute x triggers evenly over y seconds, it just triggers all of x triggers every y seconds. One second is it's fastest frequency.
The other frequency opcodes(Poison, Regeneration) work this way as well for 'parameter2=4', except Disease, which does not have this frequency option.

#3 temnix

temnix
  • Member
  • 983 posts

Posted 10 March 2018 - 05:27 PM

I'm not using 272 at parameter 4, though, but at parameter 2. "Value per second." Or is this what you meant? And I've gotten more frequent results with that option than once a second, certainly. It would be useless otherwise! But once a second is all I get if the EFF is for Cast Spell.



#4 -kjeron-

-kjeron-
  • Guest

Posted 10 March 2018 - 06:25 PM

I'm not using 272 at parameter 4, though, but at parameter 2. "Value per second." Or is this what you meant? And I've gotten more frequent results with that option than once a second, certainly. It would be useless otherwise! But once a second is all I get if the EFF is for Cast Spell.
parameter2 = 4 or 2, same limitations, it can trigger 15 times per second, but they will trigger all at once, not evenly spread over that one second.

#5 temnix

temnix
  • Member
  • 983 posts

Posted 10 March 2018 - 06:43 PM

Oh, I see. Well, thanks for explaining. While you're here: how important is it to enter the "Power" in spell effects? What is it used for? Spell Immunity etc. still go by spell level, right?



#6 -kjeron-

-kjeron-
  • Guest

Posted 10 March 2018 - 09:50 PM

Spell Level Immunity(Globes), Spell Deflection, Spell Turning, Spell Trap.
Breach-like effects can be made to use it, though I don't think any of them utilize it normally.

by Opcode:
102, 199, 200, 201, 220, 221, 223, 226, 227, 228, 229, 230, 259
Some only read the power level of the first effect(and assume it applies to all effects of that resource), some read the power level of every effect individually, some cannot affect power level 0 even when specified.

Opcode 319 uses the Power Level as just another parameter, controlling whether it restricts the item from a match or a mismatch.

#7 temnix

temnix
  • Member
  • 983 posts

Posted 10 March 2018 - 10:22 PM

So the spell's actual level doesn't matter, only the Power parameter? But this is all only for hostile spells, with the Hostile check? Or just cast by a red creature? I have some mechanical spells that take and remove effects from everyone on the map. They are Power 0, mostly. I wouldn't want these to to fail if someone is wearing a Globe or Spell Immunity. And they're type 0, Natural/Non-magical. Does that matter for bypassing protections?



#8 subtledoctor

subtledoctor
  • Member
  • 604 posts

Posted 11 March 2018 - 05:17 AM

Power 0 is not blocked by spell level immunity.

#9 temnix

temnix
  • Member
  • 983 posts

Posted 11 March 2018 - 09:19 AM

All right. Good to know. What about spells cast inside other spells, though, with Cast Spell? I have strings of them, and haven't always bothered to change their power and level, assuming they would go under Spell Immunity if passed through this opcode. Wouldn't they?


Edited by temnix, 11 March 2018 - 09:28 AM.


#10 subtledoctor

subtledoctor
  • Member
  • 604 posts

Posted 11 March 2018 - 10:28 AM

Dunno what you mean by "go under" SI, but if something is worth doing...