Iridal/Chatoyant Staff
Posted: Tue Aug 07, 2012 10:48 pm
Another night spent tinkering, another patch that we probably don't need
Built from r1687
Features:
- Adds Iridal and Chatoyant Staff. These act as catch-all L51 NQ and HQ elemental staves when it comes to accuracy/potency, statistics, and elemental resistance. They're created using Synergy, so players have no way to create them. The AH utility might blindly add them, though.
- Modifies magic.lua and avatar.lua to utilitize these staves, as they'd cancel themselves out otherwise.
- Adds Iridescence as a 33% proc under day/weather bonus, and forces trigger if the appropriate Obi is worn.
Issues (there's always issues with me):
- NPC values are still uncertain, but as good as I can manage.
- Functionality of Iridescence isn't entirely clear. Current implementation will only proc when favorable (per BGWiki.)
- My work around for magic/avatar.lua will stop working if Atmas are ever added. I'm unaware of any non-staff affinity gear.
Fixes in this version:
- Now treated as a staff instead of a sword
- Value
- Brought up to speed with overhaul of magic.lua and addition of perp cost.
Side thought:
Current elemental affinity system uses a catch all value, while retail can have Accuracy affinity, potency affinity, and perpetuation cost affinity.
Edit:
Helps to attach the patch, doofus.
Edit 2:
Okay, according to BGWiki, there is:
- Approx 1/3 chance of weather affecting spell. 10% single, 25% double.
- Approx 1/5 chance of day affecting spell, 10%.
- Disagreement over 25, 30, or 35% cap for those effects. 40% with Twilight cape (only.)
BGWiki indicates the staves proc entirely separately, but can be forced with an elemental obi (not implemented.)
Implementing SCH -storm spells, as well as Obis would probably make coding weather effects a whole lot easier, since you could force the weather and force a proc.
So... no data on frequency of staff proc. I suppose I could do a 1-8 on which weather to proc, and then a 1-3 on whether or not it influences the spell.
Additionally, when did I start pseudo-coding magic.lua in my head? ಠ_ಠ
Edit 3:
item_weapon has skill type set to 3 (sword) instead of 12 (staff.) Fairly easy to correct, but I don't much feel like going to the trouble, since there seems to be no interest.
Built from r1687
Features:
- Adds Iridal and Chatoyant Staff. These act as catch-all L51 NQ and HQ elemental staves when it comes to accuracy/potency, statistics, and elemental resistance. They're created using Synergy, so players have no way to create them. The AH utility might blindly add them, though.
- Modifies magic.lua and avatar.lua to utilitize these staves, as they'd cancel themselves out otherwise.
- Adds Iridescence as a 33% proc under day/weather bonus, and forces trigger if the appropriate Obi is worn.
Issues (there's always issues with me):
- NPC values are still uncertain, but as good as I can manage.
- Functionality of Iridescence isn't entirely clear. Current implementation will only proc when favorable (per BGWiki.)
- My work around for magic/avatar.lua will stop working if Atmas are ever added. I'm unaware of any non-staff affinity gear.
Fixes in this version:
- Now treated as a staff instead of a sword
- Value
- Brought up to speed with overhaul of magic.lua and addition of perp cost.
Side thought:
Current elemental affinity system uses a catch all value, while retail can have Accuracy affinity, potency affinity, and perpetuation cost affinity.
Edit:
Helps to attach the patch, doofus.
Edit 2:
Okay, according to BGWiki, there is:
- Approx 1/3 chance of weather affecting spell. 10% single, 25% double.
- Approx 1/5 chance of day affecting spell, 10%.
- Disagreement over 25, 30, or 35% cap for those effects. 40% with Twilight cape (only.)
BGWiki indicates the staves proc entirely separately, but can be forced with an elemental obi (not implemented.)
Implementing SCH -storm spells, as well as Obis would probably make coding weather effects a whole lot easier, since you could force the weather and force a proc.
So... no data on frequency of staff proc. I suppose I could do a 1-8 on which weather to proc, and then a 1-3 on whether or not it influences the spell.
Additionally, when did I start pseudo-coding magic.lua in my head? ಠ_ಠ
Edit 3:
item_weapon has skill type set to 3 (sword) instead of 12 (staff.) Fairly easy to correct, but I don't much feel like going to the trouble, since there seems to be no interest.