Summon Pinkies

Content and general development discussion, including maps, quests, and server code from the development team.
Post Reply
User avatar
MerlinX420
Warrior
Warrior
Posts: 574
Joined: Sun Dec 23, 2007 5:42 am

Summon Pinkies

Post by MerlinX420 » Wed Nov 03, 2010 11:55 am

With all the self proclaimed pinkies out there I thought it would be nice if they could summon some. I've heard it requested a few times and figured it would be a good way for me to figure how to add test spells to my server. I couldn't come up with the perfect name, but I name this spell:

#kalkurkink

Code: Select all

LOCAL SPELL summon-pinkies : "#kalkurkink" =
      LET level = 2
          school = ASTRAL
      IN (MANA 49, CASTTIME 20000,
          REQUIRE skill(caster, MAGIC) > level,
          REQUIRE skill(caster, school) > level,
          COMPONENTS ["PinkAntenna", "Root"])
          => EFFECT CALL adjust_spellpower(school);
                    CALL default_effect();
                    CALL gain_xp(1);
                    CALL summon_spell(1018, 1 + spellpower / 170 + spellpower / 430, 5000 - (spellpower * 8), spellpower * 350, 3);
I increased the lvl of magic to cast to lvl 2 and the mana cost to 49 over 39. I would like to know more about the last line of variables before I start changing them.
MerlinX420
Computer games don't affect kids, I mean if Pac Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music. Has anybody seen this princess I'm looking for?
User avatar
lien
Novice
Novice
Posts: 446
Joined: Thu Oct 30, 2008 9:59 am
Location: France

Re: Summon Pinkies

Post by lien » Wed Nov 03, 2010 1:15 pm

MerlinX420 wrote:With all the self proclaimed pinkies out there I thought it would be nice if they could summon some. I've heard it requested a few times and figured it would be a good way for me to figure how to add test spells to my server. I couldn't come up with the perfect name, but I name this spell:

#kalkurkink

Code: Select all

LOCAL SPELL summon-pinkies : "#kalkurkink" =
      LET level = 2
          school = ASTRAL
      IN (MANA 49, CASTTIME 20000,
          REQUIRE skill(caster, MAGIC) > level,
          REQUIRE skill(caster, school) > level,
          COMPONENTS ["PinkAntenna", "Root"])
          => EFFECT CALL adjust_spellpower(school);
                    CALL default_effect();
                    CALL gain_xp(1);
                    CALL summon_spell(1018, 1 + spellpower / 170 + spellpower / 430, 5000 - (spellpower * 8), spellpower * 350, 3);
I increased the lvl of magic to cast to lvl 2 and the mana cost to 49 over 39. I would like to know more about the last line of variables before I start changing them.
-> http://forums.themanaworld.org/viewtopi ... 513#p97513 . already exist.
Image
Post Reply