Hi,
I try to create new spell. The problem it's when i write the command in GM console, nothing happens and here is what is writted in the StartServerDefault.bat :
I think it's doesn't work because the "RessourceID". I've try to remove the <header> with <ressourceID> tag but it still doesn't work. Here is the script of my spell :
I try to create new spell. The problem it's when i write the command in GM console, nothing happens and here is what is writted in the StartServerDefault.bat :
[06-14 13:31:12,320, 353454] gm1 - INFO resourceSystem : update /Mechanics/Spe
lls/Moderation/SpellTakeFaction.xdb
I think it's doesn't work because the "RessourceID". I've try to remove the <header> with <ressourceID> tag but it still doesn't work. Here is the script of my spell :
Code:
<?xml version="1.0" encoding="UTF-8" ?><gameMechanics.constructor.schemes.spell.singleTarget.SpellSingleTarget>
<Header>
<resourceId>9898989898</resourceId>
</Header>
<mechanics type="gameMechanics.constructor.schemes.spell.CreatureSpellMechanics">
<casterImpacts>
<Item type="clientCmds.cmds.ImpactConsoleCmd">
<command>gameMechanics.clientCommands.CmdTakeFaction</command>
</Item>
</casterImpacts>
<targetImpacts />
</mechanics>
<Name href="Spell_Takefaction.txt" />
<Description href="Spell_DescTF.txt" />
<image href="/Interface/Icons/Spells/Paladin/PaladinBlessedSword.(UISingleTexture).xdb#xpointer(/UISingleTexture)" />
<DefaultAction>8</DefaultAction>
<visualScripts href="/Spells/VisScripts/Priest/HolySmite.(SpellVisScripts).xdb#xpointer(/SpellVisScripts)" />
<speed>0</speed>
<range>100</range>
<level>1</level>
<prepareDuration>0</prepareDuration>
<needLos>false</needLos>
<element>PHYSICAL</element>
<targetType>STTCurrentTarget</targetType>
<isAggro>false</isAggro>
<replaceLowRanks>false</replaceLowRanks>
<isWorkOnDead>false</isWorkOnDead>
<triggersGlobalCooldown>false</triggersGlobalCooldown>
<iffPolicy>FriendsEnemies</iffPolicy>
</gameMechanics.constructor.schemes.spell.singleTarget.SpellSingleTarget>