Beispiel #1
0
static void create() {
    spell::create();
    SetSpell("greater fireball");
    SetRules("", "LIV");
    SetSpellType(SPELL_COMBAT);
    SetRequiredMagic(100);
    SetSkills(([ "conjuring" : 24, "magic attack" : 24 ]));
    SetMagicCost(49, 49);
    SetStaminaCost(10, 10);
    SetDifficulty(10);
    SetMorality(-20);
    SetAutoDamage(0);
    SetDamage(MAGIC|HEAT, ({ 60, 45 }) );
static void create() {
    spell::create();
    SetSpell("fireball");
    SetRules("", "LIV");
    SetSpellType(SPELL_COMBAT);
    SetRequiredMagic(50);
    SetSkills(([ "conjuring" : 8, "magic attack" : 0 ]));
    SetMagicCost(30, 24);
    SetStaminaCost(20, 16);
    SetDifficulty(10);
    SetMorality(-20);
    SetAutoDamage(0);
    SetDamage(MAGIC|HEAT, ({ 20, 15 }) );
Beispiel #3
0
static void create() {
    spell::create();
    SetSpell("buffer");
    SetRules("", "LIV");
    SetSpellType(SPELL_DEFENSE);
    SetRequiredMagic(50);
    SetSkills(([ "magic defense" : 1 ]));
    SetMagicCost(40, 40);
    SetDifficulty(50);
    SetMorality(10);
    SetHelp("Syntax: <cast buffer>\n"
      "	     <cast buffer on LIV>\n\n"
      "A magical defense spell that allows the caster to create "
      "a glowing shield around the LIVing object named.\n\n");
}
Beispiel #4
0
static void create() {
    leader::create();
    SetKeyName("ixtala");
    SetId("ixtala", "priest");
    SetShort("Ix'Tala, high priestess of the Priests");
    SetLong("Ix'Tala initiates priests into the Priests class as well as "
            "converts the wayward to the truth of the Dalin religion.  "
            "To learn more about becoming a priest "
            "ask her to \"describe priests\".  If you choose to become "
            "a priest, ask her to \"join priests\".  Of course, you can "
            "convert by asking her to \"convert me\".");
    SetLevel(45);
    SetRace("klingon");
    SetClass("cleric");
    SetGender("female");
    SetMorality(400);
    SetReligion("Dalin", "Dalite");
    SetProperty("no bump", 1);
    if( clonep() ) {
        AddChannel("priest");
    }
}
Beispiel #5
0
static void create() {
    vendor::create();
    SetKeyName("shiela");
    SetId("shiela", "vendor", "shop keeper", "keeper", "shopkeeper");
    SetShort("Shiela, the local weapon vendor");
    SetLong("She buys and sells weapons.");
    SetLevel(15);
    SetRace( "human");
    SetGender("female");
    SetMorality(40);
    SetListen("She has a very gruff voice.");
    AddCurrency("electrum", random(200));
    // the room where she stores stuff to sell
    SetStorageRoom("/domains/Ylsrim"+ "/room/weaponry_storage");
    // How good is she at being a vendor? Should be 100+
    SetSkill("bargaining", 150);
    // This vendor belongs in a particular shop, don't bump her
    SetProperty("no bump", 1);
    // She takes electrum coins
    SetLocalCurrency("electrum");
    // She buys weapons
    SetVendorType(VT_WEAPON);
}