Year of the Dragon: Through May 28th, claim free Expansion Pack (excluding Vecna Unleashed) or a Greater Elixir of Discovery! Speak to Xatheral in the Hall of Heroes.
Known Issue: Xatheral has been temporarily disabled while we investigate a bug with Year of the Dragon gift delivery.DDO Forums edit
Game mechanics • Newbie guide • In development • DDO Store • Social Media
Challenges • Classes • Collectables • Crafting • Enhancements • Epic Destinies • Favor • Feats
Glossary • Items • Maps • Monsters • Places • Quests • Races • Reincarnation • Skills • Spells
Please create an account or log in to build a reputation and unlock more editing privileges, and then visit DDO wiki's IRC Chat/Discord if you need any help!
Template:DDOip DC/testcase1
Checking each Parameter in Isolation[edit]
{{DDOip DC/sandbox|cf=10}}
10:CritFail | 15–?
|
{{DDOip DC/sandbox|fl=10}}
10:Fail | 11–14
|
{{DDOip DC/sandbox|fu=10}}
10:Fail | 11–14
|
{{DDOip DC/sandbox|f=10}}
10:Fail | 11–?
|
{{DDOip DC/sandbox|sl=10}}
10:Success | -9–10
|
{{DDOip DC/sandbox|su=10}}
10:Success | -9–10
|
{{DDOip DC/sandbox|s=10}}
10:Success | ?–10
|
{{DDOip DC/sandbox|cs=10}}
10:CritSuccess | ?–-10
|
{{DDOip DC/sandbox|fk=10}}
11–?
|
----
{{DDOip DC/sandbox|sk=10}}
?–10
|
Checking Error and No Info Cases[edit]
{{DDOip DC/sandbox}}
?
|
{{DDOip DC/sandbox|cf=|fl=|fu=|f=|sl=|su=|s=|cs=}}
?
|
{{DDOip DC/sandbox|cf=anythingnotanumber}}
anythingnotanumber:CritFail | Non-Numerical Input(s)! |
{{DDOip DC/sandbox|cf=anythingnotanumber|fl=9|fu=12}}
anythingnotanumber:CritFail; 9–12:Fail | Non-Numerical Input(s)! |
{{DDOip DC/sandbox|s=anythingnotanumber|fl=9|fu=12}}
9–12:Fail; anythingnotanumber:Success | Non-Numerical Input(s)! |
{{DDOip DC/sandbox|f=10|s=5}}
10:Fail; 5:Success | Inconsistent Observations!
|
{{DDOip DC/sandbox|cs=30|fl=12}}
12:Fail; 30:CritSuccess | Inconsistent Observations!
|
{{DDOip DC/sandbox|fl=10|s=24}}
Parameter mismatch! Do not use f and s parameters for DCs that can crit!
|
11–14
|
{{DDOip DC/sandbox|sl=20|f=19}}
Parameter mismatch! Do not use f and s parameters for DCs that can crit!
|
20
|
{{DDOip DC/sandbox|cf=20|s=24}}
Parameter mismatch! Do not use f and s parameters for DCs that can crit!
|
Inconsistent Observations!
|
{{DDOip DC/sandbox|fl=20|fu=30}}
20–30:Fail | Inconsistent Observations!
|
{{DDOip DC/sandbox|sl=20|su=50}}
20–50:Success | Inconsistent Observations!
|
{{DDOip DC/sandbox|f=20|su=19}}
Parameter mismatch! Do not use f and s parameters for DCs that can crit!
|
Inconsistent Observations!
|
{{DDOip DC/sandbox|cf=20|fl=19}}
20:CritFail; 19:Fail | Inconsistent Observations!
|
{{DDOip DC/sandbox|cs=40|su=45}}
45:Success; 40:CritSuccess | Inconsistent Observations!
|
Borderline Cases That Correctly Do Not Error[edit]
The |fl=
and |fu=
parameters are reversible in their usage. The code will not error if upper fail is lower than lower fail.
{{DDOip DC/sandbox|fl=20|fu=18}}
20–18:Fail | 21–22
|
{{DDOip DC/sandbox|fl=18|fu=20}}
18–20:Fail | 21–22
|
The same is true for the |sl=
and |su=
parameters. The code will not error if upper success is lower than lower success.
{{DDOip DC/sandbox|sl=20|su=18}}
20–18:Success | 1–18
|
{{DDOip DC/sandbox|sl=18|su=20}}
18–20:Success | 1–18
|