mirror of
http://prc.nwn.ee:3000/Jaysyn/PRC8.git
synced 2026-01-18 02:26:28 -05:00
Updated Release Archive
Updated Release Archive. Fixed Mage-killer prereqs. Removed old LETO & ConvoCC related files. Added organized spell scroll store. Fixed Gloura spellbook. Various TLK fixes. Reorganized Repo. Removed invalid user folders. Added DocGen back in.
This commit is contained in:
39
nwn/trunk/psionics/psi_sk_bladewind.nss
Normal file
39
nwn/trunk/psionics/psi_sk_bladewind.nss
Normal file
@@ -0,0 +1,39 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: Soulknife: Bladewind
|
||||
//:: psi_sk_bladewind
|
||||
//::///////////////////////////////////////////////
|
||||
/*
|
||||
Does a whirlwind attack.
|
||||
*/
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Created By: Ornedan
|
||||
//:: Created On: 04.04.2005
|
||||
//:://////////////////////////////////////////////
|
||||
|
||||
#include "psi_inc_soulkn"
|
||||
|
||||
void main()
|
||||
{
|
||||
object oPC = OBJECT_SELF;
|
||||
|
||||
// Make sure they are wielding a mindblade
|
||||
if(!GetIsMindblade(GetItemInSlot(INVENTORY_SLOT_RIGHTHAND, oPC)))
|
||||
{
|
||||
SendMessageToPCByStrRef(oPC, 16824509);
|
||||
return;
|
||||
}
|
||||
|
||||
/* Play random battle cry */
|
||||
int nSwitch = d10();
|
||||
switch (nSwitch)
|
||||
{
|
||||
case 1: PlayVoiceChat(VOICE_CHAT_BATTLECRY1); break;
|
||||
case 2: PlayVoiceChat(VOICE_CHAT_BATTLECRY2); break;
|
||||
case 3: PlayVoiceChat(VOICE_CHAT_BATTLECRY3); break;
|
||||
}
|
||||
|
||||
SetLocalInt(oPC, BLADEWIND, TRUE);
|
||||
DelayCommand(4.0, DeleteLocalInt(oPC, BLADEWIND));
|
||||
|
||||
DoWhirlwindAttack(TRUE, GetHasFeat(FEAT_IMPROVED_WHIRLWIND, oPC));
|
||||
}
|
||||
Reference in New Issue
Block a user