The following warnings occurred:
Warning [2] Use of undefined constant SAPI_NAME - assumed 'SAPI_NAME' (this will throw an Error in a future version of PHP) - Line: 3388 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3388 errorHandler->error
/showthread.php 116 build_archive_link
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/inc/functions.php 3324 build_forum_breadcrumb
/showthread.php 195 build_forum_breadcrumb
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 786 - File: showthread.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/showthread.php 786 errorHandler->error






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
Post Reply 


Messages In This Thread
Bug in Summon Spells and LOCAL.CREATEOBJECT1 - admin phoenix - 05-09-2012 04:32 PM

Forum Jump:


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