Jump to content

Elin:Code Analysis/Combat: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 142: Line 142:


Penetration is always '''25'''
Penetration is always '''25'''
==Melee/Ranged==
==Melee & Ranged==
<syntaxhighlight lang="c#" line="1">
<syntaxhighlight lang="c#" line="1">
else
else
Line 341: Line 341:
Dunno what this is
Dunno what this is
|}
|}
==Spellcasting/Summoning Spells==
<syntaxhighlight lang="c#" line="1">
case EffectId.Funnel:
{
    if (EClass._zone.CountMinions(CC) > CC.MaxSummon || CC.c_uidMaster != 0)
    {
        CC.Say("summon_ally_fail", CC, null, null);
        return;
    }
    CC.Say("spell_funnel", CC, element.Name.ToLower(), null);
    CC.PlaySound("spell_funnel", 1f, true);
    Chara chara = CharaGen.Create("bit", -1);
    chara.SetMainElement(element.source.alias, element.Value, true);
    chara.SetSummon(20 + power / 20 + EClass.rnd(10));
    chara.SetLv(power / 15);
    EClass._zone.AddCard(chara, tp.GetNearestPoint(false, false, true, false));
    chara.PlayEffect("teleport", true, 0f, default(Vector3));
    chara.MakeMinion(CC, MinionType.Default);
    return;
}
</syntaxhighlight>
{| class="wikitable"
|+
!Type
!Duration
!Level
!Notes
|-
|Summon Bits
|20 + rnd (20) + Spellpower / 20
|Spellpower / 15
|
|-
|Summon Animal
|Until it dies
|Summoner LV * (100 + Spellpower / 10) / 100 + Spellpower / 30
|
|-
|Summon Undead Younger Sisters
|Until it dies
|Summoner LV * (100 + Spellpower / 10) / 100 + Spellpower / 30
|
|-
|Summon Shadow
|Until it dies
|Spellpower / 10 + 1
|Use Suicide Explostion attack
|}
Note that summons other than Bits has infinite duration
[[Category:EN]]
[[Category:EN]]
[[Category:Elin Spoiler]]
[[Category:Elin Spoiler]]
28

edits