Monster coding problems...
1. How do I remove/cancel a special ability granted by a type/subtype?
I have a Tannar'ri (Palrethee demon, MM2) which does not get the usual Tanar'ri resistance to cold attacks. Having added the Tanar'ri subtype, how do I remove or block the "Damage Resist Cold" from the Special Abilities list? I've searched the forum, but haven't turned up anything that will help. 2. I have two creatures coded (Harpoon Spider & Mezzoloth, MM3) where HL has calculated its main attack damage based on STR bonus x1.5, not x1. For the spider it makes sense (to me) that this is the right calculation, even though the MM3 differs. The Mezzoloth uses a trident one-handed with a shield, or can make 2 claw attacks. (No multi-attack) I have the claw attacks set as primary and the claw attack/damage works correctly when trident is selected/deselected as weapon, but I can't work out why the weapon damage is different. Any ideas? Thanks and regards! |
Quote:
1) You can assign the tag Helper.SpecUp to the special through a script. ie: perform hero.childfound[xDamRsCold].assign[Helper.SpecUp]2) Or you can assign 0 to the Value field. ie: hero.childfound[xDamRsCold].field[Value].value = 0Both options will remove it from the specials tab. I don't have a personal preference. Quote:
Not sure what's happening with the Mezzoloth. I'd probably have to be able to see it. |
Thanks for that.
The remove/block detail is great (and much simpler than I expected) and may come in handy with other things. I'll look through the H-Spider - and change the fang to a natural weapon. That's probably the problem. I've already sent you the Mezzaloth - I'll look at that too, but you are more likely to work out what's happening. Thanks again! |
Quote:
|
What does this do? -----> Helper.SpecUp
That would have been helpful for me in my early days of coding the types and subtypes for my game. Will it work for all specials? Or just a select few? |
Quote:
|
Ah, Special Upgrade, had no idea that would work with all Specials. Thanks!
|
All times are GMT -8. The time now is 11:49 AM. |
Powered by vBulletin® - Copyright ©2000 - 2024, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.