summaryrefslogtreecommitdiff
path: root/npc/magic/guild.txt
blob: 0b4a5d502f9072e319cd7437a5a44507dcf2245a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
// TMW2 script
// Author: Jesusalva <admin@tmw2.org>
//
// Magic Script: TMW2_GD
//
// Guild Magic
// Reserved SCs: SC_INCALLSTATUS SC_ANGELUS SC_BLESSING SC_IMPOSITIO SC_KAIZEL
// For testing: SC_TWOHANDQUICKEN 
// BROKEN: SC_ASSNCROS

/*
SC_ENCHANTPOISON
Endows a single target's equipped weapon with the Poison property temporarily. This skill also gives the chance of leaving enemies poisoned while physically attacking.

SC_POISONREACT
Gives a 50% chance of autocasting Level 5 Envenom when the user is physically attacked for a set number of autocasts. If the user is struck with a Nature property attack, the user will retaliate with a stronger physical attack, which has a 50% chance of leaving the attacker poisoned. This skill will end after a set duration, reaching the autocast limit or performing one poison counter.

SC_SLOWPOISON
Stops the HP drain from the Poison status effect that affects a single target. It does not nullify the defense drop from the forementioned status effect. (no params)

SC_SUFFRAGIUM
Shortens the Variable Cast Time of a single target's next skill. (15%)

SC_BENEDICTIO
Blesses a targeted location to endow the armor of all players within the area of effect with the Holy property. (no params)

SC_KYRIE <sc3: hits/durability>
Creates a protective barrier on a single target that blocks every form of physical damage until its durability wears off or expires. Its durability is a portion of the target's Max HP. This skill cannot be used in conjunction with Assumptio.

SC_MAGNIFICAT
Temporarily doubles the SP Recovery rate of the user and party members. This skill cannot be used in conjunction with Offertorium . (No params)

SC_GLORIA
Temporarily boosts LUK by 30 to the user and party members.

SC_LEXAETERNA
Weakens a single target so it can take double damage from the next incoming attack. Healing, misses, status effects and the retaliation from Shield Reflect do not trigger the effect. (PVP or used versus monsters. no params)

SC_MAXIMIZEPOWER
Alters the damage variance of the equipped weapon to inflict the maximum of its damage. Maintaining this skill active will drain SP. (args = sp drain?)

SC_ENERGYCOAT
Coats the caster with spiritual energy to buffer all incoming damage temporarily. The more remaining SP the caster has, the more damage is buffered and the more SP is drained. (no params?)

SC_FURY
Unleashes the inner power of the user to increase Critical Hit Rate. This skill also doubles the time between the SP Recovery ticks and allows to use specialized skills.  (crit boost, float)

SC_ASSUMPTIO
Places a temporary buff on a single target that doubles their Hard Defense and Hard Magic Defense. This skill cannot be used in conjunction with Kyrie Eleison and Kaite.

SC_DONTFORGETME
Performs a dance that will drop attack and movement speed of all enemies around the performer and cancel all benefits that improve those stats. Maintaining this skill active will drain 1 SP every 10 seconds. (sc3? ASPD/MSPD drops)

SC_RICHMANKIM
Increases gained exp from mobs killed within the area of effect by (125+11*SkillLV)%. Cannot be canceled by Dispell. (% arg? No code for this?)

SC_GDSKILL_BATTLEORDER
SC_GDSKILL_REGENERATION
SC_LEADERSHIP
SC_GLORYWOUNDS
SC_SOULCOLD
SC_HAWKEYES

SC_HUMMING
Increase HIT of players in the area of effect by +2 per SkillLV. The accuracy rate increased by this skill is affected by Dancing Lesson skill level and DEX of the caster. (integer value)

*/

// GD_allboost ( lv )
// Increases all stats
function	script	GD_allboost	{
    .@lv=getarg(0, @skillLv);
    // range, time, SC, BL, power, filter
    areasc(3+.@lv, 10000*.@lv, SC_INCALLSTATUS, BL_PC, .@lv, "filter_sameguild");
    return;
}


// GD_defboost ( lv )
// Places a temporary buff on the user and all party members in a 14x14 area around the user that increases Soft Defense. (VIT def)
function	script	GD_defboost	{
    .@lv=getarg(0, @skillLv);
    // range, time, SC, BL, power, filter
    areasc(3+.@lv, 15000*.@lv, SC_ANGELUS, BL_PC, .@lv*4, "filter_sameguild");
    return;
}


// GD_atkboost ( lv )
// Places a temporary buff on a single target that increases STR, DEX and INT. (The damage dealing stats)
function	script	GD_atkboost	{
    .@lv=getarg(0, @skillLv);
    // range, time, SC, BL, power, filter
    areasc(3+.@lv, 15000*.@lv, SC_BLESSING, BL_PC, .@lv, "filter_sameguild");
    return;
}


// GD_atkboost2 ( lv )
// Blesses a single target's weapon to increase its attack power
function	script	GD_atkboost2	{
    .@lv=getarg(0, @skillLv);
    // range, time, SC, BL, power, filter
    areasc(3+.@lv, 15000*.@lv, SC_IMPOSITIO, BL_PC, 5+(5*.@lv), "filter_sameguild");
    return;
}


// GD_critboost ( lv )
// Boost the critical hit rate
function	script	GD_critboost	{
    .@lv=getarg(0, @skillLv);
    // range, time, SC, BL, 1, power, filter
    areasc3(.@lv, 10000*.@lv, SC_FORTUNE, BL_PC, 8*.@lv, "filter_sameguild");
    return;
}


// GD_autorevive ( lv )
// Automatically revive guild mates once they die - VERY IMPORTANT SKILL
// Will not stick on you - if you die, YOU ARE DEAD.
// After being resurrected Kaizel is dispelled but you have a 2 seconds lasting Kyrie Eleison (Absolute shield) buff.
function	script	GD_autorevive	{
    .@lv=getarg(0, @skillLv);
    // range, time, SC, BL, 1, power, filter
    areasc3(.@lv, 10000*.@lv, SC_KAIZEL, BL_PC, 10*.@lv, "filter_sameguildnotyou");
    return;
}