Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Bug in Summon Spells and LOCAL.CREATEOBJECT1
Author Message
admin phoenix
Master
**

Posts: 354
Likes Given: 1
Likes Received: 23 in 13 posts
Joined: Mar 2012
Reputation: 3



Post: #1
Bug in Summon Spells and LOCAL.CREATEOBJECT1
In this script, when I summon my creature, the creature is naked. he has only hairs and a beard. When I add them with the ingame command .addnpc bla everythink is fine. He is wearing his clothing and weapons.

check this out.


Code:
[SPELL 615]
DEFNAME=s_licht_schutz_6_panzerbarbar
NAME=Panzerbarbar
RUNES=Grandis Rattus Adiuro
CAST_TIME=spell_cast_use_6
RESOURCES=i_reag_blood_moss,i_reag_black_pearl,i_reag_ginseng
RUNE_ITEM=i_rune_licht_schutz_6_panzerbarbar
SCROLL_ITEM=i_scroll_licht_schutz_6_panzerbarbar
FLAGS=SPELLFLAG_TARG_XYZ | SPELLFLAG_SUMMON | spellflag_scripted
SOUND=snd_SPELL_SUMMON_CREATURE
DURATION=spell_duration_summon_1,spell_duration_summon_2
MANAUSE=spell_mana_use_6
SKILLREQ=MAGERY spell_magery_skill_6
PROMPT_MSG=Wohin wollt ihr den Panzerbarbar beschwoeren ?

ON=@SUCCESS
    LOCAL.CREATEOBJECT1 = <eval c_panzerbarbar>


[CHARDEF c_panzerbarbar]
NAME=#NAMES_HUMANMALE Panzerbarbar
ID=C_MAN
CAN=MT_EQUIP|MT_USEHANDS|MT_WALK|MT_MALE
TSPEECH=spk_human_prime
TSPEECH=spk_human_default
DAM=20,25
ARMOR=20

ON=@Create
tag0.resist.02=30
tag0.resist.04=30
tag0.resist.010=50
STR={150 200}
DEX={81 95}
INT={20 30}

MAGICRESISTANCE={20.0 35.0}
TACTICS={80.0 95.0}
WRESTLING={80.0 95.0}
SWORDSMANSHIP=100.0
PARRYING={75.0 100.0}

NPC=BRAIN_HUMAN
KARMA={-4000 -6000}
FAME={3500 5000}

ITEMNEWBIE=i_hair_long
COLOR=colors_red
ITEMNEWBIE=i_beard_short_med
COLOR=match_hair

ON=@NPCRestock
ITEMNEWBIE=i_boots_calf
COLOR=01bb
ITEMNEWBIE=i_mask_deer
ITEMNEWBIE=i_axe_double
ITEMNEWBIE=i_leather_tunic
ITEMNEWBIE=i_kilt
COLOR=01bb

CATEGORY=Civilized
SUBSECTION=Barbarians (Evil)
DESCRIPTION=Panzerbarbar
05-09-2012 04:32 PM
Find all posts by this user Like Post Quote this message in a reply
Shaklaban
Master
**

Posts: 378
Likes Given: 0
Likes Received: 1 in 1 posts
Joined: Mar 2012
Reputation: 8

DOT

Post: #2
RE: Bug in Summon Spells and LOCAL.CREATEOBJECT1
maybe npcrestock is not fired when creature is summoned, you can try to move items to @create trigger.
05-09-2012 04:38 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
admin phoenix
Master
**

Posts: 354
Likes Given: 1
Likes Received: 23 in 13 posts
Joined: Mar 2012
Reputation: 3



Post: #3
RE: Bug in Summon Spells and LOCAL.CREATEOBJECT1
ah, good idea. will test it when I am back at home.
thanks.
05-09-2012 06:33 PM
Find all posts by this user Like Post Quote this message in a reply
Anarch Cassius
Master
**

Posts: 273
Likes Given: 19
Likes Received: 10 in 9 posts
Joined: Mar 2012
Reputation: 2



Post: #4
RE: Bug in Summon Spells and LOCAL.CREATEOBJECT1
Not a bug so much as a feature.

If summons did have their stuff then summoning and robbing the creature blind would happen a lot even if they disappear on death.

I'm also thinking @create should work as their should be an easy way to bypass this when nessicary.
05-10-2012 04:11 AM
Find all posts by this user Like Post Quote this message in a reply
admin phoenix
Master
**

Posts: 354
Likes Given: 1
Likes Received: 23 in 13 posts
Joined: Mar 2012
Reputation: 3



Post: #5
RE: Bug in Summon Spells and LOCAL.CREATEOBJECT1
jup, it works Smile
test it now.
bug fixed ...hehe
05-10-2012 06:08 AM
Find all posts by this user Like Post Quote this message in a reply
admin phoenix
Master
**

Posts: 354
Likes Given: 1
Likes Received: 23 in 13 posts
Joined: Mar 2012
Reputation: 3



Post: #6
RE: Bug in Summon Spells and LOCAL.CREATEOBJECT1
btw the loot canĀ“t appear because the flag is summoned and so the loot will disappear
05-14-2012 11:59 PM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)