Author Topic: Spell Effectiveness Calculator  (Read 3946 times)

Offline Dictum Mortuum

  • Sr. Member
  • ***
  • Posts: 467
    • View Profile
Spell Effectiveness Calculator
« on: April 29, 2013, 11:59:13 AM »
So, check this out. It's mostly javascript.

Could you guys play around with it a little and report bugs? I'm mostly concerned on giving results that are close to the truth.

So far, stuff are ranked linearly. For instance, if you've got three options in a group it would be like:

best = 0
medium = 1
worst = 2

And the total score in that category is: (total_items_in_category - rank)/total_items_in_category. So, if I choose the 'best' item, I get the maximum (1/1), but if I choose the 'medium' one, I'm getting (3-1)/3  = 0.66/1 total effectiveness.

I'm considering another approach (e.g. using the logistic function to generate the results).

Any thoughts?
« Last Edit: April 29, 2013, 12:27:38 PM by Dictum Mortuum »
Dictum Mortuum's Handbooks: My personal character optimization blog.

Offline Garryl

  • DnD Handbook Writer
  • ****
  • Posts: 4515
    • View Profile
Re: Spell Effectiveness Calculator
« Reply #1 on: April 29, 2013, 12:03:56 PM »
Your link is broken. Don't use quotation marks around the url, and you've got http// instead of http://.

It's Treantmonk, not Treadmonk. Isn't it?

A spell with no components gets a lower effectiveness than one with somatic and/or verbal components.
« Last Edit: April 29, 2013, 12:06:02 PM by Garryl »

Offline Dictum Mortuum

  • Sr. Member
  • ***
  • Posts: 467
    • View Profile
Re: Spell Effectiveness Calculator
« Reply #2 on: April 29, 2013, 12:32:55 PM »
Your link is broken. Don't use quotation marks around the url, and you've got http// instead of http://.

It's Treantmonk, not Treadmonk. Isn't it?

A spell with no components gets a lower effectiveness than one with somatic and/or verbal components.

Thanks, fixed the URLs and Treantmonk's name.

I'm working on the components - I have to have a way to differentiate between "I don't care about components" and "the spell has no components".

Dictum Mortuum's Handbooks: My personal character optimization blog.

Offline Jackinthegreen

  • DnD Handbook Writer
  • ****
  • Posts: 6176
  • I like green.
    • View Profile
Re: Spell Effectiveness Calculator
« Reply #3 on: April 29, 2013, 12:59:39 PM »
Your link is broken. Don't use quotation marks around the url, and you've got http// instead of http://.

It's Treantmonk, not Treadmonk. Isn't it?

A spell with no components gets a lower effectiveness than one with somatic and/or verbal components.

Thanks, fixed the URLs and Treantmonk's name.

I'm working on the components - I have to have a way to differentiate between "I don't care about components" and "the spell has no components".

Do some coding to the effect of Components = Any for not caring, and then components = none for no components?  I know, easier said than done in most coding.

Offline Dictum Mortuum

  • Sr. Member
  • ***
  • Posts: 467
    • View Profile
Re: Spell Effectiveness Calculator
« Reply #4 on: April 29, 2013, 02:00:51 PM »
Your link is broken. Don't use quotation marks around the url, and you've got http// instead of http://.

It's Treantmonk, not Treadmonk. Isn't it?

A spell with no components gets a lower effectiveness than one with somatic and/or verbal components.

Thanks, fixed the URLs and Treantmonk's name.

I'm working on the components - I have to have a way to differentiate between "I don't care about components" and "the spell has no components".

Do some coding to the effect of Components = Any for not caring, and then components = none for no components?  I know, easier said than done in most coding.

Either that or include a checkbox for all categories that starts disabled but is enabled when you check something - kinda a "include or exclude from the calculation" button
Dictum Mortuum's Handbooks: My personal character optimization blog.

Offline awaken_D_M_golem

  • Epic Member
  • ****
  • Posts: 7639
  • classique style , invisible tail
    • View Profile
Re: Spell Effectiveness Calculator
« Reply #5 on: April 29, 2013, 05:48:28 PM »
... also known as: TreantMonk20.
Your codpiece is a mimic.

Offline PlzBreakMyCampaign

  • DnD Handbook Writer
  • ****
  • Posts: 1962
  • Immune to Critical Hits as a Fairness Elemental
    • View Profile
Re: Spell Effectiveness Calculator
« Reply #6 on: April 29, 2013, 08:27:07 PM »
Personal Range?
Costly Components?
Hard counters?

Apparently Invisibility is halfway the best spell ever.

Offline Endarire

  • DnD Handbook Writer
  • ****
  • Posts: 1662
  • Smile! Jesus loves you!
    • View Profile
    • Greg Campbell's Portfolio
Re: Spell Effectiveness Calculator
« Reply #7 on: April 30, 2013, 02:55:42 AM »
What about spells with multiple targets but have no AoE, like magic missile?

Offline Dictum Mortuum

  • Sr. Member
  • ***
  • Posts: 467
    • View Profile
Re: Spell Effectiveness Calculator
« Reply #8 on: April 30, 2013, 07:31:21 AM »
Personal Range?
Costly Components?
Hard counters?

Apparently Invisibility is halfway the best spell ever.

Personal Range - forgot about that, I'm going to add it.
With "component" I meant costly component. I'm going to add another option with greater weight for costly components then.
Hard counters? What do you mean by that?

Invisibility is 46.6% for me. I think that the score for a spell to be worthwhile is around 70%.

What about spells with multiple targets but have no AoE, like magic missile?

I think that's under "Multiple, close together".
Dictum Mortuum's Handbooks: My personal character optimization blog.


Offline Dictum Mortuum

  • Sr. Member
  • ***
  • Posts: 467
    • View Profile
Re: Spell Effectiveness Calculator
« Reply #10 on: May 03, 2013, 10:58:37 AM »
Hard counters?
Your spell X does nothing because I have spell Y. No action required.

But, that's 0% effectiveness because it does nothing. Adding a button "Hard counter" means that the person that tries to calculate the effectiveness of the spell already knows if he wants to check that box or not; thus, it is redundant.
Dictum Mortuum's Handbooks: My personal character optimization blog.

Offline RedWarlock

  • Hero Member
  • ***
  • Posts: 628
  • Crimson-colored caster of calamity
    • View Profile
    • Red Blade Studios
Re: Spell Effectiveness Calculator
« Reply #11 on: May 03, 2013, 03:04:08 PM »
I don't think it's about the button being 100 or 0%, it's a less direct measure of the existence of that hard-counter spell in the opponent's arsenal, and thus the likelihood of it being used against you.
WarCraft post-d20: A new take on the World of WarCraft for tabletop. I need your eyes and comments!

Offline Endarire

  • DnD Handbook Writer
  • ****
  • Posts: 1662
  • Smile! Jesus loves you!
    • View Profile
    • Greg Campbell's Portfolio
Re: Spell Effectiveness Calculator
« Reply #12 on: May 03, 2013, 09:07:28 PM »
Better rephrase "Multiple, close together" as "Multiple targets (usually close together), but not an area effect (AoE)"