Custom Content requests that aren't HAKs.
Posted: Sat May 14, 2011 9:47 am
Could the Detect Poison cantrip be added to the game as a RP spell please?
Faerun Lives
https://www.alandfaraway.info/phpBB3/
https://www.alandfaraway.info/phpBB3/viewtopic.php?f=197&t=45535
Code: Select all
void main()
{
if(!X2PreSpellCastCode()) return;
object oTarget = GetSpellTargetObject();
if(GetObjectType(oTarget) == OBJECT_TYPE_CREATURE)
{
int nPoisonous = 0;
nPoisonous += GetIsItemPoisonous(GetItemInSlot(INVENTORY_SLOT_RIGHTHAND, oTarget));
nPoisonous += GetIsItemPoisonous(GetItemInSlot(INVENTORY_SLOT_LEFTHAND, oTarget));
nPoisonous += GetIsItemPoisonous(GetItemInSlot(INVENTORY_SLOT_ARROWS, oTarget));
nPoisonous += GetIsItemPoisonous(GetItemInSlot(INVENTORY_SLOT_BOLTS, oTarget));
nPoisonous += GetIsItemPoisonous(GetItemInSlot(INVENTORY_SLOT_BULLETS, oTarget));
nPoisonous += GetIsItemPoisonous(GetItemInSlot(INVENTORY_SLOT_CWEAPON_B, oTarget));
nPoisonous += GetIsItemPoisonous(GetItemInSlot(INVENTORY_SLOT_CWEAPON_L, oTarget));
nPoisonous += GetIsItemPoisonous(GetItemInSlot(INVENTORY_SLOT_CWEAPON_R, oTarget));
if(nPoisonous) SendMessageToPC(OBJECT_SELF, GetName(oTarget) + " is poisonous.");
if(GetHasEffect(EFFECT_TYPE_POISON, oTarget)) SendMessageToPC(OBJECT_SELF, GetName(oTarget) + " is poisoned.");
else if(nPoisonous == 0) SendMessageToPC(OBJECT_SELF, GetName(oTarget) + " is neither poisoned nor poisonous.");
return;
}
else if(GetLocalInt(oTarget, "POISONED") == 1)
SendMessageToPC(OBJECT_SELF, "This object is poisoned.");
else
SendMessageToPC(OBJECT_SELF, "This object is not poisoned.");
}
int GetIsItemPoisonous(object oItem)
{
if(!GetIsObjectValid(oItem)) return FALSE;
itemproperty ipProperty = GetFirstItemProperty(oItem);
while(GetIsItemPropertyValid(ipProperty))
{
if((GetItemPropertyType(ipProperty) == ITEM_PROPERTY_POISON) ||
(GetItemPropertyType(ipProperty) == ITEM_PROPERTY_ON_MONSTER_HIT && GetItemPropertySubType(ipProperty) == IP_CONST_ONMONSTERHIT_POISON) ||
(GetItemPropertyType(ipProperty) == ITEM_PROPERTY_ONHITCASTSPELL && GetItemPropertySubType(ipProperty) == IP_CONST_ONHIT_CASTSPELL_POISON))
return TRUE;
ipProperty = GetNextItemProperty(oItem);
}
return FALSE;
}
It wasn't in the list of my Spirit Shaman. And I'd settle for the RP spell, though Zelfnolf's system looks pretty nifty.Ronan wrote:I thought I added a Detect Poison RP spell way back?
In ALFA, Spirit Shamans rest to regain their spells. Could they be made to "pray" instead, like Clerics? It seems more in line with the PnP description.Compete Divine wrote:Each spirit shaman must choose a time at which she must spend 1 hour in quiet meditation to regain her daily allotment of spells and bargain with the spirits for the specific spells she knows on that day.
Oddly enough, Complete Divine does not say anything about how FSes gain their daily allotment of spells. No mention is made of resting, prayer or meditation.AcadiusLost wrote:Should Favored Souls restore spells by praying as well?
While the SS is a somewhat gimped class, no full caster needs a power boost.It should be mentioned that there is some statistical advantage to the "praying" option, as it allows 1 spell restoration "in the field" away from nice safe restable areas.
Standards has not discussed the matter. I can start a thread if you want some feedback, but since I play a SS myself would have to abstain from contributing.Is this a Standards debate issue, or a simple rulebook oversight? Interested to hear thoughts on the matter.
I might point you to the copy of Mundasia on the tech FTP. There's a script for every level 0 and 1 SRD spell there. They need a conversion from NWN1 -> 2 in some cases, but I would be giggles and mirth if they got used.Riotnrrd wrote:I'll be reexamining spells in the near future. I'll add detect poison to the list.
And Take 20 while we're at it.hollyfant wrote:Would it be possible to implement "taking ten" on the dice roller?
Favored Souls do not have to pray. Lucifer pretty much answered it.Lucifer wrote:"Should Favored Souls restore spells by praying as well?"
Just for giggles and since I play one now..looked around for info on this and only found it under NwN2 description of the class and it says Favored Souls "Do Not" pray for spells
Would it be possible to implement (something like) this; perhaps by using the First Aid widget on a resting PC?The SRD wrote:Long-Term Care
Providing long-term care means treating a wounded person for a day or more. If your Heal check is successful, the patient recovers hit points or ability score points (lost to ability damage) at twice the normal rate: 2 hit points per level for a full 8 hours of rest in a day, or 4 hit points per level for each full day of complete rest; 2 ability score points for a full 8 hours of rest in a day, or 4 ability score points for each full day of complete rest.
You can tend as many as six patients at a time. You need a few items and supplies (bandages, salves, and so on) that are easy to come by in settled lands. Giving long-term care counts as light activity for the healer. You cannot give long-term care to yourself.