Anonymous
×
Create a new article
Write your page title here:
We currently have 7 articles on wiki.jedimud.net. Type your article name above or click on one of the titles below and start writing!



wiki.jedimud.net
Revision as of 12:39, 25 November 2024 by JediMud>Vincedq (→Statistics)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Hood of the Black Viper

In order to stimulate the implementation of interactive object-based trigger procs, the Death Viper Hood was introduced in 2024. When activated during melee with a command, the Hood will summon a Death Viper to aid the player:

> call viper

The hood must be worn in order for it to be used. There are several conditions that must be met before a player may call the Death Viper:

  • under one-quarter hit points remaining
  • 17 INT
  • 17 WIS
  • no Death Viper present

There is a small chance that the Death Viper will ignore your call.

Statistics

The Death Viper Hood has the following stats:

Can be worn on: TAKE HEAD 
Set char bits : NOBITS 
Extra flags   : MAG !GOOD !CLER !PAL LIMITED 
Weight: 3, Value: 500000, Cost/day: 19000, Timer: 0
Min level: 21, Max Lev: 0, Adm Lev: 0
In room: -1 (Nowhere), In object: None, Carried by: Nobody 
Worn by: Aegon
Values 0-3,5: [0] [0] [0] [0] [26]
Serenity: 0, Intensity: 0
Affections: +1 to DAMROLL
Spell Affect: haste, Spl Level 30, Spl Percent 100, Combat spell No
Spell Affect: magical vestment, Spl Level 30, Spl Percent 100, Combat spell No
Triggers:
Global Variables: None
Global context: 0

  Trigger: viper call, VNum: [18601], RNum: [  910]
  Trigger Intended Assignment: Objects
  Trigger Type: Command , Numeric Arg: 1, Arg list: call

Trigger

1) Name         : viper call 
2) Intended for : Objects 
3) Trigger types: Command 
4) Numeric Arg  : 1 
5) Arguments    : call 
6) Commands:
*
* death viper call obj command
* currently required to be fighting, low hp <POOR>, int>17 wis>17
* 85% success with 10 sec cooldown
* called viper mob can't already be in room
*
if %actor.is_pc%
  if (%cmd% == call) && (%arg% == viper)
    if %actor.fighting%
      if %actor.hitp% <= %actor.maxhitp% / 4
        if %actor.int% > 17
          if %actor.wis% > 17
            * if %actor.remorts% > 5
            if %random.100% > 15
              set room %self.room%
              eval vnum %room.vnum%
              eval viper_called %%findmob.%vnum%(18620)%%
              if ! %viper_called%
                %echo% The Death Viper arrives in a column of dark smoke.
                %load% mob 18620
              else
                %send% %actor% The Death Viper has already been unleased!
                return 1
                halt
              end
            else
              %send% %actor% Your call is lost in the chaos of battle.
              wait 10 s
              return 1
              halt
            end
            * else
            *  %send% %actor% You need further reincarnations to call the Death Viper.
            * return 1
            * halt
            * end
          else
            %send% %actor% You are not wise enough to call the Death Viper.
            return 1
            halt
          end
        else
          %send% %actor% You are not intelligent enough to call the Death Viper.
          return 1
          halt
        end
      else
        %send% %actor% The Death Viper only serves those in dire need.
        return 1
        halt
      end
    else
      %send% %actor% The Death Viper only serves those in battle.
      return 1
      halt
    end
  else
    return 0
    halt
  end
end