Game mechanicsNewbie guideIn developmentDDO StoreIRC Chat/Discord


ChallengesClassesCollectablesCraftingEnhancementsEpic DestiniesFavor

FeatsGlossaryItemsMapsMonstersPlacesQuestsRacesSkillsSpells


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!

User talk:Habreno/Wizardry

From DDO wiki
Jump to: navigation, search

Python Version[edit]

def main():

Wiz = input("Wizardry Value: ")
try:
wiz = int(Wiz)
except:
wiz = romantodec(Wiz)
wiz = wiz*25
if wiz == 1:
print("This item grants the wearer", wiz ,"spellpoint. Favored Souls and Sorcerers gain up to double spellpoints from items.")
else:
print("This item grants the wearer", wiz ,"spellpoints. Favored Souls and Sorcerers gain up to double spellpoints from items.")


Note: The romantodec function isn't copied here for space reasons; it basically converts the roman numeral to an integer.


For those unfamiliar with Python, if/else statements (actually if/elif/else statements, but if/else is a simpler form) check the condition on the if- if it's true, then the code under the if is executed. If it's not true, the else is executed. (in if/elif/else, if the initial if fails, elifs are then checked in the order they're listed, top to bottom, and if all those fail, then the else is executed)

In the case of try/except statements, they have the try be executed, and if an error happens, then the excepts are tried. You can have multiple excepts with various conditions (similar to elifs), which each do various different things. A generic except acts as an else- if the try and the specific excepts fail, then the generic except is carried out. Try/excepts are basically another form of if/elif/else statements.


So the main thing I don't know of in Wikicode are if/else and try/except statements, and I'm not sure what a good resource to look for them is. Habreno (ContribsMessage) 17:26, February 15, 2016 (EST)

Insightful Wizardry[edit]

Should this be added to the template? If it was added, it would have to be a second parameter (string type denoting the type of bonus seems the most likely and allows for future expansion) which might cause some issues with old gear. Thoughts? Habreno (ContribsMessage) 02:51, February 29, 2016 (EST)

Yes, we need support for insightful wizardry and possibly quality wizardry; LGS might have additional types. One way would be to introduce another parameter for bonus type. Another option would be to call to create a T:Sp, similar to Template:Hp. It could use the following syntax: Sp|Wizardry|I or Sp|Magi or Sp|Wizardry|137 or Sp|Insightful Wizardry|66 or Sp|Power Drain or Sp|Elemental Spell Power, etc. --Cru121 (ContribsMessage) 04:46, February 29, 2016 (EST)
I'll work on it. Once again, will be trying to keep compatibility with most of the current pages so the default will have to accept a blank. This part may be harder. Habreno (ContribsMessage) 06:34, February 29, 2016 (EST)
It's "sorta" working. It just looks bad and the conversions aren't working properly. Others are welcome to fix it if it's an easy fix I'm just missing. Going to sleep. As a note, there's a more basic version clearly marked in the revisions if you simply want the simpler version. Habreno (ContribsMessage) 07:11, February 29, 2016 (EST)


Pages that need converting[edit]

Integer to Roman Numeral Conversion[edit]

All items that currently show up in the various Wizardry tiers.

Properly Applying New Template[edit]

These may have to be done by hand.

Pages That Don't Exist[edit]

These can probably be ignored unless it messes things up with the bot.

Categories that need converting[edit]

Note: These cannot be directly linked, because of various issues. Most of them are chain specific, usually chain end rewards. Exact names given here (for ease of searching) Parenthesis are the specific items on the page that need updating.

  • Assault on Splinterskull reward items (Crimson Gemstone)
  • Catacombs reward items (Ring of the Archbishop)
  • Sands of Menechtarun loot (Shard of Vollun)
  • Plane of Night loot (Ironweave Robe)
  • Caverns of Korromar loot (Aberrant Robe)
  • Stormcleave Outpost loot (Helm of the Flame)
  • The Chamber of Raiyum loot (Adherent's Pendant)
  • Zawabi's Revenge loot (Torc of Prince Raiyum-de II)
  • Hound of Xoriat loot (Lorrik's Necklace , Ring of Thelis)
  • Sins of Attrition loot (Calitomes' Sash , Torin's Choker)
  • The Weapons Shipment loot (Mysterious Bauble)
  • Bastion of Power loot (Smedgar's Necklace , Telvi's Sash)
  • A New Invasion loot (Amara's Belt , Shiona's Pendant , Thamor's Belt)
  • Genesis Point loot (Singed Belt , Tokala's Belt)
  • The Gate Chamber loot (Molb's Fist)
  • The Lost Seekers reward items (Venn's Necklace)
  • The Abandoned Excavation reward items (Brilliant Docent of the Dawn)
  • Emerald Claw Nugget reward items (Raiment of the Fervent)
  • Silver Flame Nugget reward items (Cloth of the Faithful)
  • Dragoncraft Armor reward items (Dragoncrafted Docent , Dragoncrafted Plate Armor , Dragoncrafted Robe)

Other pages that need converting[edit]

These don't fit into the above categories.

  • Litany of the Dead Part 2 (Scarab Collectibles)
  • Named item sets (Lorrik's Necklace , Planar Focus:Eurdition)
  • Named armor by type (Brilliant Docent of the Dawn , Dragoncrafted Docent , Black Dragonplate Armor** , Dragoncrafted Plate Armor , Aberrant Robe , Black Dragonscale Robe** , Cloth of the Faithful , Dragoncrafted Robe)
    • Black Dragonplate Armor and Black Dragonscale Robe have the wrong description. I don't know what that description belongs to.
  • Named epic items by type (Epic Adherent's Pendant)
    • Can only find 5/7 mentions of Wizardry on this page
  • Epic Crafting/Augment Crystal Table (Yellow Augment Crystals - Yellow Augment Crystal of Spell Power. Two mentions on this item)
  • Vaults of the Artificers loot (Epic Ring of Master Artifice. Three mentions, one in each tier)